public class CompressedGeometryState extends GeometryState
| Modifier and Type | Field and Description |
|---|---|
private byte[] |
bytes |
private CompressedGeometryHeader |
header |
private boolean |
isByReference |
control, node, nodeClassName, symbol| Constructor and Description |
|---|
CompressedGeometryState(SymbolTableData symbol,
Controller control) |
| Modifier and Type | Method and Description |
|---|---|
protected SceneGraphObject |
createNode()
Create a new Java3D node for this object.
|
SceneGraphObject |
createNode(java.lang.Class j3dClass)
Create a new Java3D node from the supplied class using the parameterless constructor
For Java3D nodes which do not have a default constructor you must
overload this method and create the object using createNode( className, parameters )
This will correctly handle subclasses of Java3D classes
|
private void |
readCompressedGeometryHeader(java.io.DataInput in) |
void |
readConstructorParams(java.io.DataInput in)
Read the parameters required for the constructor of the Java3D object
|
private void |
writeCompressedGeometryHeader(java.io.DataOutput out) |
void |
writeConstructorParams(java.io.DataOutput out)
Write the parameters required for the constructor of the Java3D object
|
addSubReference, readObject, writeObjectbuildGraph, cleanup, createNode, createNode, createState, getNode, getNodeID, getSymbol, readString, writeStringprivate byte[] bytes
private boolean isByReference
private CompressedGeometryHeader header
public CompressedGeometryState(SymbolTableData symbol, Controller control)
public void writeConstructorParams(java.io.DataOutput out)
throws java.io.IOException
SceneGraphObjectStatewriteConstructorParams in class SceneGraphObjectStatejava.io.IOExceptionpublic void readConstructorParams(java.io.DataInput in)
throws java.io.IOException
SceneGraphObjectStatereadConstructorParams in class SceneGraphObjectStatejava.io.IOExceptionprivate void writeCompressedGeometryHeader(java.io.DataOutput out)
throws java.io.IOException
java.io.IOExceptionprivate void readCompressedGeometryHeader(java.io.DataInput in)
throws java.io.IOException
java.io.IOExceptionpublic SceneGraphObject createNode(java.lang.Class j3dClass)
SceneGraphObjectStatecreateNode in class SceneGraphObjectStateprotected SceneGraphObject createNode()
SceneGraphObjectStatecreateNode in class SceneGraphObjectStateCopyright 1996-2008 Sun Microsystems, Inc. All Rights Reserved. Use is subject to license terms.