Package org.jmol.jvxl.readers
Class Dsn6BinaryReader
java.lang.Object
org.jmol.jvxl.readers.SurfaceReader
org.jmol.jvxl.readers.SurfaceFileReader
org.jmol.jvxl.readers.VolumeFileReader
org.jmol.jvxl.readers.MapFileReader
org.jmol.jvxl.readers.Dsn6BinaryReader
- All Implemented Interfaces:
VertexDataServer
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate byte[]
private int
private int
private int
private float
private int
private int
private int
private int
Fields inherited from class org.jmol.jvxl.readers.MapFileReader
a, alpha, b, beta, c, dmax, dmean, dmin, drange, gamma, mapc, mapr, maps, mode, n0, n1, n2, na, nb, nc, origin, p3, vectors, xIndex, xyzStart, yIndex, zIndex
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 float
getBrickValue
(int pt) (package private) void
init2
(SurfaceGenerator sg, BufferedReader brNull) protected float
private void
protected void
protected void
skipData
(int nPoints) Methods inherited from class org.jmol.jvxl.readers.MapFileReader
checkInsideOut, getVectorsAndOrigin, init2MFR, setCutoffAutomatic
Methods inherited from class org.jmol.jvxl.readers.VolumeFileReader
checkAtomLine, closeReader, getJVXLCutoff, getNextVoxelValue, getPlane, getPlaneNCI, getSPFv, getSurfacePointAndFraction, getValue, getVoxelBitSet, gotoData, init2VFR, initializeSurfaceData, readSurfaceData, readSurfaceDataVFR, readVolumeData, readVolumeDataVFR, readVolumeParameters, readVoxelVector, recordData, skipComments, 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, gotoAndReadVoxelData, initializeMapping, initializeVolumetricData, initPlanes, initSR, jvxlUpdateInfo, newVoxelDataCube, postProcessVertices, readAndSetVolumeParameters, readColorData, resetIsosurface, selectPocket, setBBox, setVectorAnisotropy, setVertexAnisotropy, setVolumeDataV, setVolumetricAnisotropy, setVolumetricOriginAnisotropy, slabIsosurface, updateSurfaceData, updateTriangles
-
Field Details
-
byteFactor
private float byteFactor -
xyCount
private int xyCount -
nBrickX
private int nBrickX -
nBrickY
private int nBrickY -
brickLayerVoxelCount
private int brickLayerVoxelCount -
brickLayerByteCount
private int brickLayerByteCount -
brickRowByteCount
private int brickRowByteCount -
brickLayer
private byte[] brickLayer -
pt
private int pt
-
-
Constructor Details
-
Dsn6BinaryReader
Dsn6BinaryReader()
-
-
Method Details
-
init2
- Overrides:
init2
in classMapFileReader
-
readParameters
- Specified by:
readParameters
in classVolumeFileReader
- Throws:
Exception
-
readBrickLayer
- Throws:
Exception
-
getBrickValue
private float getBrickValue(int pt) -
nextVoxel
- Overrides:
nextVoxel
in classVolumeFileReader
- Throws:
Exception
-
skipData
- Overrides:
skipData
in classVolumeFileReader
- Throws:
Exception
-