javax.media.j3d
Class GroupRetained

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.GroupRetained
All Implemented Interfaces:
java.lang.Cloneable, BHLeafInterface, NnuId
Direct Known Subclasses:
BranchGroupRetained, OrderedGroupRetained, SharedGroupRetained, SwitchRetained, TransformGroupRetained, ViewSpecificGroupRetained

 class GroupRetained
extends NodeRetained
implements BHLeafInterface

Group node.


Field Summary
(package private)  boolean allocatedAltApps
           
(package private)  boolean allocatedFogs
           
(package private)  boolean allocatedLights
           
(package private)  boolean allocatedMclips
           
(package private)  java.util.ArrayList altAppearances
           
(package private)  BHLeafNode bhLeafNode
          The BHLeafNode for this GeometryAtom.
(package private)  java.util.ArrayList children
          The Group Node's children vector.
(package private)  java.util.ArrayList childrenSwitchLinks
           
(package private)  Bounds collisionBound
          The Group node's collision bounds in local coordinates.
(package private)  boolean collisionTarget
           
(package private)  BoundingBox collisionVwcBounds
          If collisionBound is set, this is equal to the transformed collisionBounds, otherwise it is equal to the transformed localBounds.
(package private)  java.util.ArrayList compiledChildrenList
           
(package private)  java.util.ArrayList fogs
           
(package private)  boolean inViewSpecificGroup
           
(package private)  boolean isInClearLive
           
(package private)  boolean isRoot
           
(package private)  HashKey key
          key of mirror GroupRetained.
(package private)  java.util.ArrayList lights
           
(package private)  Locale locale
           
(package private)  java.util.ArrayList mirrorGroup
          Mirror group of this node, it is only used when collisionTarget = true.
(package private)  java.util.ArrayList modelClips
           
(package private)  java.util.ArrayList orderedPaths
           
(package private)  int parentSwitchLinkChildIndex
           
(package private)  int scopingRefCount
           
(package private)  GroupRetained sourceNode
          sourceNode of this mirror Group
(package private)  java.util.ArrayList viewLists
           
 
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, 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
GroupRetained()
           
 
Method Summary
(package private)  void addAllNodesForScopedAltApp(AlternateAppearanceRetained mAltApp, java.util.ArrayList list, HashKey k)
           
(package private)  void addAllNodesForScopedFog(FogRetained mfog, java.util.ArrayList list, HashKey k)
           
(package private)  void addAllNodesForScopedLight(int numLgts, LightRetained[] ml, java.util.ArrayList list, HashKey k)
           
(package private)  void addAllNodesForScopedModelClip(ModelClipRetained mModelClip, java.util.ArrayList list, HashKey k)
           
(package private)  void addAltApp(AlternateAppearanceRetained altApp, HashKey key)
           
(package private)  void addChild(Node child)
          Appends the specified child to this node's list of children.
(package private)  void addFog(FogRetained fog, HashKey key)
           
(package private)  void addLight(LightRetained[] addlight, int numLgts, HashKey key)
           
(package private)  void addModelClip(ModelClipRetained modelClip, HashKey key)
           
(package private)  void appendChildrenData()
           
(package private)  void checkClearLive(NodeRetained child, HashKey[] keys, boolean isShared, J3dMessage[] messages, int messageIndex, int childIndex, NodeRetained linkNode)
          This checks if clearLive needs to be called.
(package private)  void checkClearLive(NodeRetained child, J3dMessage[] messages, int messageIndex, int childIndex, NodeRetained linkNode)
           
(package private)  void checkSetLive(NodeRetained child, int childIndex, HashKey[] keys, boolean isShared, J3dMessage[] messages, int messageIndex, NodeRetained linkNode)
          This checks is setLive needs to be called.
(package private)  void checkSetLive(NodeRetained child, int childIndex, J3dMessage[] messages, int messageIndex, NodeRetained linkNode)
          This checks is setLive needs to be called.
