Package org.jmol.jvxl.readers
Class VolumeDataReader
java.lang.Object
org.jmol.jvxl.readers.SurfaceReader
org.jmol.jvxl.readers.VolumeDataReader
- All Implemented Interfaces:
VertexDataServer
- Direct Known Subclasses:
AtomDataReader,IsoShapeReader
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected booleanprotected intprotected intprotected javajs.util.P3protected booleanprotected floatprotected booleanFields 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 TypeMethodDescriptionprotected voidprotected void(package private) voidinit(SurfaceGenerator sg) implemented in SurfaceFileReader andprotected voidprotected voidreadSurfaceData(boolean isMapData) protected voidreadSurfaceDataVDR(boolean isMapData) protected booleanreadVolumeData(boolean isMapData) protected booleanreadVolumeParameters(boolean isMapData) protected voidreadVoxelDataIndividually(boolean isMapData) (package private) voidsetup(boolean isMapData) protected voidprotected booleanprotected intsetVoxelRange(int index, float min, float max, float ptsPerAngstrom, int gridMax, float minPointsPerAngstrom) protected voidMethods inherited from class org.jmol.jvxl.readers.SurfaceReader
addTriangleCheck, addVC, addVertexCopy, applyColorScale, colorIsosurface, createIsosurface, discardTempData, 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, setOutputChannel, setVectorAnisotropy, setVertexAnisotropy, setVolumeDataV, setVolumetricAnisotropy, setVolumetricOriginAnisotropy, slabIsosurface, updateSurfaceData, updateTriangles
-
Field Details
-
dataType
protected int dataType -
precalculateVoxelData
protected boolean precalculateVoxelData -
allowMapData
protected boolean allowMapData -
point
protected javajs.util.P3 point -
ptsPerAngstrom
protected float ptsPerAngstrom -
maxGrid
protected int maxGrid -
useOriginStepsPoints
protected boolean useOriginStepsPoints
-
-
Constructor Details
-
VolumeDataReader
VolumeDataReader()
-
-
Method Details
-
init
Description copied from class:SurfaceReaderimplemented in SurfaceFileReader and- Specified by:
initin classSurfaceReader
-
initVDR
-
setup
void setup(boolean isMapData) - Parameters:
isMapData-
-
readVolumeParameters
protected boolean readVolumeParameters(boolean isMapData) - Specified by:
readVolumeParametersin classSurfaceReader
-
readVolumeData
protected boolean readVolumeData(boolean isMapData) - Specified by:
readVolumeDatain classSurfaceReader
-
readVoxelDataIndividually
- Throws:
Exception
-
setVolumeData
protected void setVolumeData() -
setVolumeDataParams
protected boolean setVolumeDataParams() -
showGridInfo
protected void showGridInfo() -
setVoxelRange
protected int setVoxelRange(int index, float min, float max, float ptsPerAngstrom, int gridMax, float minPointsPerAngstrom) - Parameters:
index-min-max-ptsPerAngstrom-gridMax-minPointsPerAngstrom- -- necessary for highly prolate models such a 6ef8- Returns:
- number of grid points total
-
readSurfaceData
- Specified by:
readSurfaceDatain classSurfaceReader- Throws:
Exception
-
readSurfaceDataVDR
- Throws:
Exception
-
generateCube
protected void generateCube() -
closeReader
protected void closeReader()- Specified by:
closeReaderin classSurfaceReader
-