|
||||||||||
| 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.Leaf
org.xith3d.scenegraph.BoundingLeaf
public class BoundingLeaf
BoundingLeaf defines a bounding region that can be referenced by other leaf nodes.
| Field Summary |
|---|
| 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 | |
|---|---|
BoundingLeaf()
Constructs a new BoundingLeaf object with a unit sphere region. |
|
BoundingLeaf(org.openmali.spatial.bounds.Bounds bounds)
Constructs a new BoundingLeaf object. |
|
| Method Summary | |
|---|---|
void |
freeOpenGLResources(CanvasPeer canvasPeer)
This method frees OpenGL resources (names) for all Nodes in the traversal of this Node(-Group). |
org.openmali.spatial.bounds.Bounds |
getRegion()
Gets the region. |
void |
setRegion(org.openmali.spatial.bounds.Bounds bounds)
Sets the region. |
boolean |
traverse(DetailedTraversalCallback callback)
Traverses the scenegraph from this node on. |
| Methods inherited from class org.xith3d.scenegraph.Leaf |
|---|
dump, getPickHost, setPickHost |
| 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 BoundingLeaf()
public BoundingLeaf(org.openmali.spatial.bounds.Bounds bounds)
| Method Detail |
|---|
public final void setRegion(org.openmali.spatial.bounds.Bounds bounds)
public final org.openmali.spatial.bounds.Bounds getRegion()
public void freeOpenGLResources(CanvasPeer canvasPeer)
freeOpenGLResources in class Nodepublic boolean traverse(DetailedTraversalCallback callback)
traverse in class Leafcallback - 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 | |||||||||