Package xj3d.filter

Class IFSToTSFilter

java.lang.Object
xj3d.filter.AbstractFilter
xj3d.filter.IFSToTSFilter
All Implemented Interfaces:
BinaryContentHandler, ContentHandler, ProtoHandler, RouteHandler, ScriptHandler, StringContentHandler

public class IFSToTSFilter extends AbstractFilter
Converts a IndexedFaceSet to a TriangleSet.

Right now this code assumes the IFS is all triangles. Later versions will actually triangulate the code for you. Must have trailing -1 on coordIndex Doesn't handle USE coordinates. NOTE: Doesn't convert if the incoming content is binary

Version:
$Revision: 1.10 $
Author:
Alan Hudson