| java.lang.Object com.sun.j3d.utils.compression.CompressionStreamElement com.sun.j3d.utils.compression.CompressionStreamVertex
CompressionStreamVertex | class CompressionStreamVertex extends CompressionStreamElement (Code) | | This class represents a vertex in a compression stream. It maintains both
floating-point and quantized representations of the vertex position along
with meshing and vertex replacement flags for line and surface
primitives. If normals or colors are bundled with geometry vertices then
instances of this class will also contain references to normal or color
stream elements.
|
Constructor Summary | |
| CompressionStreamVertex(CompressionStream stream, Point3f p, Vector3f n, Color3f c, int stripFlag, int meshFlag) Create a CompressionStreamVertex with the given parameters. | | CompressionStreamVertex(CompressionStream stream, Point3f p, Vector3f n, Color4f c, int stripFlag, int meshFlag) Create a CompressionStreamVertex with the given parameters. | | CompressionStreamVertex(CompressionStream stream, Point3f p, Vector3f n, int stripFlag, int meshFlag) Create a CompressionStreamVertex with the given parameters. |
xAbsoluteyAbsolutezAbsolute | int xAbsoluteyAbsolutezAbsolute(Code) | | |
CompressionStreamVertex | CompressionStreamVertex(CompressionStream stream, Point3f p, Vector3f n, Color3f c, int stripFlag, int meshFlag)(Code) | | Create a CompressionStreamVertex with the given parameters.
Parameters: stream - CompressionStream associated with this vertex Parameters: p - position Parameters: n - normal bundled with this vertex or null if not bundled Parameters: c - color bundled with this vertex or null if not bundled Parameters: stripFlag - CompressionStream.RESTART,CompressionStream.REPLACE_OLDEST, or CompressionStream.REPLACE_MIDDLE Parameters: meshFlag - CompressionStream.MESH_PUSH orCompressionStream.NO_MESH_PUSH |
CompressionStreamVertex | CompressionStreamVertex(CompressionStream stream, Point3f p, Vector3f n, Color4f c, int stripFlag, int meshFlag)(Code) | | Create a CompressionStreamVertex with the given parameters.
Parameters: stream - CompressionStream associated with this vertex Parameters: p - position Parameters: n - normal bundled with this vertex or null if not bundled Parameters: c - color bundled with this vertex or null if not bundled Parameters: stripFlag - CompressionStream.RESTART,CompressionStream.REPLACE_OLDEST, or CompressionStream.REPLACE_MIDDLE Parameters: meshFlag - CompressionStream.MESH_PUSH orCompressionStream.NO_MESH_PUSH |
CompressionStreamVertex | CompressionStreamVertex(CompressionStream stream, Point3f p, Vector3f n, int stripFlag, int meshFlag)(Code) | | Create a CompressionStreamVertex with the given parameters.
Parameters: stream - CompressionStream associated with this vertex Parameters: p - position Parameters: n - normal bundled with this vertex or null if not bundled Parameters: stripFlag - CompressionStream.RESTART,CompressionStream.REPLACE_OLDEST, or CompressionStream.REPLACE_MIDDLE Parameters: meshFlag - CompressionStream.MESH_PUSH orCompressionStream.NO_MESH_PUSH |
outputCommand | void outputCommand(HuffmanTable huffmanTable, CommandStream outputBuffer)(Code) | | Output the final compressed bits to the compression command stream.
Parameters: table - HuffmanTable mapping quantized representations tocompressed encodings Parameters: output - CommandStream for collecting compressed output |
quantize | void quantize(CompressionStream stream, HuffmanTable huffmanTable)(Code) | | Quantize the floating point position to fixed point integer components
of the specified number of bits. The bit length can range from 1 to 16.
Parameters: stream - CompressionStream associated with this element Parameters: table - HuffmanTable for collecting data about the quantizedrepresentation of this element |
|
|