public abstract class MeshCollection extends Shape
Modifier and Type | Field and Description |
---|---|
protected java.util.BitSet |
bsDisplay |
short |
colix |
protected int |
color |
protected int[] |
connections |
Mesh |
currentMesh |
protected float |
displayWithinDistance2 |
protected java.util.List<javax.vecmath.Point3f> |
displayWithinPoints |
boolean |
explicitID |
protected java.util.Map<java.lang.String,Mesh> |
htObjects |
protected boolean |
isDisplayWithinNot |
boolean |
isFixed |
protected Mesh |
linkedMesh |
int |
meshCount |
Mesh[] |
meshes |
protected int |
modelIndex |
java.lang.String |
myType |
int |
nUnnamed |
protected Mesh |
pickedMesh |
protected int |
pickedModel |
protected javax.vecmath.Point3f |
pickedPt |
protected int |
pickedVertex |
static java.lang.String |
PREVIOUS_MESH_ID |
protected java.lang.String |
previousMeshID |
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 java.util.Map<java.lang.String,java.lang.Object> |
getPickedPoint(javax.vecmath.Point3f v,
int modelIndex) |
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,
boolean testD) |
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,
boolean testD) |
void |
setVisibilityFlags(java.util.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 java.lang.String myType
public boolean explicitID
protected java.lang.String previousMeshID
protected Mesh linkedMesh
protected int modelIndex
protected float displayWithinDistance2
protected boolean isDisplayWithinNot
protected java.util.List<javax.vecmath.Point3f> displayWithinPoints
protected java.util.BitSet bsDisplay
public java.lang.String[] title
protected Mesh pickedMesh
protected int pickedModel
protected int pickedVertex
protected javax.vecmath.Point3f pickedPt
protected int[] connections
protected java.util.Map<java.lang.String,Mesh> htObjects
protected int color
public static final java.lang.String PREVIOUS_MESH_ID
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, boolean testD)
private void setMeshTokenProperty(Mesh m, int tokProp, boolean bProp, boolean testD)
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 setVisibilityFlags(java.util.BitSet bs)
setVisibilityFlags
in class Shape
protected void setStatusPicked(int flag, javax.vecmath.Point3f v)
protected java.util.Map<java.lang.String,java.lang.Object> getPickedPoint(javax.vecmath.Point3f v, int modelIndex)