org.jagatoo.loaders.models.obj
Class OBJFaceList

java.lang.Object
  extended by org.jagatoo.loaders.models.obj.OBJFaceList
Direct Known Subclasses:
OBJGroup

public class OBJFaceList
extends java.lang.Object

A list of the faces that build up the obj file


Constructor Summary
OBJFaceList(java.util.List<float[]> verts, java.util.List<float[]> normals, java.util.List<float[]> texs)
           
 
Method Summary
 void add(java.lang.String line, OBJMaterial mat)
           
 java.util.List<OBJFace> getFaces()
           
 java.util.List<float[]> getNormalList()
           
 java.util.List<float[]> getTexList()
           
 java.util.List<float[]> getVertexList()
           
 boolean normalsSupported()
           
 boolean normalsUsed()
           
 void setFaces(java.util.List<OBJFace> faces)
           
 void setNormalsUsed(boolean used)
           
 void setTexturesUsed(boolean used)
           
 boolean texturesSupported()
           
 boolean texturesUsed()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OBJFaceList

public OBJFaceList(java.util.List<float[]> verts,
                   java.util.List<float[]> normals,
                   java.util.List<float[]> texs)
Method Detail

setFaces

public void setFaces(java.util.List<OBJFace> faces)

getFaces

public java.util.List<OBJFace> getFaces()

getVertexList

public java.util.List<float[]> getVertexList()

getNormalList

public java.util.List<float[]> getNormalList()

getTexList

public java.util.List<float[]> getTexList()

setNormalsUsed

public void setNormalsUsed(boolean used)

normalsUsed

public boolean normalsUsed()

normalsSupported

public boolean normalsSupported()

setTexturesUsed

public void setTexturesUsed(boolean used)

texturesUsed

public boolean texturesUsed()

texturesSupported

public boolean texturesSupported()

add

public void add(java.lang.String line,
                OBJMaterial mat)