Class ShapeManager
java.lang.Object
org.jmol.viewer.ShapeManager
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidstarting with Jmol 13.1.13, isosurfaces can use "property color" to inherit the color of the underlying atoms.voiddeleteShapeAtoms(Object[] value, BS bs) int[]finalizeAtoms(BS bsTranslateSelected, boolean finalizeParams) voidfindNearestShapeAtomIndex(int x, int y, Atom[] closest, BS bsNot) floatgetAtomShapeValue(int tok, Group group, int atomIndex) getShape(int i) intgetShapeIdFromObjectName(String objectName) Returns the shape type index for a shape object given the object name.booleangetShapePropertyData(int shapeID, String propertyName, Object[] data) getShapePropertyIndex(int shapeID, String propertyName, int index) voidloadDefaultShapes(ModelSet newModelSet) loadShape(int shapeID) voidnotifyAtomPositionsChanged(int baseModel, BS bs, M4 mat) voidnotifyAtoms(String prop, BS[] atomsAndModels) voidreleaseShape(int shapeID) voidreplaceGroup(Group g0, Group g1) voidresetBioshapes(BS bsAllAtoms) voidresetShapes(boolean cacheScale) voidrestrictSelected(boolean isBond, boolean doInvert) voidsetAtomLabel(String strLabel, int i) voidvoidsetModelSet(ModelSet modelSet) voidvoidsetScale()voidsetShapeProperties(int shapeID, Object[]... values) voidsetShapePropertyBs(int shapeID, String propertyName, Object value, BS bsSelected) voidsetShapeSizeBs(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)
-