com.ptc.wvs.server.thumbnail.j3d
Class OL6FileReader
java.lang.Object
com.ptc.wvs.server.thumbnail.j3d.OLFileReader
com.ptc.wvs.server.thumbnail.j3d.OL6FileReader
- public class OL6FileReader
- extends OLFileReader
Fields inherited from class com.ptc.wvs.server.thumbnail.j3d.OLFileReader |
appearanceCache, bi, BLACK, debug, extFile, file, overrideColor, PA_DOUBLE, PA_SINGLE, scene, SHININESS, WHITE |
Methods inherited from class com.ptc.wvs.server.thumbnail.j3d.OLFileReader |
bi_peek1, bi_peek4, bi_peekf, bi_read, bi_read1, bi_read4, bi_read4, bi_readf, bi_readf, bi_skip, createAppearance, createShape, decompressDeflateBuffer, decompressGZIPFile, getOLFileReader, getScene, readFile, resetReadBuffer, setDebug, setOverrideColor, setReadBuffer, updateExtentsFromXYZ |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
dol6TOKEN_END
private static final int dol6TOKEN_END
- See Also:
- Constant Field Values
dol6TOKEN_HEADER
private static final int dol6TOKEN_HEADER
- See Also:
- Constant Field Values
dol6TOKEN_SECTION
private static final int dol6TOKEN_SECTION
- See Also:
- Constant Field Values
dol6TOKEN_ATTRIBUTE
private static final int dol6TOKEN_ATTRIBUTE
- See Also:
- Constant Field Values
dol6TOKEN_ATTRIBUTEVISIBILITY
private static final int dol6TOKEN_ATTRIBUTEVISIBILITY
- See Also:
- Constant Field Values
dol6TOKEN_MATERIAL
private static final int dol6TOKEN_MATERIAL
- See Also:
- Constant Field Values
dol6TOKEN_TEXTURE
private static final int dol6TOKEN_TEXTURE
- See Also:
- Constant Field Values
dol6TOKEN_APPEARANCE
private static final int dol6TOKEN_APPEARANCE
- See Also:
- Constant Field Values
dol6TOKEN_BODY
private static final int dol6TOKEN_BODY
- See Also:
- Constant Field Values
dol6TOKEN_MASSPROPERTY
private static final int dol6TOKEN_MASSPROPERTY
- See Also:
- Constant Field Values
dol6TOKEN_ATTRIBUTEUSE
private static final int dol6TOKEN_ATTRIBUTEUSE
- See Also:
- Constant Field Values
dol6TOKEN_REGION
private static final int dol6TOKEN_REGION
- See Also:
- Constant Field Values
dol6TOKEN_SHELL
private static final int dol6TOKEN_SHELL
- See Also:
- Constant Field Values
dol6TOKEN_FACE
private static final int dol6TOKEN_FACE
- See Also:
- Constant Field Values
dol6TOKEN_CURVELIST
private static final int dol6TOKEN_CURVELIST
- See Also:
- Constant Field Values
dol6TOKEN_POLYFORM
private static final int dol6TOKEN_POLYFORM
- See Also:
- Constant Field Values
dol6TOKEN_LOD
private static final int dol6TOKEN_LOD
- See Also:
- Constant Field Values
dol6TOKEN_MESH
private static final int dol6TOKEN_MESH
- See Also:
- Constant Field Values
dol6TOKEN_TRIFAN
private static final int dol6TOKEN_TRIFAN
- See Also:
- Constant Field Values
dol6TOKEN_TRISTRIP
private static final int dol6TOKEN_TRISTRIP
- See Also:
- Constant Field Values
dol6TOKEN_TRIANGLE
private static final int dol6TOKEN_TRIANGLE
- See Also:
- Constant Field Values
dol6TOKEN_POLYLINE
private static final int dol6TOKEN_POLYLINE
- See Also:
- Constant Field Values
dol6TOKEN_LINE
private static final int dol6TOKEN_LINE
- See Also:
- Constant Field Values
dol6TOKEN_NOTE
private static final int dol6TOKEN_NOTE
- See Also:
- Constant Field Values
dol6TOKEN_DIMENSION
private static final int dol6TOKEN_DIMENSION
- See Also:
- Constant Field Values
dol6TOKEN_TOLERANCE
private static final int dol6TOKEN_TOLERANCE
- See Also:
- Constant Field Values
dol6TOKEN_SURFACEFINISH
private static final int dol6TOKEN_SURFACEFINISH
- See Also:
- Constant Field Values
dol6TOKEN_DATUMFACELABEL
private static final int dol6TOKEN_DATUMFACELABEL
- See Also:
- Constant Field Values
dol6TOKEN_DATUMCURVELABEL
private static final int dol6TOKEN_DATUMCURVELABEL
- See Also:
- Constant Field Values
dol6TOKEN_LEADERLINE
private static final int dol6TOKEN_LEADERLINE
- See Also:
- Constant Field Values
dol6SECTION_NUMBER
private static final int dol6SECTION_NUMBER
- See Also:
- Constant Field Values
dol6SECTION_FLAG_COMPRESSED
private static final int dol6SECTION_FLAG_COMPRESSED
- See Also:
- Constant Field Values
dol6TOKEN_NUMBER
private static final int dol6TOKEN_NUMBER
- See Also:
- Constant Field Values
dol6TOKEN_FLAG_GOTEND
private static final int dol6TOKEN_FLAG_GOTEND
- See Also:
- Constant Field Values
dol6INDEX_DEFAULT
private static final int dol6INDEX_DEFAULT
- See Also:
- Constant Field Values
dol6WIREFRAME_MATERIAL_INDEX
private static final int dol6WIREFRAME_MATERIAL_INDEX
- See Also:
- Constant Field Values
VERT_NORMAL
private static final int VERT_NORMAL
- See Also:
- Constant Field Values
VERT_COLOR
private static final int VERT_COLOR
- See Also:
- Constant Field Values
VERT_TEXTURE
private static final int VERT_TEXTURE
- See Also:
- Constant Field Values
VERTEX_WITH_NORMALS
private static final int VERTEX_WITH_NORMALS
VERTEX_NO_NORMALS
private static final int VERTEX_NO_NORMALS
NULL_APPEARANCE
private static final int NULL_APPEARANCE
- See Also:
- Constant Field Values
DEFAULT_MATERIAL
private static Material DEFAULT_MATERIAL
DEFAULT_COLORING
private static ColoringAttributes DEFAULT_COLORING
DEFAULT_SINGLE_APPEARANCE
private static Appearance DEFAULT_SINGLE_APPEARANCE
DEFAULT_DOUBLE_APPEARANCE
private static Appearance DEFAULT_DOUBLE_APPEARANCE
sectionNumbers
private int[] sectionNumbers
sectionOffsets
private int[] sectionOffsets
sectionCompress
private boolean[] sectionCompress
endCount
private int endCount
regionGroups
private Hashtable regionGroups
bodyGroups
private List bodyGroups
materials
private List materials
coloring
private List coloring
appearances
private List appearances
vertexList
private float[] vertexList
normalList
private float[] normalList
indices
private int[] indices
temp_ind
private int[] temp_ind
vertexCount
private int[] vertexCount
currentVertexType
private int currentVertexType
currentNormalsAvailable
private boolean currentNormalsAvailable
currentGroup
private Group currentGroup
currentRegionDoubleSided
private boolean currentRegionDoubleSided
currentRegionDatum
private boolean currentRegionDatum
attributeCount
private int attributeCount
layerAttributeNumber
private int layerAttributeNumber
layerValues
private List layerValues
currentPolygonShape
private Shape3D currentPolygonShape
currentAppearanceIndex
private int currentAppearanceIndex
fanIndicesCount
private int fanIndicesCount
fanIndices
private List fanIndices
stripIndicesCount
private int stripIndicesCount
stripIndices
private List stripIndices
triaIndicesCount
private int triaIndicesCount
triaIndices
private List triaIndices
tsa
private IndexedTriangleStripArray tsa
tfa
private IndexedTriangleFanArray tfa
ta
private IndexedTriangleArray ta
override_Material
private Material override_Material
override_Coloring
private ColoringAttributes override_Coloring
override_Single_Appearance
private Appearance override_Single_Appearance
override_Double_Appearance
private Appearance override_Double_Appearance
OL6FileReader
public OL6FileReader(boolean debugFlag,
PrintWriter extFile,
File file,
InputStream bi,
boolean byteSwap)
read
protected boolean read()
throws Exception
- Specified by:
read
in class OLFileReader
- Throws:
Exception
readHeader
private boolean readHeader()
throws Exception
- Throws:
Exception
readSection0
private boolean readSection0()
throws Exception
- Throws:
Exception
readSection1
private boolean readSection1()
throws Exception
- Throws:
Exception
readToken
private int readToken()
throws Exception
- Throws:
Exception
readStartSection
private boolean readStartSection(int sNumber)
throws Exception
- Throws:
Exception
addGroupsToScene
private void addGroupsToScene()
throws Exception
- Throws:
Exception
readSkipObject
private void readSkipObject()
throws Exception
- Throws:
Exception
readAttribute
private boolean readAttribute()
throws Exception
- Throws:
Exception
readAttributeVisibility
private boolean readAttributeVisibility()
throws Exception
- Throws:
Exception
readAttributeUse
private boolean readAttributeUse()
throws Exception
- Throws:
Exception
readMaterial
private boolean readMaterial()
throws Exception
- Throws:
Exception
readAppearance
private boolean readAppearance()
throws Exception
- Throws:
Exception
getAppearance
private Appearance getAppearance(int appearanceIndex,
boolean doubleSided)
readBody
private void readBody()
throws Exception
- Throws:
Exception
readRegion
private void readRegion(int regionCount)
throws Exception
- Throws:
Exception
readShell
private void readShell()
throws Exception
- Throws:
Exception
readFace
private void readFace()
throws Exception
- Throws:
Exception
readCurveList
private void readCurveList()
throws Exception
- Throws:
Exception
readPolyform
private void readPolyform()
throws Exception
- Throws:
Exception
readLOD
private boolean readLOD()
throws Exception
- Throws:
Exception
readSkipPolyformData
private void readSkipPolyformData()
throws Exception
- Throws:
Exception
readMesh
private void readMesh()
throws Exception
- Throws:
Exception
readTrifan
private void readTrifan()
throws Exception
- Throws:
Exception
readTristrip
private void readTristrip()
throws Exception
- Throws:
Exception
readTriangle
private void readTriangle()
throws Exception
- Throws:
Exception
compareAppearance
private void compareAppearance(int ind)
endCurrentGeometry
private void endCurrentGeometry()