org.jmol.shape
Class MeshCollection
java.lang.Object
org.jmol.shape.Shape
org.jmol.shape.MeshCollection
- Direct Known Subclasses:
- Draw, Isosurface
public abstract class MeshCollection
- extends Shape
Method Summary |
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)
|
Methods inherited from class org.jmol.shape.Shape |
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 |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
meshCount
public int meshCount
meshes
public Mesh[] meshes
currentMesh
public Mesh currentMesh
modelCount
public int modelCount
isFixed
public boolean isFixed
script
public java.lang.String script
nUnnamed
public int nUnnamed
colix
public short colix
myType
public java.lang.String myType
explicitID
public boolean explicitID
actualID
public java.lang.String actualID
previousMeshID
protected java.lang.String previousMeshID
linkedMesh
protected Mesh linkedMesh
iHaveModelIndex
protected boolean iHaveModelIndex
modelIndex
protected int modelIndex
allowContourLines
protected boolean allowContourLines
haveContours
protected boolean haveContours
title
public java.lang.String[] title
allowMesh
protected boolean allowMesh
pickedMesh
protected Mesh pickedMesh
pickedModel
protected int pickedModel
pickedVertex
protected int pickedVertex
htObjects
protected java.util.Hashtable htObjects
MeshCollection
public MeshCollection()
setMesh
private Mesh setMesh(java.lang.String thisID)
allocMesh
public void allocMesh(java.lang.String thisID,
Mesh m)
merge
public void merge(Shape shape)
- called by ParallelProcessor at completion
- Overrides:
merge
in class Shape
- Parameters:
shape
-
initShape
public void initShape()
- Overrides:
initShape
in class Shape
setProperty
public void setProperty(java.lang.String propertyName,
java.lang.Object value,
java.util.BitSet bs)
- Description copied from class:
Shape
- may come from any source -- executed AFTER a shape's own setProperty method
- Overrides:
setProperty
in class Shape
checkExplicit
protected void checkExplicit(java.lang.String id)
setTokenProperty
private void setTokenProperty(int tokProp,
boolean bProp)
setMeshTokenProperty
private void setMeshTokenProperty(Mesh m,
int tokProp,
boolean bProp)
getProperty
public boolean getProperty(java.lang.String property,
java.lang.Object[] data)
- Overrides:
getProperty
in class Shape
getProperty
public java.lang.Object getProperty(java.lang.String property,
int index)
- Overrides:
getProperty
in class Shape
getVertices
private java.lang.Object getVertices(Mesh mesh)
clean
protected void clean()
deleteMesh
private void deleteMesh()
deleteMesh
protected void deleteMesh(java.lang.String key)
deleteMesh
public void deleteMesh(int i)
getMesh
public Mesh getMesh(java.lang.String thisID)
getIndexFromName
public int getIndexFromName(java.lang.String thisID)
- Overrides:
getIndexFromName
in class Shape
setModelIndex
public void setModelIndex(int atomIndex,
int modelIndex)
setVisibilityFlags
public void setVisibilityFlags(java.util.BitSet bs)
- Overrides:
setVisibilityFlags
in class Shape
getModelIndex
protected void getModelIndex(java.lang.String script)
setStatusPicked
protected void setStatusPicked(int flag,
javax.vecmath.Point3f v)