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 | Static Package Functions

org::jmol::shape::AtomShape Class Reference

Inheritance diagram for org::jmol::shape::AtomShape:
Inheritance graph
[legend]
Collaboration diagram for org::jmol::shape::AtomShape:
Collaboration graph
[legend]

List of all members.

Public Member Functions

void checkBoundsMinMax (Point3f pointMin, Point3f pointMax)
Point3fi checkObjectClicked (int x, int y, int modifiers, BitSet bsVisible)
boolean checkObjectDragged (int prevX, int prevY, int x, int y, int modifiers, BitSet bsVisible)
boolean checkObjectHovered (int x, int y, BitSet bsVisible)
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)
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 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

int atomCount
Atom[] atoms
short[] colixes
Graphics3D g3d
boolean isActive
boolean isBioShape
short[] mads
ModelSet modelSet
int myVisibilityFlag
byte[] paletteIDs
int shapeID
Viewer viewer

Static Public Attributes

static final float RADIUS_MAX = 4

Protected Member Functions

int coordinateInRange (int x, int y, Point3f vertex, int dmin2, Point3i ptXY)
void initModelSet ()
short setColix (short colix, byte paletteID, Bond bond)
short setColix (short colix, byte paletteID, Atom atom)
void setColixAndPalette (short colix, byte paletteID, int atomIndex)
void setSize (RadiusData rd, BitSet bsSelected)
void setSize (int size, BitSet bsSelected)

Protected Attributes

BitSet bsColixSet
BitSet bsSizeSet
boolean translucentAllowed = true
float translucentLevel
List xmlProperties

Static Package Functions

static String encodeColor (short colix)

Detailed Description

Definition at line 38 of file AtomShape.java.


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

Generated by  Doxygen 1.6.0   Back to index