| java.lang.Object com.sun.j3d.utils.geometry.compression.GeometryDecompressor com.sun.j3d.utils.geometry.compression.GeometryDecompressorShape3D
GeometryDecompressorShape3D | class GeometryDecompressorShape3D extends GeometryDecompressor (Code) | | This class implements a Shape3D backend for the abstract
GeometryDecompressor.
|
outputColor | void outputColor(Color4f color)(Code) | | Create a Shape3D using the current color for both the ambient and
diffuse material colors, then start a new vertex list for the new
color. The outputColor() method is never called if colors are bundled
with each vertex in the compressed buffer.
|
outputNormal | void outputNormal(Vector3f normal)(Code) | | Set the current normal that will be copied to each succeeding vertex
output by the decompressor. The per-vertex copy is needed since in
Java 3D a normal is always associated with a vertex. This method is
never called if normals are bundled with each vertex in the compressed
buffer.
|
outputVertex | void outputVertex(Point3f position, Vector3f normal, Color4f color, int vertexReplaceCode)(Code) | | Add a new decompressed vertex to the current list.
|
outputVertexFormat | void outputVertexFormat(boolean bundlingNorm, boolean bundlingColor, boolean doingAlpha)(Code) | | Initialize the vertex output list based on the vertex format provided
by the SetState decompression command.
|
toStripAndFanArrays | Shape3D[] toStripAndFanArrays(CompressedGeometryRetained cgr)(Code) | | Decompress the given compressed geometry.
Parameters: cgr - CompressedGeometryRetained object with compressed geometry an array of Shape3D with TriangleStripArray andTriangleFanArray geometry if compressed data contains triangles;otherwise, Shape3D array containing PointArray or LineStripArraygeometry See Also: CompressedGeometry See Also: GeometryDecompressor |
toStripAndTriangleArrays | Shape3D[] toStripAndTriangleArrays(CompressedGeometryRetained cgr)(Code) | | Decompress the given compressed geometry.
Parameters: cgr - CompressedGeometryRetained object with compressed geometry an array of Shape3D with TriangleStripArray andTriangleArray geometry if compressed data contains triangles;otherwise, Shape3D array containing PointArray or LineStripArraygeometry See Also: CompressedGeometry See Also: GeometryDecompressor |
toTriangleArrays | Shape3D[] toTriangleArrays(CompressedGeometryRetained cgr)(Code) | | Decompress the given compressed geometry.
Parameters: cgr - CompressedGeometryRetained object with compressed geometry an array of Shape3D with TriangleArray geometry if compresseddata contains triangles; otherwise, Shape3D array containing PointArrayor LineStripArray geometry See Also: CompressedGeometry See Also: GeometryDecompressor |
toTriangleStripArrays | Shape3D[] toTriangleStripArrays(CompressedGeometryRetained cgr)(Code) | | Decompress the given compressed geometry.
Parameters: cgr - CompressedGeometryRetained object with compressed geometry an array of Shape3D with TriangleStripArray geometry ifcompressed data contains triangles; otherwise, Shape3D array containingPointArray or LineStripArray geometry See Also: CompressedGeometry See Also: GeometryDecompressor |
Methods inherited from com.sun.j3d.utils.geometry.compression.GeometryDecompressor | boolean checkVersion(int majorVersionNumber, int minorVersionNumber)(Code)(Java Doc) void decompress(int start, int length, byte data)(Code)(Java Doc) abstract void outputColor(Color4f color)(Code)(Java Doc) abstract void outputNormal(Vector3f normal)(Code)(Java Doc) abstract void outputVertex(Point3f position, Vector3f normal, Color4f color, int vertexReplaceCode)(Code)(Java Doc) abstract void outputVertexFormat(boolean bundlingNorm, boolean bundlingColor, boolean doingAlpha)(Code)(Java Doc)
|
|
|