Logo Search packages:      
Sourcecode: jmol version File versions  Download package

Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | Protected Member Functions | Protected Attributes | Package Functions | Static Package Functions | Package Attributes | Private Member Functions | Static Private Member Functions | Private Attributes | Static Private Attributes

org::jmol::shapespecial::Draw Class Reference

Inheritance diagram for org::jmol::shapespecial::Draw:
Inheritance graph
Collaboration diagram for org::jmol::shapespecial::Draw:
Collaboration graph

List of all members.

Public Member Functions

void allocMesh (String thisID, Mesh m)
void checkBoundsMinMax (Point3f pointMin, Point3f pointMax)
Point3fi checkObjectClicked (int x, int y, int action, BitSet bsVisible)
synchronized boolean checkObjectDragged (int prevX, int prevY, int x, int y, int action, BitSet bsVisible)
boolean checkObjectHovered (int x, int y, BitSet bsVisible)
void deleteMesh (int i)
void findNearestAtomIndex (int xMouse, int yMouse, Atom[] closest, BitSet bsNot)
String getColorCommand (String type, short colix)
String getColorCommand (String type, byte pid, short colix)
int getIndexFromName (String thisID)
Mesh getMesh (String thisID)
boolean getProperty (String property, Object[] data)
Object getProperty (String property, int index)
List getShapeDetail ()
String getShapeState ()
int getSize (int atomIndex)
int getSize (Group group)
Viewer getViewer ()
final void initializeShape (Viewer viewer, Graphics3D g3d, ModelSet modelSet, int shapeID)
void initShape ()
void merge (Shape shape)
short setColix (short colix, byte paletteID, int atomIndex)
void setModelClickability ()
void setModelIndex (int atomIndex, int modelIndex)
void setModelSet (ModelSet modelSet)
void setProperty (String propertyName, Object value, BitSet bs)
void setShapeProperty (String propertyName, Object value, BitSet bsSelected)
void setShapeSize (int size, RadiusData rd, BitSet bsSelected)
void setVisibilityFlags (BitSet bs)
boolean wasClicked (int x, int y)

Static Public Member Functions

static void appendCmd (StringBuffer s, String cmd)
static short getColix (short[] colixes, int i, Atom atom)
static String getFontCommand (String type, Font3D font)
static String getShapeCommands (Hashtable htDefine, Hashtable htMore, String selectCmd)
static String getShapeCommands (Hashtable htDefine, Hashtable htMore)
static void setStateInfo (Hashtable ht, int i, String key)
static void setStateInfo (Hashtable ht, int i1, int i2, String key)

Public Attributes

String actualID
short colix
Mesh currentMesh
boolean explicitID
Graphics3D g3d
boolean isBioShape
boolean isFixed
int meshCount
Mesh[] meshes = new Mesh[4]
int modelCount
ModelSet modelSet
String myType
int myVisibilityFlag
int nUnnamed
String script
int shapeID
String[] title
Viewer viewer

Static Public Attributes

static final float RADIUS_MAX = 4

Protected Member Functions

void checkExplicit (String id)
void clean ()
int coordinateInRange (int x, int y, Point3f vertex, int dmin2, Point3i ptXY)
void deleteMesh (String key)
void getModelIndex (String script)
void initModelSet ()
short setColix (short colix, byte paletteID, Bond bond)
short setColix (short colix, byte paletteID, Atom atom)
void setSize (RadiusData rd, BitSet bsSelected)
void setSize (int size, BitSet bsSelected)
void setStatusPicked (int flag, Point3f v)

Protected Attributes

boolean allowContourLines
boolean allowMesh = true
boolean haveContours = false
Hashtable htObjects
boolean iHaveModelIndex
Mesh linkedMesh
int modelIndex
Mesh pickedMesh = null
int pickedModel
int pickedVertex
String previousMeshID
boolean translucentAllowed = true
float translucentLevel
List xmlProperties

Package Functions

void setPropertySuper (String propertyName, Object value, BitSet bs)

Static Package Functions

static String encodeColor (short colix)
static boolean isPolygonDisplayable (Mesh mesh, int i)
static Point3f randomPoint ()

Package Attributes

DrawMesh[] dmeshes = new DrawMesh[4]
DrawMesh thisMesh

Private Member Functions

void addPoint (Point3f newPt, int iModel)
boolean findPickedObject (int x, int y, boolean isPicking, BitSet bsVisible)
String getDrawCommand (DrawMesh mesh)
String getDrawCommand (DrawMesh mesh, int iModel)
Point3fi getPickedPoint (Point3f v)
Vector3f getSpinAxis (String axisID, int modelIndex)
Point3f getSpinCenter (String axisID, int vertexIndex, int modelIndex)
void move2D (DrawMesh mesh, int[] vertexes, int iVertex, int x, int y, boolean moveAll)
void resetObjects ()
boolean setDrawing ()
void setIntersectData ()
boolean setPoints (int iModel, int n)
void setPolygon (int nPoly)

Static Private Member Functions

static String getVertexList (DrawMesh mesh, int iModel, int nVertices)
static void scaleDrawing (DrawMesh mesh, float newScale)
static final void setAxes (DrawMesh m)

Private Attributes

Point3f[] boundBox
BitSet bsAllModels
final BitSet bsTemp = new BitSet()
int diameter
int indicatedModelIndex = -1
String intersectID
boolean isArc
boolean isArrow
boolean isCircle
boolean isCrossed
boolean isCurve
boolean isCylinder
boolean isLine
boolean isPerpendicular
boolean isPlane
boolean isReversed
boolean isRotated45
boolean isValid
boolean isVector
boolean isVertices
float length
List lineData
boolean makePoints
int[] modelInfo
int nbitsets
float newScale
int nidentifiers
boolean noHead
int nPoints
Vector3f offset = new Vector3f()
Point4f plane
List polygon
final Point3fi PT_NAN = new Point3fi(Float.NaN, 0.0f, 0.0f)
Point3f[] ptList
final Point3i ptXY = new Point3i()
final Vector3f vAB = new Vector3f()
final Vector3f vAC = new Vector3f()
List vData
float width

Static Private Attributes

static final int MAX_OBJECT_CLICK_DISTANCE_SQUARED = 10 * 10
static final int PT_BITSET = 3
static final int PT_COORD = 1
static final int PT_IDENTIFIER = 2
static final int PT_MODEL_BASED_POINTS = 5
static final int PT_MODEL_INDEX = 4

Detailed Description

Definition at line 51 of file Draw.java.

The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index