nl.tudelft.simulation.dsol.gui.animation3D
Class ContentBranch
java.lang.Object
javax.media.j3d.SceneGraphObject
javax.media.j3d.Node
javax.media.j3d.Group
javax.media.j3d.BranchGroup
nl.tudelft.simulation.dsol.gui.animation3D.ContentBranch
public class ContentBranch
- extends BranchGroup
ContentBranch, the content branch of the scene graph
(c) copyright 2002-2005 Delft
University of Technology , the Netherlands.
See for project information www.simulation.tudelft.nl
License of use: Lesser
General Public License (LGPL) , no warranty.
- Version:
- $Revision: 1.1 $ $Date: 2007/01/06 13:23:34 $
- Author:
- Roy Chin
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_LOCALE_READ, ALLOW_PARENT_READ, ALLOW_PICKABLE_READ, ALLOW_PICKABLE_WRITE, ENABLE_COLLISION_REPORTING, ENABLE_PICK_REPORTING |
Methods inherited from class javax.media.j3d.BranchGroup |
cloneNode, compile, detach, pickAll, pickAll, pickAllSorted, pickAllSorted, pickAny, pickAny, pickClosest, 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, getLocale, getLocalToVworld, getLocalToVworld, getParent, getPickable, setBounds, setBoundsAutoCompute, setCollidable, setPickable |
Methods inherited from class javax.media.j3d.SceneGraphObject |
clearCapability, clearCapabilityIsFrequent, duplicateSceneGraphObject, getCapability, getCapabilityIsFrequent, getName, getUserData, isCompiled, isLive, setCapability, setCapabilityIsFrequent, setName, setUserData, toString, updateNodeReferences |
lightBranch
protected BranchGroup lightBranch
- The light branch
dynamicObjectBranch
protected BranchGroup dynamicObjectBranch
- The dynamic object branch
staticObjectBranch
protected BranchGroup staticObjectBranch
- The static object branch
ContentBranch
public ContentBranch()
- Construct the scene graph
createBranch
protected void createBranch()
- Create the content branch
addLights
protected void addLights(BranchGroup branchGroup)
- Add lights
- Parameters:
branchGroup
- The branch group to add the light to
getLightBranch
public BranchGroup getLightBranch()
- Returns:
- LightBranch
getDynamicObjectBranch
public BranchGroup getDynamicObjectBranch()
- Returns:
- DynamicObjectBranch: dynamic objects
getStaticObjectBranch
public BranchGroup getStaticObjectBranch()
- Returns:
- StaticObjectBranch: static objects
Copyright © 2002-2010 Delft University of Technology, the Netherlands. All Rights Reserved.