Package org.jmol.shape
Class AtomShape
java.lang.Object
org.jmol.shape.Shape
org.jmol.shape.AtomShape
- Direct Known Subclasses:
Balls,BioShape,Dots,Ellipsoids,Halos,Labels,Measures,Polyhedra,Stars,Vectors
-
Field Summary
FieldsModifier and TypeFieldDescriptionshort[]booleanprotected booleanshortshort[]intbyte[]Fields inherited from class org.jmol.shape.Shape
bsColixSet, bsSizeSet, isBioShape, ms, myType, RADIUS_MAX, shapeID, translucentAllowed, translucentLevel, vf, vwr -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected intcheckColixLength(short colix, int n) intgetSize(int atomIndex) overridden in Dots, CGOMesh, and AtomShapeprotected voidvoidvoidprotected voidsetColixAndPalette(short colix, byte paletteID, int atomIndex) protected voidprotected voidprotected voidprotected voidsetSizeRD(RadiusData rd, BS bsSelected) protected voidsetSizeRD2(int i, RadiusData rd, boolean isVisible) Methods inherited from class org.jmol.shape.Shape
appendCmd, checkBoundsMinMax, checkObjectClicked, checkObjectDragged, checkObjectHovered, coordinateInRange, encodeColor, findNearestAtomIndex, getColix, getColixA, getColixB, getColixI, getColorCommand, getColorCommandUnk, getFontCommand, getIndexFromName, getProperty, getPropertyData, getPropShape, getShapeDetail, getSizeG, getTranslucentLabel, initializeShape, replaceGroup, setModelSet, setModelVisibilityFlags, setProperties, setProperty, setPropS, setShapeSizeRD, wasClicked
-
Field Details
-
mad
public short mad -
mads
public short[] mads -
colixes
public short[] colixes -
paletteIDs
public byte[] paletteIDs -
isActive
public boolean isActive -
isSet
protected boolean isSet -
monomerCount
public int monomerCount -
bsSizeDefault
-
-
Constructor Details
-
AtomShape
public AtomShape()
-
-
Method Details
-
initShape
public void initShape() -
initModelSet
protected void initModelSet()- Overrides:
initModelSetin classShape
-
getSize
public int getSize(int atomIndex) Description copied from class:Shapeoverridden in Dots, CGOMesh, and AtomShape -
setSize
-
setSize2
-
setSizeRD
-
setSizeRD2
-
setPropAS
-
checkColixLength
protected int checkColixLength(short colix, int n) -
setColixAndPalette
protected void setColixAndPalette(short colix, byte paletteID, int atomIndex) -
setAtomClickability
public void setAtomClickability()- Overrides:
setAtomClickabilityin classShape
-
getShapeState
- Specified by:
getShapeStatein classShape
-