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(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)
|
| 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, getTranslucentLabel, 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
isFixed
public boolean isFixed
nUnnamed
public int nUnnamed
colix
public short colix
myType
public String myType
explicitID
public boolean explicitID
previousMeshID
protected String previousMeshID
linkedMesh
protected Mesh linkedMesh
modelIndex
protected int modelIndex
displayWithinDistance2
protected float displayWithinDistance2
isDisplayWithinNot
protected boolean isDisplayWithinNot
displayWithinPoints
protected List<Point3f> displayWithinPoints
bsDisplay
protected BitSet bsDisplay
title
public String[] title
pickedMesh
protected Mesh pickedMesh
pickedModel
protected int pickedModel
pickedVertex
protected int pickedVertex
connections
protected int[] connections
htObjects
protected Map<String,Mesh> htObjects
color
protected int color
PREVIOUS_MESH_ID
public static final String PREVIOUS_MESH_ID
- See Also:
- Constant Field Values
MeshCollection
public MeshCollection()
setMesh
private Mesh setMesh(String thisID)
allocMesh
public void allocMesh(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(String propertyName,
Object value,
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(String id)
setTokenProperty
private void setTokenProperty(int tokProp,
boolean bProp,
boolean testD)
setMeshTokenProperty
private void setMeshTokenProperty(Mesh m,
int tokProp,
boolean bProp,
boolean testD)
getProperty
public boolean getProperty(String property,
Object[] data)
- Overrides:
getProperty in class Shape
- Returns:
- true if serviced
getProperty
public Object getProperty(String property,
int index)
- Overrides:
getProperty in class Shape
- Returns:
- true if serviced
getVertices
private Object getVertices(Mesh mesh)
clean
protected void clean()
deleteMesh
private void deleteMesh()
deleteMesh
protected void deleteMesh(String key)
deleteMesh
public void deleteMesh(int i)
getMesh
public Mesh getMesh(String thisID)
getIndexFromName
public int getIndexFromName(String thisID)
- Overrides:
getIndexFromName in class Shape
- Returns:
- index
setVisibilityFlags
public void setVisibilityFlags(BitSet bs)
- Overrides:
setVisibilityFlags in class Shape
setStatusPicked
protected void setStatusPicked(int flag,
Point3f v)
getPickedPoint
protected Map<String,Object> getPickedPoint(Point3f v,
int modelIndex)