Package org.jmol.jvxl.readers
Class SurfaceFileReader
java.lang.Object
org.jmol.jvxl.readers.SurfaceReader
org.jmol.jvxl.readers.SurfaceFileReader
- All Implemented Interfaces:
VertexDataServer
- Direct Known Subclasses:
PolygonFileReader,VolumeFileReader
PolygonFileReader or VolumeFileReader
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected javajs.api.GenericBinaryDocumentprotected BufferedReaderprotected Stringprotected int[]protected javajs.util.OCFields 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) voiddiscardTempData(boolean discardAll) protected Stringprotected String[](package private) voidinit(SurfaceGenerator sg) implemented in SurfaceFileReader and(package private) voidinit2(SurfaceGenerator sg, BufferedReader br) (package private) voidinit2SFR(SurfaceGenerator sg, BufferedReader br) (package private) javajs.api.GenericBinaryDocumentprotected floatprotected float[]parseFloatArray(float[] a, String strStart, String strEnd) protected float[]protected floatparseFloatRange(String s, int iStart, int iEnd) protected floatprotected intparseInt()protected intprotected intprotected Stringrd()protected voidsetOutputChannel(javajs.util.OC out) protected voidprotected voidMethods 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, readSurfaceData, readVolumeData, readVolumeParameters, resetIsosurface, selectPocket, setBBox, setVectorAnisotropy, setVertexAnisotropy, setVolumeDataV, setVolumetricAnisotropy, setVolumetricOriginAnisotropy, slabIsosurface, updateSurfaceData, updateTriangles
-
Field Details
-
br
-
binarydoc
protected javajs.api.GenericBinaryDocument binarydoc -
out
protected javajs.util.OC out -
line
-
next
protected int[] next
-
-
Constructor Details
-
SurfaceFileReader
SurfaceFileReader()
-
-
Method Details
-
setStream
-
init
Description copied from class:SurfaceReaderimplemented in SurfaceFileReader and- Specified by:
initin classSurfaceReader
-
init2
-
init2SFR
-
newBinaryDocument
javajs.api.GenericBinaryDocument newBinaryDocument() -
setOutputChannel
protected void setOutputChannel(javajs.util.OC out) - Overrides:
setOutputChannelin classSurfaceReader
-
closeReader
protected void closeReader()- Specified by:
closeReaderin classSurfaceReader
-
closeReaderSFR
protected void closeReaderSFR() -
discardTempData
void discardTempData(boolean discardAll) - Overrides:
discardTempDatain classSurfaceReader
-
getTokens
-
parseFloat
protected float parseFloat() -
parseFloatStr
-
parseFloatRange
-
parseInt
protected int parseInt() -
parseIntStr
-
parseIntNext
-
parseFloatArrayStr
-
parseFloatArray
-
getQuotedStringNext
-
skipTo
- Throws:
Exception
-
rd
- Throws:
Exception
-