org.xith3d.scenegraph
Class BSPTreeGroup

java.lang.Object
  extended by org.xith3d.scenegraph.SceneGraphObject
      extended by org.xith3d.scenegraph.Node
          extended by org.xith3d.scenegraph.GroupNode
              extended by org.xith3d.scenegraph.Group
                  extended by org.xith3d.scenegraph.Switch
                      extended by org.xith3d.scenegraph.BSPTreeGroup
All Implemented Interfaces:
org.jagatoo.datatypes.NamableObject, org.jagatoo.datatypes.NamedObject, org.openmali.spatial.SpatialNode, UpdatableNode

public class BSPTreeGroup
extends Switch
implements UpdatableNode

Insert type comment here.


Field Summary
 
Fields inherited from class org.xith3d.scenegraph.Switch
CHILD_ALL, CHILD_MASK, CHILD_NONE
 
Fields inherited from class org.xith3d.scenegraph.GroupNode
children, hostGroup, numChildren, totalNumChildren, totalNumShapes
 
Fields inherited from class org.xith3d.scenegraph.Node
bounds, boundsAutoCompute, boundsDirty, globalIgnoreBounds, instanceBoundsTypeHint, transformGroup, untransformedBounds
 
Fields inherited from class org.xith3d.scenegraph.SceneGraphObject
XITH3D_USERDATAKEY_OLDUSERDATA
 
Constructor Summary
BSPTreeGroup(org.jagatoo.loaders.models.bsp.BSPVisibilityUpdater visUpdater)
           
 
Method Summary
 org.jagatoo.loaders.models.bsp.BSPVisibilityUpdater getBSPVisibilityUpdater()
           
 void setBSPVisibilityUpdater(org.jagatoo.loaders.models.bsp.BSPVisibilityUpdater visUpdater)
           
 boolean update(View view, org.openmali.spatial.bodies.Frustum frustum, long nanoTime, long nanoStep)
           
 
Methods inherited from class org.xith3d.scenegraph.Switch
getChildMask, getCurrentChild, getIgnoreMaskForTraversal, getWhichChild, isVisible, newInstance, removeChild, setChildMask, setIgnoreMaskForTraversal, setWhichChild, traverse, traverse
 
Methods inherited from class org.xith3d.scenegraph.Group
moveTo
 
Methods inherited from class org.xith3d.scenegraph.GroupNode
absorbDetails, addChild, addChild, checkChild, dump, dump, ensureCapacity, expandBounds, findAll, findAll, findFirst, findFirst, freeOpenGLResources, getChild, getChildren, getChildren, getClipper, getPickHost, getScissorRect, getTotalNumChildren, getTotalNumShapes, indexOf, isPickHost, mergeInheritedClipper, mergeInheritedNodes, mergeInheritedScissorRect, numChildren, removeAllChildren, removeChild, setBoundsDirty, setBoundsDirtyUpward, setChild, setClipper, setLive, setPickHost, setPickHost, setScissorRect, setShowBounds, sharedCopy, sharedCopy, unmergeInheritedFog, unmergeInheritedLight, unmergeInheritedNodes, updateBounds, updateBoundsCheap
 
Methods inherited from class org.xith3d.scenegraph.Node
cloneNode, detach, duplicateNode, freeOpenGLResources, getBounds, getBoundsAutoCompute, getBoundsType, getBoundsTypeHint, getDefaultPickable, getIndentString, getInheritedNodeAttributes, getModListener, getOrderedChild, getOrderedState, getParent, getRoot, getShadowAttachment, getShowBounds, getTransformGroup, getTreeCell, getWorldBounds, getWorldTransform, getWorldTransform, isBillboard, isIgnoreBounds, isOccluder, isPickable, isRenderable, isUpdatableNode, popGlobalIgnoreBounds, printBounds, pushGlobalIgnoreBounds, setBounds, setBoundsAutoCompute, setBoundsTypeHint, setDefaultPickable, setGlobalIgnoreBounds, setIgnoreBounds, setIsOccluder, setModListener, setOrderedChild, setParent, setPickable, setPickableRecursive, setPickableRecursive, setRenderable, setShadowAttachment, setShowBounds, setTransformGroup, setTreeCell, updateOrderedChild, updateTransformGroup, updateWorldTransform
 
Methods inherited from class org.xith3d.scenegraph.SceneGraphObject
getName, getUserData, getUserData, getUserDataMap, isLive, setName, setUserData, setUserData, setUserDataRecursive, setUserDataRecursive, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BSPTreeGroup

public BSPTreeGroup(org.jagatoo.loaders.models.bsp.BSPVisibilityUpdater visUpdater)
Method Detail

setBSPVisibilityUpdater

public void setBSPVisibilityUpdater(org.jagatoo.loaders.models.bsp.BSPVisibilityUpdater visUpdater)

getBSPVisibilityUpdater

public final org.jagatoo.loaders.models.bsp.BSPVisibilityUpdater getBSPVisibilityUpdater()

update

public boolean update(View view,
                      org.openmali.spatial.bodies.Frustum frustum,
                      long nanoTime,
                      long nanoStep)
Specified by:
update in interface UpdatableNode
Parameters:
view - the view that's currently used for rendering
frustum - view frustum
Returns:
True if this should be rendered, false if it should not.