|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xith3d.scenegraph.SceneGraphObject
org.xith3d.scenegraph.Node
org.xith3d.scenegraph.GroupNode
org.xith3d.scenegraph.BranchGroup
public class BranchGroup
A BranchGroup is the root of a SceneGraph. More exactly it is the branch group of a RenderPass. It is not intended to be used as a child of another Group.
| Field Summary |
|---|
| 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 | |
|---|---|
|
BranchGroup()
Constructs a new BranchGroup instance. |
protected |
BranchGroup(GroupNode hostGroup,
Node firstChild)
Constructs a new BranchGroup instance and directly adds the given child Node to it. |
|
BranchGroup(Node firstChild)
Constructs a new BranchGroup instance and directly adds the given child Node to it. |
| Method Summary | |
|---|---|
SceneGraph |
getSceneGraph()
|
protected BranchGroup |
newInstance()
|
boolean |
traverse(DetailedTraversalCallback callback)
Traverses the scenegraph from this node on. |
| 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 |
|---|
protected BranchGroup(GroupNode hostGroup,
Node firstChild)
public BranchGroup(Node firstChild)
firstChild - public BranchGroup()
| Method Detail |
|---|
public final SceneGraph getSceneGraph()
public boolean traverse(DetailedTraversalCallback callback)
traverse in class Nodecallback - the listener is notified of any traversed Node on the way
protected BranchGroup newInstance()
newInstance in class GroupNodeGroupNode.sharedCopy(CopyListener)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||