net.java.joglutils.ThreeDS
Class Model3DS

java.lang.Object
  extended by net.java.joglutils.ThreeDS.Model3DS
Direct Known Subclasses:
MyModel

public class Model3DS
extends Object


Field Summary
protected  Loader3DS loader
           
protected  Vector<Material> materials
           
protected  Vector<Obj> objects
           
 
Constructor Summary
Model3DS()
           
 
Method Summary
 void addMaterial(Material mat)
           
 void addObject(Obj obj)
           
 Material getMaterial(int index)
           
 int getNumberOfMaterials()
           
 int getNumberOfObjects()
           
 Obj getObject(int index)
           
 boolean load(String file)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

loader

protected Loader3DS loader

materials

protected Vector<Material> materials

objects

protected Vector<Obj> objects
Constructor Detail

Model3DS

public Model3DS()
Method Detail

load

public boolean load(String file)

addMaterial

public void addMaterial(Material mat)

addObject

public void addObject(Obj obj)

getMaterial

public Material getMaterial(int index)

getObject

public Obj getObject(int index)

getNumberOfObjects

public int getNumberOfObjects()

getNumberOfMaterials

public int getNumberOfMaterials()