Package xj3d.filter.node
Class GeometryConverter
java.lang.Object
xj3d.filter.node.GeometryConverter
Utility class for converting geometry nodes to different representations
- Version:
- $Revision: 1.2 $
- Author:
- Rex Melton
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionConvert the LS to an ILStoITFS(TriangleFanSet tfs) Convert a TFS to an ITFStoITS(IndexedTriangleFanSet itfs) Convert an ITFS to an ITStoITS(IndexedTriangleStripSet itss) Convert an ITSS to an ITStoITS(TriangleSet ts) Convert a TS to an ITStoITSS(TriangleStripSet tss) Convert a TSS to an ITSS
-
Constructor Details
-
GeometryConverter
Constructor- Parameters:
factory- The node wrapper factory
-
-
Method Details
-
toITS
Convert an ITFS to an ITS- Parameters:
itfs- The IndexedTriangleFanSet to convert- Returns:
- The cooresponding IndexedTriangleSet
-
toITS
Convert an ITSS to an ITS- Parameters:
itss- The IndexedTriangleStripSet to convert- Returns:
- The cooresponding IndexedTriangleSet
-
toITS
Convert a TS to an ITS- Parameters:
ts- The TriangleSet to convert- Returns:
- The cooresponding IndexedTriangleSet
-
toITSS
Convert a TSS to an ITSS- Parameters:
tss- The TriangleStripSet to convert- Returns:
- The cooresponding IndexedTriangleStripSet
-
toITFS
Convert a TFS to an ITFS- Parameters:
tfs- The TriangleFanSet to convert- Returns:
- The cooresponding IndexedTriangleFanSet
-
toILS
Convert the LS to an ILS- Parameters:
ls- The LineSet to convert- Returns:
- The cooresponding IndexedLineSet
-