com.tirix.anim8or
Class Anim8orLoaderDemo
java.lang.Object
com.tirix.anim8or.Anim8orLoaderDemo
public class Anim8orLoaderDemo
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Anim8orLoaderDemo
public Anim8orLoaderDemo()
Anim8orLoaderDemo
public Anim8orLoaderDemo(boolean spin,
boolean noTriangulate,
boolean noStripify,
double creaseAngle)
loadScene
public static Anim8orRepository loadScene(String filename)
setupLogging
public static void setupLogging()
setupLights
public static void setupLights(BranchGroup objRoot)
createSceneGroup
public static Anim8orLoaderDemo.NameSwitch createSceneGroup(Anim8orRepository scene)
- Creates a group capable of showing alternatively the different
objects or figures stored in an Anim8orScene.
The object or figure initially shown is the first one found.
- Parameters:
scene -
- Returns:
- the Group corresponding to the given Anim8orScene
createSceneGraph
public BranchGroup createSceneGraph(Anim8orRepository[] scenes,
Canvas3D canvas,
float scale)
initContainer
public void initContainer(Container container,
Anim8orRepository[] s)
destroy
public void destroy()
parseArgs
public void parseArgs(String[] args)
main
public static void main(String[] args)