com.sun.j3d.utils.geometry.compression
Class CompressionStream.MeshReference
java.lang.Object
com.sun.j3d.utils.geometry.compression.CompressionStreamElement
com.sun.j3d.utils.geometry.compression.CompressionStream.MeshReference
- Enclosing class:
- CompressionStream
private class CompressionStream.MeshReference
- extends CompressionStreamElement
Stream element that references the mesh buffer.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
stripFlag
int stripFlag
meshIndex
int meshIndex
CompressionStream.MeshReference
CompressionStream.MeshReference(int stripFlag,
int meshIndex)
quantize
void quantize(CompressionStream s,
HuffmanTable t)
- Description copied from class:
CompressionStreamElement
- Computes the quantized representation of this stream element.
- Specified by:
quantize
in class CompressionStreamElement
- Parameters:
s
- CompressionStream associated with this elementt
- HuffmanTable for collecting data about the quantized
representation of this element
outputCommand
void outputCommand(HuffmanTable t,
CommandStream outputBuffer)
- Description copied from class:
CompressionStreamElement
- Outputs the compressed bits representing this stream element.
Some instances of CompressionStreamElement don't require an
implementation and will inherit the stub provided here.
- Overrides:
outputCommand
in class CompressionStreamElement
- Parameters:
t
- HuffmanTable mapping quantized representations to
compressed encodingsoutputBuffer
- CommandStream for collecting compressed output
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
Copyright 1996-2008 Sun Microsystems, Inc. All Rights Reserved. Use is subject to license terms.