(package private)  void checkValidChild(Node child, java.lang.String s)
           
(package private)  void childCheckSetLive(NodeRetained child, int childIndex, SetLiveState s, NodeRetained linkNode)
           
(package private)  void childDoSetLive(NodeRetained child, int childIndex, SetLiveState s)
           
(package private)  void clearLive(SetLiveState s)
          This version of clearLive calls clearLive on all of its chidren.
(package private)  void compile(CompileState compState)
          This is the default compile() method, which just marks the sgo as compiled.
 BoundingBox computeBoundingHull()
           
(package private)  void computeCombineBounds(Bounds bounds)
          ONLY needed for SHAPE, MORPH, and LINK node type.
(package private)  void createMirrorGroup()
          Create mirror group when this Group AlternateCollisionTarget is set to true while live.
(package private)  void doAddChild(Node child, J3dMessage[] messages, int messageIndex)
           
(package private)  void doInsertChild(Node child, int index)
           
(package private)  void doMoveTo(BranchGroup branchGroup)
           
(package private)  void doRemoveChild(int index, J3dMessage[] messages, int messageIndex)
           
(package private)  void doSetChild(Node child, int index)
           
(package private)  void doSetLive(SetLiveState s)
          This version of setLive calls setLive on all of its chidren.
(package private)  void findSwitchInfo(SetLiveState s, NodeRetained parentNode, NodeRetained childNode, NodeRetained linkNode)
           
(package private) static void gatherBlUsers(java.util.ArrayList blUsers, java.lang.Object[] blArr)
           
(package private)  java.util.Enumeration getAllChildren()
          Returns an enumeration object of the children.
(package private)  boolean getAlternateCollisionTarget()
           
(package private)  Bounds getBounds()
          Gets the bounding object of a node.
(package private)  Node getChild(int index)
          Returns the child specified by the index.
(package private)  TargetsInterface getClosestTargetsInterface(int type)
           
(package private)  Bounds getCollisionBounds()
          Gets the collision bounds of a node.
(package private)  Bounds getEffectiveBounds()
          Gets the bounding object of a node.
 Locale getLocale2()
           
(package private)  int indexOfChild(Node child)
          Returns the index of the specified Node in this Group's list of Nodes
(package private)  TargetsInterface initSwitchStates(SetLiveState s, NodeRetained parentNode, NodeRetained childNode, NodeRetained linkNode, boolean isSetLive)
           
(package private)  TargetsInterface initTransformStates(SetLiveState s, boolean isSetLive)
           
(package private)  void insertChild(Node child, int index)
          Inserts the specified child at specified index.
(package private)  void insertChildrenData(int index)
           
 boolean isEnable()
           
 boolean isEnable(int vis)
           
(package private) static boolean isNodeSwitchOn(NodeRetained node, HashKey key)
          Return true of nodeR is not under a switch group or nodeR is enable under a switch group.
(package private)  boolean isStatic()
          true if component can't be read or written after compile or setlive()
(package private)  boolean isStaticChildren()
           
(package private)  void merge(CompileState compState)
           
(package private)  void moveTo(BranchGroup bg)
           
(package private)  int numChildren()
          Returns a count of this nodes' children.
(package private)  void processAddNodesForScopedAltApp(AlternateAppearanceRetained mAltApp, java.util.ArrayList list, HashKey k)
           
(package private)  void processAddNodesForScopedFog(FogRetained mfog, java.util.ArrayList list, HashKey k)
           
(package private)  void processAddNodesForScopedModelClip(ModelClipRetained mModelClip, java.util.ArrayList list, HashKey k)
           
(package private)  void processAllNodesForScopedLight(int numLgts, LightRetained[] ml, java.util.ArrayList list, HashKey k)
           
(package private)  void processCollisionTarget(SetLiveState s)
           
(package private)  void processRemoveAllNodesForScopedFog(FogRetained mfog, java.util.ArrayList list, HashKey k)
           
