Package org.jmol.jvxl.readers
Class JvxlReader
- All Implemented Interfaces:
VertexDataServer
-
Field Summary
Fields inherited from class org.jmol.jvxl.readers.JvxlXmlReader
bsVoxelBitSet, colorDataCount, edgeDataCount, haveContourData, haveReadColorData, isXmlFile, JVXL_VERSION, surfaceDataCount, tempDataXml, thisInside
Fields inherited from class org.jmol.jvxl.readers.VolumeFileReader
ac, boundingBox, canDownsample, downsampleFactor, downsampleRemainders, endOfData, isAngstroms, nData, negativeAtomCount, nSkipX, nSkipY, nSkipZ, nSurfaces, readerClosed
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 int
protected void
gotoData
(int n, int nPoints) (package private) void
init2
(SurfaceGenerator sg, BufferedReader br) private void
jvxlReadDefinitionLine
(boolean showMsg) protected String
jvxlReadFractionData
(String type, int nPoints) "edge" data includes two parts -- a compressed bitset indicating exactly which edges, in order or processing by Jmol, are crossed by the surface, and a set of fractions indicating how far along that edge (good to 1 part in 8100) that surface crosses that edge.protected void
jvxlSkipData
(int nPoints, boolean doSkipColorData) private void
jvxlSkipDataBlock
(int nPoints, boolean isInt) protected void
protected void
readSurfaceData
(boolean isMapDataIgnored) Methods inherited from class org.jmol.jvxl.readers.JvxlXmlReader
getEncodedVertexData, getJVXLCutoff, getSurfacePointAndFraction, getVoxelBitSet, gotoAndReadVoxelData, init2JXR, jvxlDecodeContourData, jvxlDecodeTriangleData, jvxlDecodeVertexData, jvxlReadSurfaceInfo, jvxlSetColorRanges, postProcessVertices, readColorData, readSurfaceDataJXR, readSurfaceDataXML, readVector, readVolumeData
Methods inherited from class org.jmol.jvxl.readers.VolumeFileReader
checkAtomLine, closeReader, getNextVoxelValue, getPlane, getPlaneNCI, getSPFv, getValue, init2VFR, initializeSurfaceData, nextVoxel, readSurfaceDataVFR, readVolumeDataVFR, readVolumeParameters, readVoxelVector, recordData, skipComments, skipData, skipDataVFR, swapXZ
Methods inherited from class org.jmol.jvxl.readers.SurfaceFileReader
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, getPlaneSR, getSPF, getSurfaceAtomIndex, getSurfacePointIndexAndFraction, getValue2, getValueAtPoint, initializeMapping, initializeVolumetricData, initPlanes, initSR, jvxlUpdateInfo, newVoxelDataCube, readAndSetVolumeParameters, resetIsosurface, selectPocket, setBBox, setVectorAnisotropy, setVertexAnisotropy, setVolumeDataV, setVolumetricAnisotropy, setVolumetricOriginAnisotropy, slabIsosurface, updateSurfaceData, updateTriangles
-
Constructor Details
-
JvxlReader
JvxlReader()
-
-
Method Details
-
init2
- Overrides:
init2
in classJvxlXmlReader
-
readParameters
- Overrides:
readParameters
in classJvxlXmlReader
- Throws:
Exception
-
jvxlReadFractionData
Description copied from class:JvxlXmlReader
"edge" data includes two parts -- a compressed bitset indicating exactly which edges, in order or processing by Jmol, are crossed by the surface, and a set of fractions indicating how far along that edge (good to 1 part in 8100) that surface crosses that edge. We are just reading he fractions here. "color" data comprises the corresponding sequence of data mapping values, again stored to a precision of 1 part in 8100, relative to a range of values.- Overrides:
jvxlReadFractionData
in classJvxlXmlReader
- Returns:
- data
-
gotoData
- Overrides:
gotoData
in classJvxlXmlReader
- Throws:
Exception
-
jvxlReadDefinitionLine
- Throws:
Exception
-
readSurfaceData
- Overrides:
readSurfaceData
in classJvxlXmlReader
- Throws:
Exception
-
jvxlSkipData
- Overrides:
jvxlSkipData
in classJvxlXmlReader
- Throws:
Exception
-
jvxlSkipDataBlock
- Throws:
Exception
-
countData
-