org.jmol.jvxl.readers
class PmeshReader extends PolygonFileReader
Modifier and Type | Field and Description |
---|---|
protected int |
fixedCount |
private boolean |
isBinary |
protected boolean |
isClosedFace |
protected int |
iToken |
protected int |
nPolygons |
protected boolean |
onePerLine |
(package private) static String |
PMESH_BINARY_MAGIC_NUMBER |
protected String |
pmeshError |
protected String[] |
tokens |
protected String |
type |
protected int |
vertexBase |
protected int[] |
vertexMap |
nTriangles, nVertices
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, isProgressive, isQuiet, isXLowToHigh, jvxlColorDataRead, jvxlCutoff, 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 and Description |
---|
PmeshReader(SurfaceGenerator sg,
BufferedReader br) |
PmeshReader(SurfaceGenerator sg,
String fileName,
BufferedReader br) |
Modifier and Type | Method and Description |
---|---|
int |
addTriangleCheck(int iA,
int iB,
int iC,
int check,
int check2,
boolean isAbsolute,
int color)
addTriangleCheck adds a triangle along with a 3-bit check indicating
which edges to draw in mesh mode: 1 (iA-iB) + 2 (iB-iC) + 4 (iC-iA)
|
protected boolean |
checkBinary(String fileName) |
private float |
getFloat() |
private int |
getInt() |
(package private) void |
getSurfaceData() |
private String |
nextToken() |
(package private) boolean |
readBinaryHeader() |
protected boolean |
readPolygons() |
protected boolean |
readVertices() |
protected boolean |
readVerticesAndPolygons() |
protected void |
setHeader() |
readSurfaceData, readVolumeData, readVolumeParameters
closeReader, discardTempData, getNextQuotedString, getTokens, parseFloat, parseFloat, parseFloatArray, parseFloatArray, parseInt, parseInt, parseIntNext, readLine, setOutputStream, skipTo
addVertexCopy, applyColorScale, colorIsosurface, createIsosurface, excludeMaximumSet, excludeMinimumSet, finalizeMapping, getColorPhaseIndex, getMinMaxMappedValues, getPlane, getSurfaceAtomIndex, getSurfacePointAndFraction, getSurfacePointIndexAndFraction, getValue, getValueAtPoint, gotoAndReadVoxelData, gotoData, initializeMapping, initializeVolumetricData, initPlanes, jvxlUpdateInfo, newVoxelDataCube, postProcessVertices, readAndSetVolumeParameters, readColorData, resetIsosurface, selectPocket, setBoundingBox, setVectorAnisotropy, setVertexAnisotropy, setVolumeData, setVolumetricAnisotropy, setVolumetricOriginAnisotropy, slabIsosurface, updateSurfaceData, updateTriangles
static final String PMESH_BINARY_MAGIC_NUMBER
private boolean isBinary
protected int nPolygons
protected String pmeshError
protected String type
protected boolean isClosedFace
protected int fixedCount
protected boolean onePerLine
protected int vertexBase
protected int[] vertexMap
protected String[] tokens
protected int iToken
PmeshReader(SurfaceGenerator sg, BufferedReader br)
PmeshReader(SurfaceGenerator sg, String fileName, BufferedReader br)
protected void setHeader()
protected boolean checkBinary(String fileName)
void getSurfaceData() throws Exception
getSurfaceData
in class PolygonFileReader
Exception
protected boolean readVerticesAndPolygons()
boolean readBinaryHeader()
public int addTriangleCheck(int iA, int iB, int iC, int check, int check2, boolean isAbsolute, int color)
VertexDataServer
addTriangleCheck
in interface VertexDataServer
addTriangleCheck
in class SurfaceReader
check2
- TODO