(package private)  void processRemoveAllNodesForScopedLight(int numLgts, LightRetained[] ml, java.util.ArrayList list, HashKey k)
           
(package private)  void processRemoveAllNodesForScopedModelClip(ModelClipRetained mModelClip, java.util.ArrayList list, HashKey k)
           
(package private)  void processRemoveNodesForScopedAltApp(AlternateAppearanceRetained mAltApp, java.util.ArrayList list, HashKey k)
           
(package private)  int[] processViewSpecificInfo(int mode, HashKey k, View v, java.util.ArrayList vsgList, int[] keyList, java.util.ArrayList leafList)
           
(package private)  void removeAllChildren()
           
(package private)  void removeAllNodesForScopedAltApp(AlternateAppearanceRetained mAltApp, java.util.ArrayList list, HashKey k)
           
(package private)  void removeAllNodesForScopedFog(FogRetained mfog, java.util.ArrayList list, HashKey k)
           
(package private)  void removeAllNodesForScopedLight(int numLgts, LightRetained[] ml, java.util.ArrayList list, HashKey k)
           
(package private)  void removeAllNodesForScopedModelClip(ModelClipRetained mModelClip, java.util.ArrayList list, HashKey k)
           
(package private)  void removeAltApp(AlternateAppearanceRetained altApp, HashKey key)
           
(package private)  void removeAltAppScope()
           
(package private)  void removeChild(int index)
          Removes the child at specified index.
(package private)  void removeChild(Node child)
          Removes the specified child from this Group's list of children.
(package private)  void removeChildrenData(int index)
           
(package private)  void removeFog(FogRetained fog, HashKey key)
           
(package private)  void removeFogScope()
           
(package private)  void removeLight(int numLgt, LightRetained[] removelight, HashKey key)
           
(package private)  void removeLightScope()
           
(package private)  void removeMclipScope()
           
(package private)  void removeModelClip(ModelClipRetained modelClip, HashKey key)
           
(package private)  void removeNodeData(SetLiveState s)
          remove the localToVworld transform for this node.
(package private)  void searchGeometryAtoms(UnorderList list)
           
(package private)  void setAltAppScope()
           
(package private)  void setAlternateCollisionTarget(boolean target)
           
(package private)  void setBounds(Bounds bounds)
          Sets the geometric bounds of a node.
(package private)  void setBoundsAutoCompute(boolean autoCompute)
          Sets the automatic calcuation of geometric bounds of a node.
(package private)  void setChild(Node child, int index)
          Replaces the specified child with the child provided.
(package private)  void setCollisionBounds(Bounds bounds)
          Sets the collision bounds of a node.
(package private)  void setCompiled()
          This compiles() a group
(package private)  void setFogScope()
           
(package private)  void setLightScope()
           
(package private)  void setLive(SetLiveState s)
           
(package private)  void setMclipScope()
           
(package private)  void setNodeData(SetLiveState s)
           
(package private)  void setScopingInfo(SetLiveState s)
           
(package private)  void traverse(boolean sameLevel, int level)
           
(package private)  void updateCollidable(HashKey[] keys, boolean[] collide)
           
(package private)  void updateLocalToVworld()
           
(package private)  void updatePickable(HashKey[] keys, boolean[] pick)
           
(package private)  void updateSwitchStates(SetLiveState s, TargetsInterface ti, boolean isSetLive)
           
(package private)  CachedTargets[] updateTransformStates(SetLiveState s, TargetsInterface ti, boolean isSetLive)
           
(package private)  boolean usedInScoping()
           
(package private) static boolean validSwitchChild(SwitchRetained sw, NodeRetained node)
          Determinte if nodeR is a valid child to render for Switch Node swR.
 
