org.jmol.shape
public abstract class MeshCollection extends Shape
Modifier and Type | Field and Description |
---|---|
protected BitSet |
bsDisplay |
short |
colix |
protected int |
color |
protected int[] |
connections |
Mesh |
currentMesh |
protected float |
displayWithinDistance2 |
protected List<Point3f> |
displayWithinPoints |
boolean |
explicitID |
protected Map<String,Mesh> |
htObjects |
protected boolean |
isDisplayWithinNot |
boolean |
isFixed |
protected Mesh |
linkedMesh |
int |
meshCount |
Mesh[] |
meshes |
protected int |
modelIndex |
String |
myType |
int |
nUnnamed |
protected Mesh |
pickedMesh |
protected int |
pickedModel |
protected int |
pickedVertex |
static String |
PREVIOUS_MESH_ID |
protected String |
previousMeshID |
String[] |
title |
g3d, isBioShape, modelSet, myVisibilityFlag, RADIUS_MAX, shapeID, translucentAllowed, translucentLevel, viewer, xmlProperties
Constructor and Description |
---|
MeshCollection() |
Modifier and Type | Method and Description |
---|---|
void |
allocMesh(String thisID,
Mesh m) |
protected void |
checkExplicit(String id) |
protected void |
clean() |
private void |
deleteMesh() |
void |
deleteMesh(int i) |
protected void |
deleteMesh(String key) |
int |
getIndexFromName(String thisID) |
Mesh |
getMesh(String thisID) |
protected Map<String,Object> |
getPickedPoint(Point3f v,
int modelIndex) |
Object |
getProperty(String property,
int index) |
boolean |
getProperty(String property,
Object[] data) |
private Object |
getVertices(Mesh mesh) |
void |
initShape() |
void |
merge(Shape shape)
called by ParallelProcessor at completion
|
private Mesh |
setMesh(String thisID) |
private void |
setMeshTokenProperty(Mesh m,
int tokProp,
boolean bProp,
boolean testD) |
void |
setProperty(String propertyName,
Object value,
BitSet bs)
may come from any source -- executed AFTER a shape's own setProperty method
|
protected void |
setStatusPicked(int flag,
Point3f v) |
private void |
setTokenProperty(int tokProp,
boolean bProp,
boolean testD) |
void |
setVisibilityFlags(BitSet bs) |
appendCmd, checkBoundsMinMax, checkObjectClicked, checkObjectDragged, checkObjectHovered, coordinateInRange, encodeColor, findNearestAtomIndex, getColix, getColorCommand, getColorCommand, getFontCommand, getShapeCommands, getShapeCommands, getShapeDetail, getShapeState, getSize, getSize, getTranslucentLabel, getViewer, initializeShape, initModelSet, setColix, setColix, setColix, setModelClickability, setModelSet, setShapeProperty, setShapeSize, setSize, setSize, setStateInfo, setStateInfo, wasClicked
public int meshCount
public Mesh[] meshes
public Mesh currentMesh
public boolean isFixed
public int nUnnamed
public short colix
public String myType
public boolean explicitID
protected String previousMeshID
protected Mesh linkedMesh
protected int modelIndex
protected float displayWithinDistance2
protected boolean isDisplayWithinNot
protected BitSet bsDisplay
public String[] title
protected Mesh pickedMesh
protected int pickedModel
protected int pickedVertex
protected int[] connections
protected int color
public static final String PREVIOUS_MESH_ID
public void merge(Shape shape)
public void setProperty(String propertyName, Object value, BitSet bs)
Shape
setProperty
in class Shape
protected void checkExplicit(String id)
private void setTokenProperty(int tokProp, boolean bProp, boolean testD)
private void setMeshTokenProperty(Mesh m, int tokProp, boolean bProp, boolean testD)
public boolean getProperty(String property, Object[] data)
getProperty
in class Shape
public Object getProperty(String property, int index)
getProperty
in class Shape
protected void clean()
private void deleteMesh()
protected void deleteMesh(String key)
public void deleteMesh(int i)
public int getIndexFromName(String thisID)
getIndexFromName
in class Shape
public void setVisibilityFlags(BitSet bs)
setVisibilityFlags
in class Shape
protected void setStatusPicked(int flag, Point3f v)