org.xith3d.scenegraph
Class OcTreeGroup
java.lang.Object
org.xith3d.scenegraph.SceneGraphObject
org.xith3d.scenegraph.Node
org.xith3d.scenegraph.GroupNode
org.xith3d.scenegraph.Group
org.xith3d.scenegraph.OcTreeGroup
- All Implemented Interfaces:
- org.jagatoo.datatypes.NamableObject, org.jagatoo.datatypes.NamedObject, org.openmali.spatial.SpatialNode
public class OcTreeGroup
- extends Group
Insert type comment here.
|
Constructor Summary |
OcTreeGroup(float centerX,
float centerY,
float centerZ,
float size,
boolean useExtendedCells)
|
OcTreeGroup(float centerX,
float centerY,
float centerZ,
float sizeX,
float sizeY,
float sizeZ,
boolean useExtendedCells)
|
OcTreeGroup(org.openmali.vecmath2.Tuple3f center,
float size,
boolean useExtendedCells)
|
OcTreeGroup(org.openmali.vecmath2.Tuple3f center,
float sizeX,
float sizeY,
float sizeZ,
boolean useExtendedCells)
|
| Methods inherited from class org.xith3d.scenegraph.GroupNode |
absorbDetails, addChild, checkChild, dump, ensureCapacity, expandBounds, findAll, findAll, findFirst, findFirst, freeOpenGLResources, getChild, getChildren, getChildren, getClipper, getPickHost, getScissorRect, getTotalNumChildren, getTotalNumShapes, indexOf, isPickHost, mergeInheritedClipper, mergeInheritedNodes, mergeInheritedScissorRect, numChildren, removeChild, setBoundsDirty, setBoundsDirtyUpward, setChild, setClipper, setPickHost, setPickHost, setScissorRect, setShowBounds, sharedCopy, sharedCopy, traverse, 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, setLive, setName, setUserData, setUserData, setUserDataRecursive, setUserDataRecursive, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
OcTreeGroup
public OcTreeGroup(float centerX,
float centerY,
float centerZ,
float sizeX,
float sizeY,
float sizeZ,
boolean useExtendedCells)
OcTreeGroup
public OcTreeGroup(org.openmali.vecmath2.Tuple3f center,
float sizeX,
float sizeY,
float sizeZ,
boolean useExtendedCells)
OcTreeGroup
public OcTreeGroup(float centerX,
float centerY,
float centerZ,
float size,
boolean useExtendedCells)
OcTreeGroup
public OcTreeGroup(org.openmali.vecmath2.Tuple3f center,
float size,
boolean useExtendedCells)
setMinNodesBeforeSplit
public void setMinNodesBeforeSplit(int minNodesBeforeSplit)
getMinNodesBeforeSplit
public final int getMinNodesBeforeSplit()
setMaxLevelForExtendedCells
public void setMaxLevelForExtendedCells(int maxLevelForExtendedCells)
getMaxLevelForExtendedCells
public final int getMaxLevelForExtendedCells()
getMaxOcTreeLevel
public final int getMaxOcTreeLevel()
addChild
public void addChild(Node child,
int index)
- Insert a child at the specified index. The parent of the child is set to
this object. If this object is live then the child is set live.
- Overrides:
addChild in class GroupNode
removeChild
public Node removeChild(int index)
- Remove the child at the specified index. The parent of the child is set
to null. The child is made not live.
- Overrides:
removeChild in class GroupNode
removeAllChildren
public void removeAllChildren()
- Removes all the children of this group.
- Overrides:
removeAllChildren in class GroupNode
updateNodePosition
public final void updateNodePosition(Node node)
dump
public final void dump()
- Description copied from class:
GroupNode
- Dumps this Group and it's children to stdout.
- Overrides:
dump in class GroupNode