Package org.jmol.shape
Class MeshCollection
java.lang.Object
org.jmol.shape.Shape
org.jmol.shape.MeshCollection
- Direct Known Subclasses:
CGO,Draw,Isosurface
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected BSshortprotected intprotected int[]protected floatbooleanprotected booleanbooleanprotected JvxlDataprotected MeshintMesh[]protected intintprotected Meshprotected intprotected T3protected intstatic final Stringprotected StringString[]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 TypeMethodDescriptionvoidprotected voidcheckExplicit(String id) protected voidclean()voiddeleteMeshI(int i) protected voiddeleteMeshKey(String key) intgetMeshList(String key, boolean justOne) Get matching list of meshes, order reversedgetPickedPoint(T3 v, int modelIndex) protected booleangetPropDataMC(String property, Object[] data) protected Objectprotected Objectprotected ObjectgetVertices(Mesh mesh) voidvoidmerge(MeshCollection mc) called by ParallelProcessor at completionprotected voidprotected voidvoidsetModelVisibilityFlags(BS bsModels) protected voidprotected voidsetStatusPicked(int flag, T3 v, Map<String, Object> map) protected String[]protected voidsetTokenProperty(int tokProp, boolean bProp, boolean testD) Methods inherited from class org.jmol.shape.Shape
appendCmd, checkBoundsMinMax, checkObjectClicked, checkObjectDragged, checkObjectHovered, coordinateInRange, encodeColor, findNearestAtomIndex, getColix, getColixA, getColixB, getColixI, getColorCommand, getColorCommandUnk, getFontCommand, getProperty, getPropertyData, getPropShape, getShapeDetail, getShapeState, getSize, getSizeG, getTranslucentLabel, initializeShape, initModelSet, replaceGroup, setAtomClickability, setModelSet, setProperties, setProperty, setPropS, setShapeSizeRD, setSize, setSizeRD, wasClicked
-
Field Details
-
jvxlData
-
meshCount
public int meshCount -
meshes
-
currentMesh
-
isFixed
public boolean isFixed -
nUnnamed
public int nUnnamed -
colix
public short colix -
explicitID
public boolean explicitID -
previousMeshID
-
linkedMesh
-
modelIndex
protected int modelIndex -
displayWithinDistance2
protected float displayWithinDistance2 -
isDisplayWithinNot
protected boolean isDisplayWithinNot -
displayWithinPoints
-
bsDisplay
-
title
-
pickedMesh
-
pickedModel
protected int pickedModel -
pickedVertex
protected int pickedVertex -
pickedPt
-
connections
protected int[] connections -
htObjects
-
color
protected int color -
PREVIOUS_MESH_ID
- See Also:
-
-
Constructor Details
-
MeshCollection
public MeshCollection()
-
-
Method Details
-
allocMesh
-
merge
called by ParallelProcessor at completion- Parameters:
mc-
-
initShape
public void initShape() -
setMeshColor
protected void setMeshColor() -
setPropMC
-
setTitle
-
checkExplicit
-
setTokenProperty
protected void setTokenProperty(int tokProp, boolean bProp, boolean testD) -
getPropDataMC
-
getMeshList
Get matching list of meshes, order reversed- Parameters:
key-justOne-- Returns:
- list in reverse order, highest index first
-
getPropMC
-
getValues
-
getVertices
-
clean
protected void clean() -
deleteMeshKey
-
deleteMeshI
public void deleteMeshI(int i) -
resetObjects
protected void resetObjects() -
getMesh
-
getIndexFromName
- Overrides:
getIndexFromNamein classShape- Parameters:
id-- Returns:
- index
-
setModelVisibilityFlags
- Overrides:
setModelVisibilityFlagsin classShape- Parameters:
bsModels-
-
setStatusPicked
-
getPickedPoint
-