|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ObjTarget
Interface for all classes that may receive the data that is read from an OBJ file.
Method Summary | |
---|---|
void |
addFace(ObjFace face)
Add the given face to this ObjTarget |
void |
addGroup(ObjGroup group)
Add the given group to this ObjTarget |
void |
addMaterialGroup(ObjGroup group)
Add the given material group to this ObjTarget |
void |
addNormal(FloatTuple normal)
Add the given normal to this ObjTarget |
void |
addTexCoord(FloatTuple texCoord)
Add the given texture coordinate to this ObjTarget |
void |
addVertex(FloatTuple vertex)
Add the given vertex to this ObjTarget |
void |
setMtlFileName(String mtlFileName)
Set the given MTL file name that was read from the 'mtllib' line of the OBJ file. |
Method Detail |
---|
void addVertex(FloatTuple vertex)
vertex
- The vertex to add.void addTexCoord(FloatTuple texCoord)
texCoord
- The texture coordinate to add.void addNormal(FloatTuple normal)
normal
- The normal to add.void addFace(ObjFace face)
face
- The face to add.void addGroup(ObjGroup group)
group
- The group to add.void addMaterialGroup(ObjGroup group)
group
- The material group to add.void setMtlFileName(String mtlFileName)
mtlFileName
- The name of the MTL file
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |