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 | Package Attributes | Static Package Attributes | Private Member Functions | Private Attributes | Static Private Attributes

org::jmol::shapespecial::Dipoles Class Reference

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

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

Graphics3D g3d
boolean isBioShape
ModelSet modelSet
int myVisibilityFlag
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, Atom atom)
short setColix (short colix, byte paletteID, Bond bond)
void setSize (int size, BitSet bsSelected)
void setSize (RadiusData rd, BitSet bsSelected)

Protected Attributes

boolean translucentAllowed = true
float translucentLevel
List xmlProperties

Static Package Functions

static String encodeColor (short colix)

Package Attributes

int dipoleCount = 0
Dipole[] dipoles = new Dipole[4]

Static Package Attributes

static final short DEFAULT_MAD = 5
static final float DEFAULT_OFFSETSIDE = 0.40f

Private Member Functions

Dipole allocDipole (String thisID, String dipoleInfo)
void clear (boolean clearBondDipolesOnly)
void deleteDipole (Dipole dipole)
void dumpDipoles (String msg)
Dipole findBondDipole (Bond bond)
Dipole findDipole (String thisID, String dipoleInfo)
Dipole findDipole (Atom atom1, Atom atom2, boolean doAllocate)
Dipole findDipole (String thisID)
void getBondDipoles ()
int getDipoleIndex (String dipoleInfo, String thisID)
int getDipoleIndex (int atomIndex1, int atomIndex2)
boolean isBondDipole (int i)
boolean isSameAtoms (Dipole dipole, String dipoleInfo)
void setColixDipole (short colix, int bondTypeMask, BitSet bs)
void setDipole (Atom atom1, Atom atom2, float c1, float c2)
void setDipole ()
void setModelIndex ()
void setProperty (int tok, boolean bondOnly, int iValue, float fValue)
void setProperty (int tok, Dipole dipole, int iValue, float fValue)

Private Attributes

int atomIndex1
int atomIndex2
Vector3f calculatedDipole
short colix
Dipole currentDipole
float dipoleValue
Point3f endCoord = new Point3f()
boolean iHaveTwoEnds
boolean isBond
boolean isUserValue
Point3f startCoord = new Point3f()
Dipole tempDipole
String wildID

Static Private Attributes

final static float E_ANG_PER_DEBYE = 0.208194f

Detailed Description

Definition at line 48 of file Dipoles.java.

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

Generated by  Doxygen 1.6.0   Back to index