net.jbeans.j3d.universe
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 bynet.jbeans.j3d.universe.World
All Implemented Interfaces:
BranchGroupDetachable

public class World
extends javax.media.j3d.BranchGroup
implements BranchGroupDetachable

World is the root BranchGroup for the Content branch.

Version:
$Revision: 1.3 $
Author:
Masahiro Takatsuka (masa@jbeans.net)
See Also:
BranchGroup, BranchGroupDetachable

Field Summary
 
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
 
Constructor Summary
(package private) World()
          Constructs a new World object.
(package private) World(int i)
          Constructs a new World object.
 
Method Summary
(package private)  void addBranchGraph(javax.media.j3d.BranchGroup bg)
          Adds a new BranchGroup object.
(package private)  void detachAllBranchGraph()
           
(package private)  void detachBranchGraph(javax.media.j3d.BranchGroup subRoot)
          Detaches the specified BranchGroup object.
 java.util.Vector getDetachableBranchGroups()
          Get a list of all the detachable subgraphs.
(package private)  MultiTransformGroup getMultiTransformGroup()
          Returns the MultiTransformGroup object of this World object.
(package private)  javax.media.j3d.TransformGroup getWorldTransform()
          Returns the last TransformGroup object in the MultiTransformGroup object of this World object.
 
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

World()
Constructs a new World object.


World

World(int i)
Constructs a new World object.

Method Detail

getDetachableBranchGroups

public final java.util.Vector getDetachableBranchGroups()
Get a list of all the detachable subgraphs.

Specified by:
getDetachableBranchGroups in interface BranchGroupDetachable

getMultiTransformGroup

final MultiTransformGroup getMultiTransformGroup()
Returns the MultiTransformGroup object of this World object.


getWorldTransform

final javax.media.j3d.TransformGroup getWorldTransform()
Returns the last TransformGroup object in the MultiTransformGroup object of this World object.


addBranchGraph

final void addBranchGraph(javax.media.j3d.BranchGroup bg)
Adds a new BranchGroup object.


detachBranchGraph

final void detachBranchGraph(javax.media.j3d.BranchGroup subRoot)
Detaches the specified BranchGroup object.


detachAllBranchGraph

final void detachAllBranchGraph()


Copyright © 1995-2004 net.jbeans. All Rights Reserved.