All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class berkeley.cs.dmc.tovrml.Main

java.lang.Object
   |
   +----berkeley.cs.dmc.tovrml.Main

public class Main
extends Object
An application class for transforming .dyn files, or dynamic models into VRML and Java.


Constructor Index

 o Main()

Method Index

 o dump(String, DynamicsModel)
Given a model data structure object, create a VRML file describing the geometry and transformations, and a Java file that animates it.
 o main(String[])
The application main function.

Constructors

 o Main
 public Main()

Methods

 o dump
 public static void dump(String basename,
                         DynamicsModel model) throws IOException
Given a model data structure object, create a VRML file describing the geometry and transformations, and a Java file that animates it.

Parameters:
basename - The root file name for the generated files.
model - The object describing the model.
 o main
 public static void main(String args[])
The application main function. This app should be invoked as
 java berkeley.cs.dmc.tovrml.Main 
 
ModelFile should be a .dyn file containing a model description. The extension will be stripped and the base file name used as the root for the VRML and Java files produced by the program. See the documentation for a description of the file format. This routine loads the file, creating a model data structure, and calls dump(). See dump for details on the files generated.


All Packages  Class Hierarchy  This Package  Previous  Next  Index