Package org.jmol.jvxl.readers
Class KinemageReader
java.lang.Object
org.jmol.jvxl.readers.SurfaceReader
org.jmol.jvxl.readers.SurfaceFileReader
org.jmol.jvxl.readers.PolygonFileReader
org.jmol.jvxl.readers.PmeshReader
org.jmol.jvxl.readers.KinemageReader
- All Implemented Interfaces:
VertexDataServer
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Stringprivate Stringprivate intprivate static final intprivate static final intprivate static final intprivate static final intprivate static final intprivate intprivate floatprivate floatFields inherited from class org.jmol.jvxl.readers.PmeshReader
fixedCount, isClosedFace, iToken, nPolygons, onePerLine, pmeshError, tokens, type, vertexBase, vertexMapFields inherited from class org.jmol.jvxl.readers.PolygonFileReader
nTriangles, nVerticesFields 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 floatC++ code gives these as " value > x.x ? "xxxxx", etc.private intprivate int(package private) voidinit2(SurfaceGenerator sg, BufferedReader br) private voidreadDots()protected booleanprivate voidprotected booleanprotected booleanreadVolumeParameters(boolean isMapData) Methods inherited from class org.jmol.jvxl.readers.PmeshReader
checkBinary, getSurfaceData, init2PR, readBinaryHeader, readPolygonsPM, readVerticesAndPolygons, readVerticesPM, setHeaderMethods inherited from class org.jmol.jvxl.readers.PolygonFileReader
init2PFR, readSurfaceData, readVolumeDataMethods inherited from class org.jmol.jvxl.readers.SurfaceFileReader
closeReader, 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, getPlane, getPlaneSR, getSPF, getSurfaceAtomIndex, getSurfacePointAndFraction, getSurfacePointIndexAndFraction, getValue, getValue2, getValueAtPoint, gotoAndReadVoxelData, gotoData, initializeMapping, initializeVolumetricData, initPlanes, initSR, jvxlUpdateInfo, newVoxelDataCube, postProcessVertices, readAndSetVolumeParameters, readColorData, resetIsosurface, selectPocket, setBBox, setVectorAnisotropy, setVertexAnisotropy, setVolumeDataV, setVolumetricAnisotropy, setVolumetricOriginAnisotropy, slabIsosurface, updateSurfaceData, updateTriangles
-
Field Details
-
POINTS_ALL
private static final int POINTS_ALL- See Also:
-
POINTS_MCMC
private static final int POINTS_MCMC- See Also:
-
POINTS_SCSC
private static final int POINTS_SCSC- See Also:
-
POINTS_MCSC
private static final int POINTS_MCSC- See Also:
-
POINTS_HETS
private static final int POINTS_HETS- See Also:
-
nDots
private int nDots -
vMin
private float vMin -
vMax
private float vMax -
pointType
private int pointType -
findString
-
lastAtom
-
-
Constructor Details
-
KinemageReader
KinemageReader()
-
-
Method Details
-
init2
- Overrides:
init2in classPmeshReader
-
readVolumeParameters
protected boolean readVolumeParameters(boolean isMapData) - Overrides:
readVolumeParametersin classPolygonFileReader
-
readVertices
- Overrides:
readVerticesin classPmeshReader- Throws:
Exception
-
readDots
- Throws:
Exception
-
readVectors
- Throws:
Exception
-
getPoint
-
getColor
-
assignValueFromGapColorForKin
C++ code gives these as " value > x.x ? "xxxxx", etc. so technically we are off by a smidgeon. But they are the reference numbers, so we will use them inclusively instead.- Parameters:
color-- Returns:
- value or NaN if outsided desired range
-
readPolygons
protected boolean readPolygons()- Overrides:
readPolygonsin classPmeshReader
-