org.jmol.shapesurface
Class Pmesh
java.lang.Object
org.jmol.shape.Shape
org.jmol.shape.MeshCollection
org.jmol.shapesurface.MeshFileCollection
org.jmol.shapesurface.Pmesh
public class Pmesh
- extends MeshFileCollection
Fields inherited from class org.jmol.shape.MeshCollection |
allowMesh, colix, currentMesh, explicitID, isFixed, linkedMesh, meshCount, meshes, modelCount, modelIndex, myType, nUnnamed, previousMeshID, script, title |
Constructor Summary |
Pmesh()
|
Methods inherited from class org.jmol.shape.Shape |
appendCmd, checkBoundsMinMax, checkObjectClicked, checkObjectDragged, checkObjectHovered, findNearestAtomIndex, getColix, getColorCommand, getColorCommand, getFontCommand, getShapeCommands, getShapeCommands, getShapeDetail, getViewer, initializeShape, initModelSet, remapColors, setColix, setColix, setModelClickability, setModelSet, setSize, setStateInfo, setStateInfo, wasClicked |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
isOnePerLine
private boolean isOnePerLine
isBinary
private boolean isBinary
iHaveModelIndex
private boolean iHaveModelIndex
pmeshError
java.lang.String pmeshError
PMESH_BINARY_MAGIC_NUMBER
private static final java.lang.String PMESH_BINARY_MAGIC_NUMBER
- See Also:
- Constant Field Values
br
java.io.BufferedReader br
doc
Pmesh.PmeshBinaryDocument doc
Pmesh
public Pmesh()
initShape
public void initShape()
- Overrides:
initShape
in class MeshCollection
setProperty
public void setProperty(java.lang.String propertyName,
java.lang.Object value,
java.util.BitSet bs)
- Overrides:
setProperty
in class MeshCollection
getProperty
public java.lang.Object getProperty(java.lang.String property,
int index)
- Overrides:
getProperty
in class MeshCollection
readPmesh
private boolean readPmesh()
closeReaders
private void closeReaders()
getInt
private int getInt()
throws java.lang.Exception
- Throws:
java.lang.Exception
readVertexCount
private boolean readVertexCount()
throws java.lang.Exception
- Throws:
java.lang.Exception
readVertices
private boolean readVertices()
throws java.lang.Exception
- Throws:
java.lang.Exception
readPolygonCount
private boolean readPolygonCount()
throws java.lang.Exception
- Throws:
java.lang.Exception
readPolygonIndexes
private boolean readPolygonIndexes()
throws java.lang.Exception
- Throws:
java.lang.Exception
readPolygon
private int[] readPolygon(int iPoly)
throws java.lang.Exception
- Throws:
java.lang.Exception