Methods inherited from class javax.media.j3d.NodeRetained
computeNonLiveLocalToVworld, dirtyBoundsCache, equal, findCollidableFlags, findPickableFlags, findTransformLevels, getBoundsAutoCompute, getCollidable, getCurrentLocalToVworld, getCurrentLocalToVworld, getCurrentLocalToVworld, getId, getLastLocalToVworld, getLastLocalToVworld, getLastLocalToVworld, getLocalBounds, getLocale, getLocalToVworld, getLocalToVworld, getLocalToVworld, getParent, getPickable, getVirtualUniverse, mergeTransform, notifySceneGraphChanged, recombineAbove, setAuxData, setCollidable, setParent, setPickable, transformBounds
 
Methods inherited from class javax.media.j3d.SceneGraphObjectRetained
clearLive, clearLive, clone, doSetLive, getSource, handleFrequencyChange, isInSetLive, markAsLive, setLive, setSource
 
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

children

java.util.ArrayList children
The Group Node's children vector.


collisionBound

Bounds collisionBound
The Group node's collision bounds in local coordinates.


locale

Locale locale

lights

java.util.ArrayList lights

fogs

java.util.ArrayList fogs

modelClips

java.util.ArrayList modelClips

altAppearances

java.util.ArrayList altAppearances

collisionTarget

boolean collisionTarget

childrenSwitchLinks

java.util.ArrayList childrenSwitchLinks

parentSwitchLinkChildIndex

int parentSwitchLinkChildIndex

orderedPaths

java.util.ArrayList orderedPaths

collisionVwcBounds

BoundingBox collisionVwcBounds
If collisionBound is set, this is equal to the transformed collisionBounds, otherwise it is equal to the transformed localBounds. This variable is set to null unless collisionTarget = true. This bound is only used by mirror Group.


mirrorGroup

java.util.ArrayList mirrorGroup
Mirror group of this node, it is only used when collisionTarget = true. Otherwise it is set to null. If not in shared group, only entry 0 is used.


key

HashKey key
key of mirror GroupRetained.


sourceNode

GroupRetained sourceNode
sourceNode of this mirror Group


bhLeafNode

BHLeafNode bhLeafNode
The BHLeafNode for this GeometryAtom.


isRoot

boolean isRoot

allocatedLights

boolean allocatedLights

allocatedFogs

boolean allocatedFogs

allocatedMclips

boolean allocatedMclips

allocatedAltApps

boolean allocatedAltApps

scopingRefCount

int scopingRefCount

compiledChildrenList

java.util.ArrayList compiledChildrenList

isInClearLive

boolean isInClearLive

viewLists

java.util.ArrayList viewLists

inViewSpecificGroup

boolean inViewSpecificGroup
Constructor Detail

GroupRetained

GroupRetained()
Method Detail

setCollisionBounds

void setCollisionBounds(Bounds bounds)
Sets the collision bounds of a node.

Parameters:
bounds - the bounding object for the node

getCollisionBounds

Bounds getCollisionBounds()
Gets the collision bounds of a node.

Returns:
the node's bounding object

setChild

void setChild(Node child,
              int index)
Replaces the specified child with the child provided.

Parameters:
child - the new child
index - which child to replace

doSetChild

void doSetChild(Node child,
                int index)

insertChild

void insertChild(Node child,
                 int index)
Inserts the specified child at specified index.

Parameters:
child - the new child
index - position to insert new child at

doInsertChild

void doInsertChild(Node child,
                   int index)

removeChild

void removeChild(int index)
Removes the child at specified index.

Parameters:
index - which child to remove

indexOfChild

int indexOfChild(Node child)
Returns the index of the specified Node in this Group's list of Nodes

Parameters:
Node - whose index is desired
Returns:
index of the Node

removeChild

void removeChild(Node child)
Removes the specified child from this Group's list of children. If the specified child is not found, the method returns quietly

Parameters:
child - to be removed

removeAllChildren

void removeAllChildren()

doRemoveChild

void doRemoveChild(int index,
                   J3dMessage[] messages,
                   int messageIndex)

getChild

Node getChild(int index)
Returns the child specified by the index.

Parameters:
index - which child to return
Returns:
the children at location index

getAllChildren

java.util.Enumeration getAllChildren()
Returns an enumeration object of the children.

Returns:
an enumeration object of the children

checkValidChild

void checkValidChild(Node child,
                     java.lang.String s)

addChild

void addChild(Node child)
Appends the specified child to this node's list of children.

Parameters:
child - the child to add to this node's list of children

doAddChild

void doAddChild(Node child,
                J3dMessage[] messages,
                int messageIndex)

moveTo

void moveTo(BranchGroup bg)

doMoveTo

void doMoveTo(BranchGroup branchGroup)

numChildren

int numChildren()
Returns a count of this nodes' children.

Returns:
the number of children descendant from this node

removeLight

void removeLight(int numLgt,
                 LightRetained[] removelight,
                 HashKey key)

addAllNodesForScopedLight

void addAllNodesForScopedLight(int numLgts,
                               LightRetained[] ml,
                               java.util.ArrayList list,
                               HashKey k)

processAllNodesForScopedLight

void processAllNodesForScopedLight(int numLgts,
                                   LightRetained[] ml,
                                   java.util.ArrayList list,
                                   HashKey k)

removeAllNodesForScopedLight

void removeAllNodesForScopedLight(int numLgts,
                                  LightRetained[] ml,
                                  java.util.ArrayList list,
                                  HashKey k)

processRemoveAllNodesForScopedLight

void processRemoveAllNodesForScopedLight(int numLgts,
                                         LightRetained[] ml,
                                         java.util.ArrayList list,
                                         HashKey k)

addAllNodesForScopedFog

void addAllNodesForScopedFog(FogRetained mfog,
                             java.util.ArrayList list,
                             HashKey k)

processAddNodesForScopedFog

void processAddNodesForScopedFog(FogRetained mfog,
                                 java.util.ArrayList list,
                                 HashKey k)

removeAllNodesForScopedFog

void removeAllNodesForScopedFog(FogRetained mfog,
                                java.util.ArrayList list,
                                HashKey k)

processRemoveAllNodesForScopedFog

void processRemoveAllNodesForScopedFog(FogRetained mfog,
                                       java.util.ArrayList list,
                                       HashKey k)

addAllNodesForScopedModelClip

void addAllNodesForScopedModelClip(ModelClipRetained mModelClip,
                                   java.util.ArrayList list,
                                   HashKey k)

processAddNodesForScopedModelClip

void processAddNodesForScopedModelClip(ModelClipRetained mModelClip,
                                       java.util.ArrayList list,
                                       HashKey k)

removeAllNodesForScopedModelClip

void removeAllNodesForScopedModelClip(ModelClipRetained mModelClip,
                                      java.util.ArrayList list,
                                      HashKey k)

processRemoveAllNodesForScopedModelClip

void processRemoveAllNodesForScopedModelClip(ModelClipRetained mModelClip,
                                             java.util.ArrayList list,
                                             HashKey k)

addAllNodesForScopedAltApp

void addAllNodesForScopedAltApp(AlternateAppearanceRetained mAltApp,
                                java.util.ArrayList list,
                                HashKey k)

processAddNodesForScopedAltApp

void processAddNodesForScopedAltApp(AlternateAppearanceRetained mAltApp,
                                    java.util.ArrayList list,
                                    HashKey k)

removeAllNodesForScopedAltApp

void removeAllNodesForScopedAltApp(AlternateAppearanceRetained mAltApp,
                                   java.util.ArrayList list,
                                   HashKey k)

processRemoveNodesForScopedAltApp

void processRemoveNodesForScopedAltApp(AlternateAppearanceRetained mAltApp,
                                       java.util.ArrayList list,
                                       HashKey k)

setLightScope

void setLightScope()

removeLightScope

void removeLightScope()

setFogScope

void setFogScope()

removeFogScope

void removeFogScope()

