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 javajs.util.BS
short
protected int
protected int[]
protected float
protected javajs.util.Lst<javajs.util.P3>
boolean
protected boolean
boolean
protected JvxlData
protected Mesh
int
Mesh[]
protected int
int
protected Mesh
protected int
protected javajs.util.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()
private void
void
deleteMeshI
(int i) protected void
deleteMeshKey
(String key) int
protected javajs.util.Lst<Mesh>
getMeshList
(String key, boolean justOne) Get matching list of meshes, order reversedgetPickedPoint
(javajs.util.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
private Mesh
private void
setMeshTokenProperty
(Mesh m, int tokProp, boolean bProp, boolean testD) void
setModelVisibilityFlags
(javajs.util.BS bsModels) protected void
protected void
setStatusPicked
(int flag, javajs.util.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, 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
protected javajs.util.Lst<javajs.util.P3> displayWithinPoints -
bsDisplay
protected javajs.util.BS bsDisplay -
title
-
pickedMesh
-
pickedModel
protected int pickedModel -
pickedVertex
protected int pickedVertex -
pickedPt
protected javajs.util.T3 pickedPt -
connections
protected int[] connections -
htObjects
-
color
protected int color -
PREVIOUS_MESH_ID
- See Also:
-
-
Constructor Details
-
MeshCollection
public MeshCollection()
-
-
Method Details
-
setMesh
-
allocMesh
-
merge
called by ParallelProcessor at completion- Parameters:
mc
-
-
initShape
public void initShape() -
setPropMC
-
setTitle
-
checkExplicit
-
setTokenProperty
protected void setTokenProperty(int tokProp, boolean bProp, boolean testD) -
setMeshTokenProperty
-
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() -
deleteMesh
private void deleteMesh() -
deleteMeshKey
-
deleteMeshI
public void deleteMeshI(int i) -
resetObjects
protected void resetObjects() -
getMesh
-
getIndexFromName
- Overrides:
getIndexFromName
in classShape
- Returns:
- index
-
setModelVisibilityFlags
public void setModelVisibilityFlags(javajs.util.BS bsModels) - Overrides:
setModelVisibilityFlags
in classShape
-
setStatusPicked
-
getPickedPoint
-