org.xith3d.scenegraph.utils
Class MultiGeometryVertexContainer
java.lang.Object
org.xith3d.scenegraph.utils.MultiGeometryVertexContainer
- All Implemented Interfaces:
- org.openmali.spatial.VertexContainer
public class MultiGeometryVertexContainer
- extends java.lang.Object
- implements org.openmali.spatial.VertexContainer
This class allows for retrieving vertex-information from a set of Geometries
or whole Groups from the SceneGraph.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MultiGeometryVertexContainer
public MultiGeometryVertexContainer(GroupNode group)
MultiGeometryVertexContainer
public MultiGeometryVertexContainer(java.util.List<org.openmali.spatial.VertexContainer> geometries)
getVertexCount
public final int getVertexCount()
-
- Specified by:
getVertexCount in interface org.openmali.spatial.VertexContainer
getVertex
public final boolean getVertex(int index,
org.openmali.vecmath2.Tuple3f vertex)
-
- Specified by:
getVertex in interface org.openmali.spatial.VertexContainer