org.xith3d.scenegraph.utils
Class MultiGeometryVertexContainer

java.lang.Object
  extended by 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.


Constructor Summary
MultiGeometryVertexContainer(GroupNode group)
           
MultiGeometryVertexContainer(java.util.List<org.openmali.spatial.VertexContainer> geometries)
           
 
Method Summary
 boolean getVertex(int index, org.openmali.vecmath2.Tuple3f vertex)
          
 int getVertexCount()
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MultiGeometryVertexContainer

public MultiGeometryVertexContainer(GroupNode group)

MultiGeometryVertexContainer

public MultiGeometryVertexContainer(java.util.List<org.openmali.spatial.VertexContainer> geometries)
Method Detail

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