nl.tudelft.simulation.dsol.tutorial.section44
Class World

java.lang.Object
  extended byjavax.media.j3d.SceneGraphObject
      extended byjavax.media.j3d.Node
          extended byjavax.media.j3d.Group
              extended byjavax.media.j3d.BranchGroup
                  extended bynl.tudelft.simulation.dsol.animation.D3.Renderable3D
                      extended bynl.tudelft.simulation.dsol.tutorial.section44.World
All Implemented Interfaces:
nl.tudelft.simulation.dsol.animation.D3.Renderable3DInterface

public class World
extends nl.tudelft.simulation.dsol.animation.D3.Renderable3D

World, a simple world for the ball model in 3D
(c) copyright 2003 Delft University of Technology , the Netherlands.
See for project information www.simulation.tudelft.nl
License of use: General Public License (GPL) , no warranty

Version:
1.0 10.05.2004
Author:
Roy Chin

Field Summary
 
Fields inherited from class nl.tudelft.simulation.dsol.animation.D3.Renderable3D
locationGroup, scale, simulator, source, type
 
Fields inherited from class javax.media.j3d.BranchGroup
ALLOW_DETACH
 
Fields inherited from class javax.media.j3d.Group
ALLOW_CHILDREN_EXTEND, ALLOW_CHILDREN_READ, ALLOW_CHILDREN_WRITE, ALLOW_COLLISION_BOUNDS_READ, ALLOW_COLLISION_BOUNDS_WRITE
 
Fields inherited from class javax.media.j3d.Node
ALLOW_AUTO_COMPUTE_BOUNDS_READ, ALLOW_AUTO_COMPUTE_BOUNDS_WRITE, ALLOW_BOUNDS_READ, ALLOW_BOUNDS_WRITE, ALLOW_COLLIDABLE_READ, ALLOW_COLLIDABLE_WRITE, ALLOW_LOCAL_TO_VWORLD_READ, ALLOW_PICKABLE_READ, ALLOW_PICKABLE_WRITE, ENABLE_COLLISION_REPORTING, ENABLE_PICK_REPORTING
 
Fields inherited from class javax.media.j3d.SceneGraphObject
 
Fields inherited from interface nl.tudelft.simulation.dsol.animation.D3.Renderable3DInterface
DYNAMIC_OBJECT, STATIC_OBJECT
 
Constructor Summary
World(nl.tudelft.simulation.language.d3.DirectedPoint staticLocation, nl.tudelft.simulation.dsol.simulators.SimulatorInterface simulator)
          Construct the world
 
Method Summary
 void provideModel(javax.media.j3d.TransformGroup locationGroup)
           
protected  void update(java.util.Enumeration children)
           
 
Methods inherited from class nl.tudelft.simulation.dsol.animation.D3.Renderable3D
getScale, getSource, getType, setScale, update
 
Methods inherited from class javax.media.j3d.BranchGroup
cloneNode, compile, detach, pickAll, pickAllSorted, pickAny, pickClosest
 
Methods inherited from class javax.media.j3d.Group
addChild, getAllChildren, getAlternateCollisionTarget, getChild, getCollisionBounds, indexOfChild, insertChild, moveTo, numChildren, removeAllChildren, removeChild, removeChild, setAlternateCollisionTarget, setChild, setCollisionBounds
 
Methods inherited from class javax.media.j3d.Node
cloneTree, cloneTree, cloneTree, cloneTree, cloneTree, cloneTree, duplicateNode, getBounds, getBoundsAutoCompute, getCollidable, getLocalToVworld, getLocalToVworld, getParent, getPickable, setBounds, setBoundsAutoCompute, setCollidable, setPickable
 
Methods inherited from class javax.media.j3d.SceneGraphObject
clearCapability, clearCapabilityIsFrequent, duplicateSceneGraphObject, getCapability, getCapabilityIsFrequent, getUserData, isCompiled, isLive, setCapability, setCapabilityIsFrequent, setUserData, updateNodeReferences
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

World

public World(nl.tudelft.simulation.language.d3.DirectedPoint staticLocation,
             nl.tudelft.simulation.dsol.simulators.SimulatorInterface simulator)
Construct the world

Parameters:
staticLocation - Static location
simulator - Simulator
Method Detail

provideModel

public void provideModel(javax.media.j3d.TransformGroup locationGroup)
See Also:
#provideModel(javax.media.j3d.TransformGroup)

update

protected void update(java.util.Enumeration children)
See Also:
Renderable3D#update(java.util.Enumeration)


Copyright © 2002-2004 Delft University of Technology, the Netherlands. All Rights Reserved.