org.jagatoo.loaders.models.obj
Class OBJGroup

java.lang.Object
  extended by org.jagatoo.loaders.models.obj.OBJFaceList
      extended by org.jagatoo.loaders.models.obj.OBJGroup

public class OBJGroup
extends OBJFaceList

A single group within the model


Constructor Summary
OBJGroup(java.lang.String name, java.util.List<float[]> verts, java.util.List<float[]> normals, java.util.List<float[]> texs)
           
 
Method Summary
 void addChild(OBJGroup group)
           
static OBJGroup createTopGroup(java.util.List<float[]> verts, java.util.List<float[]> normals, java.util.List<float[]> texs)
           
 java.util.List<OBJGroup> getChildren()
           
 java.lang.String getName()
           
 boolean hasName()
           
 boolean isTopGroup()
           
 void setName(java.lang.String name)
           
 
Methods inherited from class org.jagatoo.loaders.models.obj.OBJFaceList
add, getFaces, getNormalList, getTexList, getVertexList, normalsSupported, normalsUsed, setFaces, setNormalsUsed, setTexturesUsed, texturesSupported, texturesUsed
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OBJGroup

public OBJGroup(java.lang.String name,
                java.util.List<float[]> verts,
                java.util.List<float[]> normals,
                java.util.List<float[]> texs)
Method Detail

setName

public void setName(java.lang.String name)

getName

public java.lang.String getName()

hasName

public boolean hasName()

isTopGroup

public boolean isTopGroup()

addChild

public void addChild(OBJGroup group)

getChildren

public java.util.List<OBJGroup> getChildren()

createTopGroup

public static OBJGroup createTopGroup(java.util.List<float[]> verts,
                                      java.util.List<float[]> normals,
                                      java.util.List<float[]> texs)