Package org.jmol.viewer
Class ShapeManager
java.lang.Object
org.jmol.viewer.ShapeManager
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
starting with Jmol 13.1.13, isosurfaces can use "property color" to inherit the color of the underlying atoms.void
deleteShapeAtoms
(Object[] value, BS bs) int[]
finalizeAtoms
(BS bsTranslateSelected, boolean finalizeParams) void
findNearestShapeAtomIndex
(int x, int y, Atom[] closest, BS bsNot) float
getAtomShapeValue
(int tok, Group group, int atomIndex) getShape
(int i) int
getShapeIdFromObjectName
(String objectName) Returns the shape type index for a shape object given the object name.boolean
getShapePropertyData
(int shapeID, String propertyName, Object[] data) getShapePropertyIndex
(int shapeID, String propertyName, int index) void
loadDefaultShapes
(ModelSet newModelSet) loadShape
(int shapeID) void
notifyAtomPositionsChanged
(int baseModel, BS bs, M4 mat) void
notifyAtoms
(String prop, BS[] atomsAndModels) void
releaseShape
(int shapeID) void
replaceGroup
(Group g0, Group g1) void
resetBioshapes
(BS bsAllAtoms) void
resetShapes
(boolean cacheScale) void
restrictSelected
(boolean isBond, boolean doInvert) void
setAtomLabel
(String strLabel, int i) void
void
setModelSet
(ModelSet modelSet) void
void
setScale()
void
setShapeProperties
(int shapeID, Object[]... values) void
setShapePropertyBs
(int shapeID, String propertyName, Object value, BS bsSelected) void
setShapeSizeBs
(int shapeID, int size, RadiusData rd, BS bsSelected)
-
Field Details
-
shapes
-
vwr
-
bsRenderableAtoms
-
bsSlabbedInternal
-
-
Constructor Details
-
ShapeManager
-
-
Method Details
-
setParallel
public void setParallel() -
findNearestShapeAtomIndex
-
getShapePropertyIndex
-
getShapePropertyData
-
getShapeIdFromObjectName
Returns the shape type index for a shape object given the object name.- Parameters:
objectName
- (string) string name of object- Returns:
- shapeType (int) integer corresponding to the shape type index see ShapeManager.shapes[].
-
loadDefaultShapes
-
loadShape
-
notifyAtomPositionsChanged
-
releaseShape
public void releaseShape(int shapeID) -
setScale
public void setScale() -
resetShapes
public void resetShapes(boolean cacheScale) -
setShapeProperties
-
setShapeSizeBs
- Parameters:
shapeID
-size
- in milliangstromsrd
-bsSelected
-
-
setLabel
-
setShapePropertyBs
-
deleteShapeAtoms
-
notifyAtoms
-
getAtomShapeValue
-
replaceGroup
-
getShape
-
resetBioshapes
-
setAtomLabel
-
finalizeAtoms
-
setModelSet
-
checkInheritedShapes
public void checkInheritedShapes()starting with Jmol 13.1.13, isosurfaces can use "property color" to inherit the color of the underlying atoms. This is then dynamic -
restrictSelected
public void restrictSelected(boolean isBond, boolean doInvert)
-