Logo Search packages:      
Sourcecode: java3ds-fileloader version File versions  Download package

com::microcrowd::loader::java3d::max3ds::Main Class Reference

Inherits java::applet::Applet.

List of all members.

Detailed Description

Provides an example of loader usage with key navigation. If loaded as an applet expects a 'url' parameter tag which must be specified as a fully qualified url. If there isn't a url tag it looks for an applet parameter called filename. If this is run from the command line it will try to load the file passed in at the prompt, unless a command line argument 'url' is the first argument. Then it will load the url represented as the second command argument.

Definition at line 73 of file Main.java.

Public Member Functions

void addViewKeyBehavior (TransformGroup viewTransformGroup)
BranchGroup createSceneGraph ()
BranchGroup createUniverse (View view, Scene scene)
Scene getScene (URL location)
void init ()
void Main ()
void turnOnBehaviors (Behavior[] behaviors)

Static Public Member Functions

static void main (String args[])
static void usage (String message)
static void usage ()

Protected Member Functions

void configureView (ViewPlatform platform, View view)

Private Member Functions

void addCameraInterpolator (TransformGroup target)
void addSceneToBranch (BranchGroup branch, Scene scene)
URL findAFile (String fileName)

Private Attributes

BoundingSphere bounds = new BoundingSphere(new Point3d(0.0,0.0,0.0),3000.0)
Canvas3D canvas
String modelLocation
BranchGroup universeBranch

Static Private Attributes

static final String DEFAULT_MODEL = "bounce.3DS"


class  BrowseListener
class  Filter3DS

The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index