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, thisInsideFields inherited from class org.jmol.jvxl.readers.VolumeFileReader
ac, boundingBox, canDownsample, downsampleFactor, downsampleRemainders, endOfData, isAngstroms, nData, negativeAtomCount, nSkipX, nSkipY, nSkipZ, nSurfaces, readerClosedFields 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 intprotected voidgotoData(int n, int nPoints) (package private) voidinit2(SurfaceGenerator sg, BufferedReader br) private voidjvxlReadDefinitionLine(boolean showMsg) protected StringjvxlReadFractionData(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 voidjvxlSkipData(int nPoints, boolean doSkipColorData) private voidjvxlSkipDataBlock(int nPoints, boolean isInt) protected voidprotected voidreadSurfaceData(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, readVolumeDataMethods 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, swapXZMethods 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, skipToMethods 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:
init2in classJvxlXmlReader
-
readParameters
- Overrides:
readParametersin 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:
jvxlReadFractionDatain classJvxlXmlReader- Returns:
- data
-
gotoData
- Overrides:
gotoDatain classJvxlXmlReader- Throws:
Exception
-
jvxlReadDefinitionLine
- Throws:
Exception
-
readSurfaceData
- Overrides:
readSurfaceDatain classJvxlXmlReader- Throws:
Exception
-
jvxlSkipData
- Overrides:
jvxlSkipDatain classJvxlXmlReader- Throws:
Exception
-
jvxlSkipDataBlock
- Throws:
Exception
-
countData
-