|
Xj3D VRML/X3D Code API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.web3d.vrml.export.compressors.TestCompressor
| Field Summary | |
protected J3DNodeFactory |
factory
The J3D node factory to get default values from |
protected NRNodeFactory |
nrfactory
The NR node factory |
| Constructor Summary | |
TestCompressor()
|
|
| Method Summary | |
int[] |
compress(VRMLNodeType ifs)
Compress the given geometry. |
void |
decompress(int[] data)
Decompress the data into a geometry. |
void |
fillData(java.lang.String nodeName,
BinaryContentHandler ch)
Fill in the data handled by the compressor. |
java.lang.String |
getEncoderMetadata()
Get any metadata the encoder would like to write to the file. |
boolean |
handleData(java.lang.String nodeName,
java.lang.String fieldName)
Checks whether this compressors handles this data. |
void |
observedNode(VRMLNodeType parent,
VRMLNodeType child,
int field,
boolean used)
Notification of a child node. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected J3DNodeFactory factory
protected NRNodeFactory nrfactory
| Constructor Detail |
public TestCompressor()
| Method Detail |
public int[] compress(VRMLNodeType ifs)
compress in interface NodeCompressorifs - The geometry to compress
public void decompress(int[] data)
decompress in interface NodeCompressordata - The compressed data
public boolean handleData(java.lang.String nodeName,
java.lang.String fieldName)
handleData in interface NodeCompressornodeName - the nodefieldName - the field
public void fillData(java.lang.String nodeName,
BinaryContentHandler ch)
fillData in interface NodeCompressornodeName - The nodeNamepublic java.lang.String getEncoderMetadata()
getEncoderMetadata in interface NodeCompressor
public void observedNode(VRMLNodeType parent,
VRMLNodeType child,
int field,
boolean used)
observedNode in interface SceneGraphTraversalSimpleObserverparent - The parent node of this nodechild - The child node that is being observedfield - The index of the child field in its parent nodeused - true if the node reference is actually a USE
|
Xj3D VRML/X3D Code API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||