org.jmol.jvxl.readers
Class PmeshReader
java.lang.Object
org.jmol.jvxl.readers.SurfaceReader
org.jmol.jvxl.readers.SurfaceFileReader
org.jmol.jvxl.readers.PolygonFileReader
org.jmol.jvxl.readers.PmeshReader
- All Implemented Interfaces:
- VertexDataServer
class PmeshReader
- extends PolygonFileReader
Fields inherited from class org.jmol.jvxl.readers.SurfaceReader |
ANGSTROMS_PER_BOHR, cJvxlEdgeNaN, colorEncoder, colorFractionBase, colorFractionRange, contourVertexCount, defaultCutoff, defaultMappedDataMax, defaultMappedDataMin, edgeFractionBase, edgeFractionRange, fractionData, hasColorData, isApbsDx, isJvxl, isProgressive, isXLowToHigh, jvxlColorDataRead, jvxlCutoff, jvxlData, jvxlDataIs2dContour, jvxlDataIsColorMapped, jvxlDataIsPrecisionColor, jvxlEdgeDataRead, jvxlFileHeaderBuffer, jvxlNSurfaceInts, jvxlVoxelBitSet, marchingSquares, meshData, meshDataServer, nBytes, nDataPoints, nPointsX, nPointsY, nPointsZ, params, ptTemp, sg, vContours, vertexDataOnly, volumeData, volumetricOrigin, volumetricVectors, voxelCounts, voxelData |
Methods inherited from class org.jmol.jvxl.readers.SurfaceReader |
addTriangleCheck, addVertexCopy, applyColorScale, colorIsosurface, createIsosurface, excludeMaximumSet, excludeMinimumSet, getArgbFromPalette, getColorIndexFromPalette, getColorPhaseIndex, getMaxMappedValue, getMinMappedValue, getSurfacePointAndFraction, getSurfacePointIndexAndFraction, getValue, gotoAndReadVoxelData, gotoData, initializeVolumetricData, jvxlUpdateInfo, readColorData, resetIsosurface, selectPocket, setVolumeData, updateSurfaceData, updateTriangles |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
nPolygons
private int nPolygons
isBinary
private boolean isBinary
PMESH_BINARY_MAGIC_NUMBER
static final java.lang.String PMESH_BINARY_MAGIC_NUMBER
- See Also:
- Constant Field Values
pmeshError
java.lang.String pmeshError
tokens
private java.lang.String[] tokens
iToken
private int iToken
PmeshReader
PmeshReader(SurfaceGenerator sg,
java.lang.String fileName,
java.io.BufferedReader br)
checkBinary
private boolean checkBinary(java.lang.String fileName)
getSurfaceData
void getSurfaceData()
throws java.lang.Exception
- Specified by:
getSurfaceData
in class PolygonFileReader
- Throws:
java.lang.Exception
readPmesh
private boolean readPmesh()
readBinaryHeader
boolean readBinaryHeader()
readVertices
private boolean readVertices()
throws java.lang.Exception
- Throws:
java.lang.Exception
readPolygons
private boolean readPolygons()
throws java.lang.Exception
- Throws:
java.lang.Exception
nextToken
private java.lang.String nextToken()
throws java.lang.Exception
- Throws:
java.lang.Exception
getInt
private int getInt()
throws java.lang.Exception
- Throws:
java.lang.Exception
getFloat
private float getFloat()
throws java.lang.Exception
- Throws:
java.lang.Exception