|
||||||||||
| 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.DummyGroupNode
public class DummyGroupNode
The DummyGroupNode is meant to be used, if Nodes must be grouped even if they are already in other Groups. PickingLibrary accepts instances of DummyGroupNode.
| 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, parent, transformGroup, untransformedBounds |
| Fields inherited from class org.xith3d.scenegraph.SceneGraphObject |
|---|
XITH3D_USERDATAKEY_OLDUSERDATA |
| Constructor Summary | |
|---|---|
DummyGroupNode()
|
|
| Method Summary | |
|---|---|
void |
addChild(Node child,
int index)
Insert a child at the specified index. |
protected boolean |
ensureCapacity(int minCapacity)
|
protected DummyGroupNode |
newInstance()
|
Node |
removeChild(int index)
Remove the child at the specified index. |
Node |
setChild(Node child,
int index)
Set the child at the specified index. |
void |
setParent(GroupNode parent)
Sets the parent for this Node object. |
boolean |
traverse(DetailedTraversalCallback callback)
Traverses the scenegraph from this node on. |
void |
updateBounds(boolean onlyDirty)
Update bounds sets the bounds and virutal world bounds of all nodes recursively. |
| 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 |
| Constructor Detail |
|---|
public DummyGroupNode()
| Method Detail |
|---|
public void setParent(GroupNode parent)
Node
setParent in class Nodeprotected boolean ensureCapacity(int minCapacity)
ensureCapacity in class GroupNode
public void addChild(Node child,
int index)
addChild in class GroupNode
public Node setChild(Node child,
int index)
setChild in class GroupNodepublic Node removeChild(int index)
removeChild in class GroupNodepublic void updateBounds(boolean onlyDirty)
updateBounds in class GroupNodeonlyDirty - Only update those nodes which have been marked as dirty.protected DummyGroupNode newInstance()
newInstance in class GroupNodeGroupNode.sharedCopy()public boolean traverse(DetailedTraversalCallback callback)
Node
traverse in class Nodecallback - the listener is notified of any traversed Node on the way
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||