|
||||||||||
| 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.Clip
public class Clip
Clip defines the far clipping plane used to clip objects.
| 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 | |
|---|---|
Clip()
Constructs a new Clip object. |
|
Clip(float backDistance)
Constructs a new Clip object with the specified back distance. |
|
| Method Summary | |
|---|---|
void |
freeOpenGLResources(CanvasPeer canvasPeer)
This method frees OpenGL resources (names) for all Nodes in the traversal of this Node(-Group). |
BoundingLeaf |
getApplicationBoundingLeaf()
Sets the application bounding leaf for this object. |
org.openmali.spatial.bounds.Bounds |
getApplicationBounds()
Gets the application bounding region for this object. |
float |
getBackDistance()
Gets the back distance for this object. |
void |
setApplicationBoundingLeaf(BoundingLeaf boundingLeaf)
Sets the application bounding leaf for this object. |
void |
setApplicationBounds(org.openmali.spatial.bounds.Bounds region)
Sets the application bounding region for this object. |
void |
setBackDistance(float backDistance)
Sets the back distance for this object. |
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 Clip()
public Clip(float backDistance)
| Method Detail |
|---|
public final void setBackDistance(float backDistance)
public final float getBackDistance()
public final void setApplicationBounds(org.openmali.spatial.bounds.Bounds region)
public final org.openmali.spatial.bounds.Bounds getApplicationBounds()
public final void setApplicationBoundingLeaf(BoundingLeaf boundingLeaf)
public final BoundingLeaf getApplicationBoundingLeaf()
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 | |||||||||