public abstract class MeshCollection extends Shape
Modifier and Type | Field and Description |
---|---|
java.lang.String |
actualID |
protected boolean |
allowContourLines |
protected boolean |
allowMesh |
short |
colix |
Mesh |
currentMesh |
boolean |
explicitID |
protected boolean |
haveContours |
protected java.util.Hashtable |
htObjects |
protected boolean |
iHaveModelIndex |
boolean |
isFixed |
protected Mesh |
linkedMesh |
int |
meshCount |
Mesh[] |
meshes |
int |
modelCount |
protected int |
modelIndex |
java.lang.String |
myType |
int |
nUnnamed |
protected Mesh |
pickedMesh |
protected int |
pickedModel |
protected int |
pickedVertex |
protected java.lang.String |
previousMeshID |
java.lang.String |
script |
java.lang.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(java.lang.String thisID,
Mesh m) |
protected void |
checkExplicit(java.lang.String id) |
protected void |
clean() |
private void |
deleteMesh() |
void |
deleteMesh(int i) |
protected void |
deleteMesh(java.lang.String key) |
int |
getIndexFromName(java.lang.String thisID) |
Mesh |
getMesh(java.lang.String thisID) |
protected void |
getModelIndex(java.lang.String script) |
java.lang.Object |
getProperty(java.lang.String property,
int index) |
boolean |
getProperty(java.lang.String property,
java.lang.Object[] data) |
private java.lang.Object |
getVertices(Mesh mesh) |
void |
initShape() |
void |
merge(Shape shape)
called by ParallelProcessor at completion
|
private Mesh |
setMesh(java.lang.String thisID) |
private void |
setMeshTokenProperty(Mesh m,
int tokProp,
boolean bProp) |
void |
setModelIndex(int atomIndex,
int modelIndex) |
void |
setProperty(java.lang.String propertyName,
java.lang.Object value,
java.util.BitSet bs)
may come from any source -- executed AFTER a shape's own setProperty method
|
protected void |
setStatusPicked(int flag,
javax.vecmath.Point3f v) |
private void |
setTokenProperty(int tokProp,
boolean bProp) |
void |
setVisibilityFlags(java.util.BitSet bs) |
appendCmd, checkBoundsMinMax, checkObjectClicked, checkObjectDragged, checkObjectHovered, coordinateInRange, encodeColor, findNearestAtomIndex, getColix, getColorCommand, getColorCommand, getFontCommand, getShapeCommands, getShapeCommands, getShapeDetail, getShapeState, getSize, getSize, 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 int modelCount
public boolean isFixed
public java.lang.String script
public int nUnnamed
public short colix
public java.lang.String myType
public boolean explicitID
public java.lang.String actualID
protected java.lang.String previousMeshID
protected Mesh linkedMesh
protected boolean iHaveModelIndex
protected int modelIndex
protected boolean allowContourLines
protected boolean haveContours
public java.lang.String[] title
protected boolean allowMesh
protected Mesh pickedMesh
protected int pickedModel
protected int pickedVertex
protected java.util.Hashtable htObjects
private Mesh setMesh(java.lang.String thisID)
public void allocMesh(java.lang.String thisID, Mesh m)
public void merge(Shape shape)
public void setProperty(java.lang.String propertyName, java.lang.Object value, java.util.BitSet bs)
Shape
setProperty
in class Shape
protected void checkExplicit(java.lang.String id)
private void setTokenProperty(int tokProp, boolean bProp)
private void setMeshTokenProperty(Mesh m, int tokProp, boolean bProp)
public boolean getProperty(java.lang.String property, java.lang.Object[] data)
getProperty
in class Shape
public java.lang.Object getProperty(java.lang.String property, int index)
getProperty
in class Shape
private java.lang.Object getVertices(Mesh mesh)
protected void clean()
private void deleteMesh()
protected void deleteMesh(java.lang.String key)
public void deleteMesh(int i)
public Mesh getMesh(java.lang.String thisID)
public int getIndexFromName(java.lang.String thisID)
getIndexFromName
in class Shape
public void setModelIndex(int atomIndex, int modelIndex)
public void setVisibilityFlags(java.util.BitSet bs)
setVisibilityFlags
in class Shape
protected void getModelIndex(java.lang.String script)
protected void setStatusPicked(int flag, javax.vecmath.Point3f v)