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 BS
short
protected int
protected int[]
protected float
boolean
protected boolean
boolean
protected JvxlData
protected Mesh
int
Mesh[]
protected int
int
protected Mesh
protected int
protected T3
protected int
static final String
protected String
String[]
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 TypeMethodDescriptionvoid
protected void
checkExplicit
(String id) protected void
clean()
void
deleteMeshI
(int i) protected void
deleteMeshKey
(String key) int
getMeshList
(String key, boolean justOne) Get matching list of meshes, order reversedgetPickedPoint
(T3 v, int modelIndex) protected boolean
getPropDataMC
(String property, Object[] data) protected Object
protected Object
protected Object
getVertices
(Mesh mesh) void
void
merge
(MeshCollection mc) called by ParallelProcessor at completionprotected void
protected void
void
setModelVisibilityFlags
(BS bsModels) protected void
protected void
setStatusPicked
(int flag, T3 v, Map<String, Object> map) protected String[]
protected void
setTokenProperty
(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:
getIndexFromName
in classShape
- Parameters:
id
-- Returns:
- index
-
setModelVisibilityFlags
- Overrides:
setModelVisibilityFlags
in classShape
- Parameters:
bsModels
-
-
setStatusPicked
-
getPickedPoint
-