|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.j3d.utils.compression.GeometryCompressor
GeometryCompressor
.
public class GeometryCompressor
A GeometryCompressor takes a stream of geometric elements and quantization parameters (the CompressionStream object) and compresses it into a stream of commands as defined by appendix B of the Java 3D specification. The resulting data may be output in the form of a CompressedGeometry node component or appended to a CompressedGeometryFile.
CompressionStream
,
CompressedGeometry
,
CompressedGeometryFile
Constructor Summary | |
---|---|
GeometryCompressor()
Deprecated. |
Method Summary | |
---|---|
CompressedGeometry |
compress(CompressionStream stream)
Deprecated. Compress a stream into a CompressedGeometry node component. |
void |
compress(CompressionStream stream,
CompressedGeometryFile f)
Deprecated. Compress a stream and append the output to a CompressedGeometryFile. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GeometryCompressor()
Method Detail |
---|
public CompressedGeometry compress(CompressionStream stream)
stream
- CompressionStream containing the geometry to be compressed
public void compress(CompressionStream stream, CompressedGeometryFile f) throws java.io.IOException
stream
- CompressionStream containing the geometry to be compressedf
- a currently open CompressedGeometryFile with write access
java.io.IOException
- if write fails
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |