Package org.jmol.shapecgo
Class CGO
java.lang.Object
org.jmol.shape.Shape
org.jmol.shape.MeshCollection
org.jmol.shapecgo.CGO
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate CGOMesh(package private) CGOMesh[]private intprivate floatprivate booleanFields inherited from class org.jmol.shape.MeshCollection
bsDisplay, colix, color, connections, currentMesh, displayWithinDistance2, displayWithinPoints, explicitID, htObjects, isDisplayWithinNot, isFixed, jvxlData, linkedMesh, meshCount, meshes, modelIndex, nUnnamed, pickedMesh, pickedModel, pickedPt, pickedVertex, PREVIOUS_MESH_ID, previousMeshID, titleFields 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 TypeMethodDescriptionvoidprotected voidclean()private voiddeleteMeshElement(int i) protected voiddeleteModels(int modelIndex) private StringgetCommand(Mesh mesh) private StringgetCommand2(Mesh mesh, int modelCount) getProperty(String property, int index) booleangetPropertyData(String property, Object[] data) private voidinitCGO()private voidprivate booleanvoidsetModelVisibilityFlags(javajs.util.BS bsModels) voidsetProperty(String propertyName, Object value, javajs.util.BS bs) private voidsetPropertySuper(String propertyName, Object value, javajs.util.BS bs) Methods inherited from class org.jmol.shape.MeshCollection
checkExplicit, deleteMeshI, deleteMeshKey, getIndexFromName, getMesh, getMeshList, getPickedPoint, getPropDataMC, getPropMC, getValues, getVertices, initShape, merge, resetObjects, setPropMC, setStatusPicked, setTitle, setTokenPropertyMethods inherited from class org.jmol.shape.Shape
appendCmd, checkBoundsMinMax, checkObjectClicked, checkObjectDragged, checkObjectHovered, coordinateInRange, encodeColor, findNearestAtomIndex, getColix, getColixA, getColixB, getColixI, getColorCommand, getColorCommandUnk, getFontCommand, getPropShape, getSize, getSizeG, getTranslucentLabel, initializeShape, initModelSet, replaceGroup, setAtomClickability, setModelSet, setPropS, setShapeSizeRD, setSize, setSizeRD, wasClicked
-
Field Details
-
cmeshes
CGOMesh[] cmeshes -
cgoMesh
-
useColix
private boolean useColix -
newScale
private float newScale -
indicatedModelIndex
private int indicatedModelIndex
-
-
Constructor Details
-
CGO
public CGO()
-
-
Method Details
-
initCGO
private void initCGO() -
allocMesh
- Overrides:
allocMeshin classMeshCollection
-
setProperty
- Specified by:
setPropertyin classShape
-
deleteModels
protected void deleteModels(int modelIndex) -
getProperty
- Overrides:
getPropertyin classShape- Returns:
- true if serviced
-
getPropertyData
- Overrides:
getPropertyDatain classShape- Returns:
- true if serviced
-
deleteMeshElement
private void deleteMeshElement(int i) -
setPropertySuper
-
clean
protected void clean()- Overrides:
cleanin classMeshCollection
-
setCGO
-
scale
-
getShapeDetail
- Overrides:
getShapeDetailin classShape
-
getShapeState
- Specified by:
getShapeStatein classShape
-
getCommand
-
getCommand2
-
setModelVisibilityFlags
public void setModelVisibilityFlags(javajs.util.BS bsModels) - Overrides:
setModelVisibilityFlagsin classMeshCollection
-