Xj3D VRML/X3D Code API

org.web3d.vrml.export.compressors
Class J3DIndexedFaceSetDecompressor

java.lang.Object
  extended byorg.web3d.vrml.export.compressors.J3DIndexedFaceSetDecompressor

public class J3DIndexedFaceSetDecompressor
extends java.lang.Object

A node compressor for J3DIndexedFaceSet nodes. Implements the compression method devised by the Java3D team. IPR Warning: This method has patents on it(Sun Microsystems). We are trying to secure a royality free license for X3D implementations.

Version:
$Revision: 1.2 $
Author:
Alan Hudson.

Constructor Summary
J3DIndexedFaceSetDecompressor()
           
 
Method Summary
 boolean canSupport(int nodeNumber, int method)
          Can this NodeCompressor support this compression method
 void decompress(java.io.InputStream dis, BinaryContentHandler ch)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

J3DIndexedFaceSetDecompressor

public J3DIndexedFaceSetDecompressor()
Method Detail

canSupport

public boolean canSupport(int nodeNumber,
                          int method)
Can this NodeCompressor support this compression method

Parameters:
nodeNumber - What node, constant defined by Web3D Consortium
method - What method of compression. 0-127 defined by Web3D Consortium.

decompress

public void decompress(java.io.InputStream dis,
                       BinaryContentHandler ch)
                throws java.io.IOException
Throws:
java.io.IOException

Xj3D VRML/X3D Code API

Copyright © 2001 - 2005 Web3D Consortium