All Packages Class Hierarchy This Package Previous Next Index
Class java.media.j3d.BoundingLeaf
java.lang.Object
|
+----java.media.j3d.SceneGraphObject
|
+----java.media.j3d.Node
|
+----java.media.j3d.Leaf
|
+----java.media.j3d.BoundingLeaf
- public class BoundingLeaf
- extends Leaf
The BoundingLeaf node defines a bounding region object that can be
referenced by other nodes to define a region of influence, an
activation region, or a scheduling region.
-
ALLOW_REGION_READ
- Specifies that this BoundingLeaf node allows read access to its
bounding region object.
-
ALLOW_REGION_WRITE
- Specifies that this BoundingLeaf node allows write access to its
bounding region object.
-
BoundingLeaf()
- Constructs a BoundingLeaf node with a unit sphere region object.
-
BoundingLeaf(Bounds)
- Constructs a BoundingLeaf node with the specified bounding region.
-
getRegion()
- Retrieves this BoundingLeaf's bounding region
-
setRegion(Bounds)
- Sets this BoundingLeaf node's bounding region.
ALLOW_REGION_READ
public static final int ALLOW_REGION_READ
- Specifies that this BoundingLeaf node allows read access to its
bounding region object.
ALLOW_REGION_WRITE
public static final int ALLOW_REGION_WRITE
- Specifies that this BoundingLeaf node allows write access to its
bounding region object.
BoundingLeaf
public BoundingLeaf()
- Constructs a BoundingLeaf node with a unit sphere region object.
BoundingLeaf
public BoundingLeaf(Bounds region)
- Constructs a BoundingLeaf node with the specified bounding region.
- Parameters:
- region - the bounding region of this leaf node
setRegion
public final void setRegion(Bounds region)
- Sets this BoundingLeaf node's bounding region.
- Parameters:
- region - the bounding region of this leaf node
- Throws: CapabilityNotSetException
- if appropriate capability is
not set and this object is part of live or compiled scene graph
getRegion
public final Bounds getRegion()
- Retrieves this BoundingLeaf's bounding region
- Returns:
- the bounding region of this leaf node
- Throws: CapabilityNotSetException
- if appropriate capability is
not set and this object is part of live or compiled scene graph
All Packages Class Hierarchy This Package Previous Next Index