Package org.jmol.jvxl.readers
Class Pmesh4Reader
java.lang.Object
org.jmol.jvxl.readers.SurfaceReader
org.jmol.jvxl.readers.SurfaceFileReader
org.jmol.jvxl.readers.PolygonFileReader
org.jmol.jvxl.readers.Pmesh4Reader
- All Implemented Interfaces:
VertexDataServer
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate int
private int
private int
private int
private int
private String
private String[]
(package private) float
private String
Fields inherited from class org.jmol.jvxl.readers.PolygonFileReader
nTriangles, nVertices
Fields inherited from class org.jmol.jvxl.readers.SurfaceReader
allowSigma, ANGSTROMS_PER_BOHR, anisotropy, center, cJvxlEdgeNaN, colorFractionBase, colorFractionRange, contourVertexCount, dataMax, dataMean, dataMin, defaultCutoff, defaultMappedDataMax, defaultMappedDataMin, eccentricityMatrix, eccentricityMatrixInverse, eccentricityRatio, eccentricityScale, edgeFractionBase, edgeFractionRange, fractionData, hasColorData, haveSurfaceAtoms, isAnisotropic, isEccentric, isJvxl, isPeriodic, isProgressive, isQuiet, isXLowToHigh, jvxlColorDataRead, jvxlCutoff, jvxlCutoffRange, jvxlData, jvxlDataIs2dContour, jvxlDataIsColorDensity, jvxlDataIsColorMapped, jvxlDataIsPrecisionColor, jvxlEdgeDataRead, jvxlFileHeaderBuffer, jvxlNSurfaceInts, jvxlVoxelBitSet, marchingCubes, marchingSquares, meshData, meshDataServer, minMax, nBytes, nDataPoints, nPointsX, nPointsY, nPointsZ, params, ptTemp, qpc, sg, vertexDataOnly, volumeData, volumetricOrigin, volumetricVectors, voxelCounts, voxelData, xyzMax, xyzMin, yzCount, yzPlanes
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate void
private float
getFloat()
private int
getInt()
(package private) void
(package private) void
init2
(SurfaceGenerator sg, BufferedReader br) private String
private void
private boolean
private boolean
Methods inherited from class org.jmol.jvxl.readers.PolygonFileReader
init2PFR, readSurfaceData, readVolumeData, readVolumeParameters
Methods inherited from class org.jmol.jvxl.readers.SurfaceFileReader
closeReader, closeReaderSFR, discardTempData, getQuotedStringNext, getTokens, init, init2SFR, newBinaryDocument, parseFloat, parseFloatArray, parseFloatArrayStr, parseFloatRange, parseFloatStr, parseInt, parseIntNext, parseIntStr, rd, setOutputChannel, setStream, skipTo
Methods inherited from class org.jmol.jvxl.readers.SurfaceReader
addTriangleCheck, addVC, addVertexCopy, applyColorScale, colorIsosurface, createIsosurface, discardTempDataSR, excludeMaximumSet, excludeMinimumSet, finalizeMapping, getColorPhaseIndex, getMinMaxMappedValues, getPlane, getPlaneSR, getSPF, getSurfaceAtomIndex, getSurfacePointAndFraction, getSurfacePointIndexAndFraction, getValue, getValue2, getValueAtPoint, gotoAndReadVoxelData, gotoData, initializeMapping, initializeVolumetricData, initPlanes, initSR, jvxlUpdateInfo, newVoxelDataCube, postProcessVertices, readAndSetVolumeParameters, readColorData, resetIsosurface, selectPocket, setBBox, setVectorAnisotropy, setVertexAnisotropy, setVolumeDataV, setVolumetricAnisotropy, setVolumetricOriginAnisotropy, slabIsosurface, updateSurfaceData, updateTriangles
-
Field Details
-
nPolygons
private int nPolygons -
pmeshError
-
type
-
color
private int color -
transparency
float transparency -
nX
private int nX -
nY
private int nY -
tokens
-
iToken
private int iToken
-
-
Constructor Details
-
Pmesh4Reader
Pmesh4Reader()
-
-
Method Details
-
init2
- Overrides:
init2
in classSurfaceFileReader
-
getSurfaceData
- Specified by:
getSurfaceData
in classPolygonFileReader
- Throws:
Exception
-
readVerticesAndPolygons
private boolean readVerticesAndPolygons() -
readColor
- Throws:
Exception
-
readVertices
- Throws:
Exception
-
createMesh
private void createMesh() -
nextToken
- Throws:
Exception
-
getInt
- Throws:
Exception
-
getFloat
- Throws:
Exception
-