javax.media.j3d
Class BoundingLeafRetained

java.lang.Object
  extended by javax.media.j3d.IndexedObject
      extended by javax.media.j3d.SceneGraphObjectRetained
          extended by javax.media.j3d.NodeRetained
              extended by javax.media.j3d.LeafRetained
                  extended by javax.media.j3d.BoundingLeafRetained
All Implemented Interfaces:
java.lang.Cloneable, NnuId

 class BoundingLeafRetained
extends LeafRetained

The BoundingLeaf node defines a bounding region object that can be referenced by other nodes to define a region of influence, an application region, or a scheduling region.


Field Summary
(package private)  BoundingLeafRetained mirrorBoundingLeaf
           
(package private)  Bounds region
           
(package private) static int REGION_CHANGED
           
(package private) static java.lang.Integer REGION_CHANGED_MESSAGE
           
(package private)  int targetThreads
           
(package private)  Bounds transformedRegion
           
(package private)  int transformTargetThreads
           
(package private)  java.util.ArrayList users
           
 
Fields inherited from class javax.media.j3d.LeafRetained
boundsDirty, switchState
 
Fields inherited from class javax.media.j3d.NodeRetained
ALTERNATEAPPEARANCE, AMBIENTLIGHT, apiBounds, BACKGROUND, BACKGROUNDSOUND, BEHAVIOR, BOUNDINGLEAF, boundsAutoCompute, BRANCHGROUP, branchGroupPaths, cachedBounds, childIndex, CLIP, collidable, CONESOUND, CONTAINS_VIEWPLATFORM, CURRENT_LOCAL_TO_VWORLD, DECALGROUP, DIRECTIONALLIGHT, EXPONENTIALFOG, geometryBackground, GROUP, inSharedGroup, LAST_LOCAL_TO_VWORLD, LINEARFOG, LINK, localBounds, locale, localToVworld, localToVworldIndex, localToVworldKeys, MODELCLIP, MORPH, nnuId, nodeId, nodeType, NUMNODES, ORDEREDGROUP, orderedId, ORIENTEDSHAPE3D, parent, parentSwitchLink, parentTransformLink, pickable, POINTLIGHT, POINTSOUND, refCount, SHAPE, SHAREDGROUP, SOUNDSCAPE, SPOTLIGHT, staticTransform, SWITCH, TRANSFORMGROUP, universe, validCachedBounds, VIEWPLATFORM, VIEWSPECIFICGROUP
 
Fields inherited from class javax.media.j3d.SceneGraphObjectRetained
DONT_MERGE, inBackgroundGroup, inSetLive, MERGE, MERGE_DONE, mergeFlag, onUpdateList, source
 
Fields inherited from class javax.media.j3d.IndexedObject
listIdx
 
Constructor Summary
BoundingLeafRetained()
           
 
Method Summary
(package private)  void addUser(LeafRetained node)
          Add a user to the list of users.
(package private)  void clearLive(SetLiveState s)
           
(package private)  void createBoundingLeaf()
           
(package private)  Bounds getRegion()
          Get the bounding region
(package private)  void initRegion(Bounds region)
          Initialize the bounding region
(package private)  void mergeTransform(TransformGroupRetained xform)
           
(package private)  void removeUser(LeafRetained u)
          Remove user from the list of users.
(package private)  void setLive(SetLiveState s)
           
(package private)  void setRegion(Bounds region)
          Set the bounding region
(package private)  void updateImmediateMirrorObject(java.lang.Object[] objs)
          Update the "component" field of the mirror object with the given "value"
(package private)  void updateImmediateTransformChange()
           
 
Methods inherited from class javax.media.j3d.LeafRetained
clone, getMirrorObjects, updateBoundingLeaf, updateBounds, updateMirrorObject, updateTransformChange
 
Methods inherited from class javax.media.j3d.NodeRetained
computeCombineBounds, computeNonLiveLocalToVworld, dirtyBoundsCache, doSetLive, equal, findCollidableFlags, findPickableFlags, findTransformLevels, getBounds, getBoundsAutoCompute, getCollidable, getCurrentLocalToVworld, getCurrentLocalToVworld, getCurrentLocalToVworld, getEffectiveBounds, getId, getLastLocalToVworld, getLastLocalToVworld, getLastLocalToVworld, getLocalBounds, getLocale, getLocalToVworld, getLocalToVworld, getLocalToVworld, getParent, getPickable, getVirtualUniverse, isStatic, merge, notifySceneGraphChanged, processViewSpecificInfo, recombineAbove, removeNodeData, searchGeometryAtoms, setAuxData, setBounds, setBoundsAutoCompute, setCollidable, setNodeData, setParent, setPickable, transformBounds, updateCollidable, updateLocalToVworld, updatePickable
 
Methods inherited from class javax.media.j3d.SceneGraphObjectRetained
clearLive, clearLive, clone, compile, doSetLive, getSource, handleFrequencyChange, isInSetLive, markAsLive, setCompiled, setLive, setSource, traverse
 
Methods inherited from class javax.media.j3d.IndexedObject
getIdxUsed, incIdxUsed
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

REGION_CHANGED

static final int REGION_CHANGED
See Also:
Constant Field Values

REGION_CHANGED_MESSAGE

static final java.lang.Integer REGION_CHANGED_MESSAGE

region

Bounds region

transformedRegion

Bounds transformedRegion

mirrorBoundingLeaf

BoundingLeafRetained mirrorBoundingLeaf

users

java.util.ArrayList users

targetThreads

int targetThreads

transformTargetThreads

int transformTargetThreads
Constructor Detail

BoundingLeafRetained

BoundingLeafRetained()
Method Detail

createBoundingLeaf

void createBoundingLeaf()

initRegion

void initRegion(Bounds region)
Initialize the bounding region


setRegion

void setRegion(Bounds region)
Set the bounding region


getRegion

Bounds getRegion()
Get the bounding region


setLive

void setLive(SetLiveState s)
Overrides:
setLive in class NodeRetained

updateImmediateMirrorObject

void updateImmediateMirrorObject(java.lang.Object[] objs)
Update the "component" field of the mirror object with the given "value"


addUser

void addUser(LeafRetained node)
Add a user to the list of users. There is no if (node.source.isLive()) check since mirror objects are the users of the mirror bounding leaf and they do not have a source.


removeUser

void removeUser(LeafRetained u)
Remove user from the list of users. There is no if (node.source.isLive()) check since mirror objects are the users of the mirror bounding leaf and they do not have a source.


updateImmediateTransformChange

void updateImmediateTransformChange()

clearLive

void clearLive(SetLiveState s)
Overrides:
clearLive in class NodeRetained

mergeTransform

void mergeTransform(TransformGroupRetained xform)
Overrides:
mergeTransform in class NodeRetained


Copyright 1996-2008 Sun Microsystems, Inc. All Rights Reserved. Use is subject to license terms.