setMclipScope

void setMclipScope()

removeMclipScope

void removeMclipScope()

setAltAppScope

void setAltAppScope()

removeAltAppScope

void removeAltAppScope()

usedInScoping

boolean usedInScoping()

addLight

void addLight(LightRetained[] addlight,
              int numLgts,
              HashKey key)

addFog

void addFog(FogRetained fog,
            HashKey key)

addModelClip

void addModelClip(ModelClipRetained modelClip,
                  HashKey key)

addAltApp

void addAltApp(AlternateAppearanceRetained altApp,
               HashKey key)

removeFog

void removeFog(FogRetained fog,
               HashKey key)

removeModelClip

void removeModelClip(ModelClipRetained modelClip,
                     HashKey key)

removeAltApp

void removeAltApp(AlternateAppearanceRetained altApp,
                  HashKey key)

updatePickable

void updatePickable(HashKey[] keys,
                    boolean[] pick)
Overrides:
updatePickable in class NodeRetained

updateCollidable

void updateCollidable(HashKey[] keys,
                      boolean[] collide)
Overrides:
updateCollidable in class NodeRetained

setAlternateCollisionTarget

void setAlternateCollisionTarget(boolean target)

getAlternateCollisionTarget

boolean getAlternateCollisionTarget()

checkSetLive

void checkSetLive(NodeRetained child,
                  int childIndex,
                  J3dMessage[] messages,
                  int messageIndex,
                  NodeRetained linkNode)
This checks is setLive needs to be called. If it does, it gets the needed info and calls it.


checkSetLive

void checkSetLive(NodeRetained child,
                  int childIndex,
                  HashKey[] keys,
                  boolean isShared,
                  J3dMessage[] messages,
                  int messageIndex,
                  NodeRetained linkNode)
This checks is setLive needs to be called. If it does, it gets the needed info and calls it.


checkClearLive

void checkClearLive(NodeRetained child,
                    J3dMessage[] messages,
                    int messageIndex,
                    int childIndex,
                    NodeRetained linkNode)

checkClearLive

void checkClearLive(NodeRetained child,
                    HashKey[] keys,
                    boolean isShared,
                    J3dMessage[] messages,
                    int messageIndex,
                    int childIndex,
                    NodeRetained linkNode)
This checks if clearLive needs to be called. If it does, it gets the needed info and calls it.


initTransformStates

TargetsInterface initTransformStates(SetLiveState s,
                                     boolean isSetLive)

updateTransformStates

CachedTargets[] updateTransformStates(SetLiveState s,
                                      TargetsInterface ti,
                                      boolean isSetLive)

initSwitchStates

TargetsInterface initSwitchStates(SetLiveState s,
                                  NodeRetained parentNode,
                                  NodeRetained childNode,
                                  NodeRetained linkNode,
                                  boolean isSetLive)

updateSwitchStates

void updateSwitchStates(SetLiveState s,
                        TargetsInterface ti,
                        boolean isSetLive)

appendChildrenData

void appendChildrenData()

insertChildrenData

void insertChildrenData(int index)

removeChildrenData

void removeChildrenData(int index)

getClosestTargetsInterface

TargetsInterface getClosestTargetsInterface(int type)

updateLocalToVworld

void updateLocalToVworld()
Overrides:
updateLocalToVworld in class NodeRetained

setNodeData

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

removeNodeData

void removeNodeData(SetLiveState s)
Description copied from class: NodeRetained
remove the localToVworld transform for this node.

Overrides:
removeNodeData in class NodeRetained

setLive

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

childDoSetLive

void childDoSetLive(NodeRetained child,
                    int childIndex,
                    SetLiveState s)

childCheckSetLive

void childCheckSetLive(NodeRetained child,
                       int childIndex,
                       SetLiveState s,
                       NodeRetained linkNode)

doSetLive

void doSetLive(SetLiveState s)
This version of setLive calls setLive on all of its chidren.

