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.


Variable Index

 o ALLOW_REGION_READ
Specifies that this BoundingLeaf node allows read access to its bounding region object.
 o ALLOW_REGION_WRITE
Specifies that this BoundingLeaf node allows write access to its bounding region object.

Constructor Index

 o BoundingLeaf()
Constructs a BoundingLeaf node with a unit sphere region object.
 o BoundingLeaf(Bounds)
Constructs a BoundingLeaf node with the specified bounding region.

Method Index

 o getRegion()
Retrieves this BoundingLeaf's bounding region
 o setRegion(Bounds)
Sets this BoundingLeaf node's bounding region.

Variables

 o ALLOW_REGION_READ
 public static final int ALLOW_REGION_READ
Specifies that this BoundingLeaf node allows read access to its bounding region object.

 o ALLOW_REGION_WRITE
 public static final int ALLOW_REGION_WRITE
Specifies that this BoundingLeaf node allows write access to its bounding region object.

Constructors

 o BoundingLeaf
 public BoundingLeaf()
Constructs a BoundingLeaf node with a unit sphere region object.

 o BoundingLeaf
 public BoundingLeaf(Bounds region)
Constructs a BoundingLeaf node with the specified bounding region.

Parameters:
region - the bounding region of this leaf node

Methods

 o 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
 o 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