org.jmol.shapespecial
public class Dipoles extends Shape
Modifier and Type | Field and Description |
---|---|
private int |
atomIndex1 |
private int |
atomIndex2 |
private Vector3f |
calculatedDipole |
private short |
colix |
private Dipole |
currentDipole |
(package private) static short |
DEFAULT_MAD |
(package private) static float |
DEFAULT_OFFSETSIDE |
(package private) int |
dipoleCount |
(package private) Dipole[] |
dipoles |
private float |
dipoleValue |
private static float |
E_ANG_PER_DEBYE |
private Point3f |
endCoord |
private boolean |
iHaveTwoEnds |
private boolean |
isBond |
private boolean |
isUserValue |
private Point3f |
startCoord |
private Dipole |
tempDipole |
private String |
wildID |
g3d, isBioShape, modelSet, myVisibilityFlag, RADIUS_MAX, shapeID, translucentAllowed, translucentLevel, viewer, xmlProperties
Constructor and Description |
---|
Dipoles() |
Modifier and Type | Method and Description |
---|---|
private Dipole |
allocDipole(String thisID,
String dipoleInfo) |
private void |
clear(boolean clearBondDipolesOnly) |
private void |
deleteDipole(Dipole dipole) |
private void |
dumpDipoles(String msg) |
private Dipole |
findBondDipole(Bond bond) |
private Dipole |
findDipole(Atom atom1,
Atom atom2,
boolean doAllocate) |
private Dipole |
findDipole(String thisID) |
private Dipole |
findDipole(String thisID,
String dipoleInfo) |
private void |
getBondDipoles() |
private int |
getDipoleIndex(int atomIndex1,
int atomIndex2) |
private int |
getDipoleIndex(String dipoleInfo,
String thisID) |
int |
getIndexFromName(String thisID) |
Object |
getProperty(String property,
int index) |
boolean |
getProperty(String property,
Object[] data) |
List<Map<String,Object>> |
getShapeDetail() |
String |
getShapeState() |
private boolean |
isBondDipole(int i) |
private boolean |
isSameAtoms(Dipole dipole,
String dipoleInfo) |
private void |
setColixDipole(short colix,
int bondTypeMask,
BitSet bs) |
private void |
setDipole() |
private void |
setDipole(Atom atom1,
Atom atom2,
float c1,
float c2) |
private void |
setModelIndex() |
private void |
setProperty(int tok,
boolean bondOnly,
int iValue,
float fValue) |
private void |
setProperty(int tok,
Dipole dipole,
int iValue,
float fValue) |
void |
setProperty(String propertyName,
Object value,
BitSet bs)
may come from any source -- executed AFTER a shape's own setProperty method
|
void |
setVisibilityFlags(BitSet bs) |
appendCmd, checkBoundsMinMax, checkObjectClicked, checkObjectDragged, checkObjectHovered, coordinateInRange, encodeColor, findNearestAtomIndex, getColix, getColorCommand, getColorCommand, getFontCommand, getShapeCommands, getShapeCommands, getSize, getSize, getTranslucentLabel, getViewer, initializeShape, initModelSet, initShape, merge, setColix, setColix, setColix, setModelClickability, setModelSet, setShapeProperty, setShapeSize, setSize, setSize, setStateInfo, setStateInfo, wasClicked
static final short DEFAULT_MAD
static final float DEFAULT_OFFSETSIDE
int dipoleCount
Dipole[] dipoles
private Dipole currentDipole
private Dipole tempDipole
private Point3f startCoord
private Point3f endCoord
private float dipoleValue
private boolean isUserValue
private boolean isBond
private boolean iHaveTwoEnds
private int atomIndex1
private int atomIndex2
private short colix
private Vector3f calculatedDipole
private String wildID
private static final float E_ANG_PER_DEBYE
public void setProperty(String propertyName, Object value, BitSet bs)
Shape
setProperty
in class Shape
private void setProperty(int tok, boolean bondOnly, int iValue, float fValue)
private void setProperty(int tok, Dipole dipole, int iValue, float fValue)
public boolean getProperty(String property, Object[] data)
getProperty
in class Shape
public Object getProperty(String property, int index)
getProperty
in class Shape
private void getBondDipoles()
private boolean isBondDipole(int i)
private void setColixDipole(short colix, int bondTypeMask, BitSet bs)
private void setDipole()
private int getDipoleIndex(int atomIndex1, int atomIndex2)
private void deleteDipole(Dipole dipole)
private void dumpDipoles(String msg)
private void clear(boolean clearBondDipolesOnly)
public int getIndexFromName(String thisID)
getIndexFromName
in class Shape
public List<Map<String,Object>> getShapeDetail()
getShapeDetail
in class Shape
private void setModelIndex()
public void setVisibilityFlags(BitSet bs)
setVisibilityFlags
in class Shape
public String getShapeState()
getShapeState
in class Shape