Overrides:
doSetLive in class NodeRetained

setScopingInfo

void setScopingInfo(SetLiveState s)

processCollisionTarget

void processCollisionTarget(SetLiveState s)

computeCombineBounds

void computeCombineBounds(Bounds bounds)
Description copied from class: NodeRetained
ONLY needed for SHAPE, MORPH, and LINK node type. Compute the combine bounds of bounds and its localBounds.

Overrides:
computeCombineBounds in class NodeRetained

getBounds

Bounds getBounds()
Gets the bounding object of a node.

Overrides:
getBounds in class NodeRetained
Returns:
the node's bounding object

getEffectiveBounds

Bounds getEffectiveBounds()
Gets the bounding object of a node.

Overrides:
getEffectiveBounds in class NodeRetained
Returns:
the node's bounding object

isStaticChildren

boolean isStaticChildren()

isStatic

boolean isStatic()
Description copied from class: SceneGraphObjectRetained
true if component can't be read or written after compile or setlive()

Overrides:
isStatic in class NodeRetained

setCompiled

void setCompiled()
This compiles() a group

Overrides:
setCompiled in class SceneGraphObjectRetained

traverse

void traverse(boolean sameLevel,
              int level)
Overrides:
traverse in class SceneGraphObjectRetained

compile

void compile(CompileState compState)
Description copied from class: SceneGraphObjectRetained
This is the default compile() method, which just marks the sgo as compiled.

Overrides:
compile in class SceneGraphObjectRetained

merge

void merge(CompileState compState)
Overrides:
merge in class NodeRetained

clearLive

void clearLive(SetLiveState s)
This version of clearLive calls clearLive on all of its chidren.

Overrides:
clearLive in class NodeRetained

computeBoundingHull

public BoundingBox computeBoundingHull()
Specified by:
computeBoundingHull in interface BHLeafInterface

isEnable

public boolean isEnable()
Specified by:
isEnable in interface BHLeafInterface

isEnable

public boolean isEnable(int vis)
Specified by:
isEnable in interface BHLeafInterface

getLocale2

public Locale getLocale2()
Specified by:
getLocale2 in interface BHLeafInterface

isNodeSwitchOn

static boolean isNodeSwitchOn(NodeRetained node,
                              HashKey key)
Return true of nodeR is not under a switch group or nodeR is enable under a switch group.


validSwitchChild

static boolean validSwitchChild(SwitchRetained sw,
                                NodeRetained node)
Determinte if nodeR is a valid child to render for Switch Node swR.


createMirrorGroup

void createMirrorGroup()
Create mirror group when this Group AlternateCollisionTarget is set to true while live.


setBoundsAutoCompute

void setBoundsAutoCompute(boolean autoCompute)
Description copied from class: NodeRetained
Sets the automatic calcuation of geometric bounds of a node.

Overrides:
setBoundsAutoCompute in class NodeRetained
Parameters:
autoCompute - is a boolean value indicating if automatic calcuation of bounds

setBounds

void setBounds(Bounds bounds)
Description copied from class: NodeRetained
Sets the geometric bounds of a node.

Overrides:
setBounds in class NodeRetained
Parameters:
bounds - the bounding object for the node

processViewSpecificInfo

int[] processViewSpecificInfo(int mode,
                              HashKey k,
                              View v,
                              java.util.ArrayList vsgList,
                              int[] keyList,
                              java.util.ArrayList leafList)
Overrides:
processViewSpecificInfo in class NodeRetained

findSwitchInfo

void findSwitchInfo(SetLiveState s,
                    NodeRetained parentNode,
                    NodeRetained childNode,
                    NodeRetained linkNode)

gatherBlUsers

static void gatherBlUsers(java.util.ArrayList blUsers,
                          java.lang.Object[] blArr)

searchGeometryAtoms

void searchGeometryAtoms(UnorderList list)
Overrides:
searchGeometryAtoms in class NodeRetained


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