javax.media.j3d
Class SetLiveState

java.lang.Object
  extended by javax.media.j3d.SetLiveState

 class SetLiveState
extends java.lang.Object

SetLiveState is used to encapsulate all state needed when a branch group is added to the scene graph


Field Summary
(package private)  java.util.ArrayList altAppearances
           
(package private)  java.util.ArrayList behaviorNodes
           
(package private)  java.util.ArrayList branchGroupPaths
          List of BranchGroup from this node to the root of tree This is used by BranchGroupRetained to construct BranchGroup lists for picking.
(package private)  java.util.ArrayList changedViewGroup
           
(package private)  java.util.ArrayList changedViewList
           
(package private)  java.util.ArrayList childSwitchLinks
           
(package private)  java.util.ArrayList childTransformLinks
           
(package private)  int[] closestSwitchIndices
           
(package private)  SwitchRetained[] closestSwitchParents
           
(package private)  boolean[] collidable
          List of collidable flags, one for each share path.
(package private)  Transform3D[][] currentTransforms
           
(package private)  int[][] currentTransformsIndex
           
(package private)  java.util.ArrayList fogs
           
(package private)  BackgroundRetained geometryBackground
           
(package private)  int[] hashkeyIndex
           
(package private)  boolean inBackgroundGroup
           
(package private)  boolean inSharedGroup
           
(package private)  boolean inViewSpecificGroup
           
(package private)  int[] keyList
           
(package private)  HashKey[] keys
           
(package private)  SharedGroupRetained lastSharedGroup
           
(package private)  java.util.ArrayList lights
           
(package private)  Locale locale
           
(package private)  Transform3D[][] localToVworld
           
(package private)  int[][] localToVworldIndex
           
(package private)  HashKey[] localToVworldKeys
           
(package private)  java.util.ArrayList modelClips
           
(package private)  java.util.ArrayList nodeList
          The list of nodes added/removed during setLive/clearLive
(package private)  int notifyThreads
           
(package private)  java.util.ArrayList ogChildIdList
           
(package private)  java.util.ArrayList ogCIOList
           
(package private)  java.util.ArrayList ogCIOTableList
           
(package private)  java.util.ArrayList ogList
           
(package private)  java.util.ArrayList ogOrderedIdList
           
(package private)  java.util.ArrayList orderedPaths
           
(package private)  java.util.ArrayList parentBranchGroupPaths
           
(package private)  GroupRetained parentSwitchLink
           
(package private)  GroupRetained parentTransformLink
           
(package private)  boolean[] pickable
          List of Pickable flags, one for each share path.
(package private)  int refCount
           
(package private)  java.util.ArrayList scopedNodesViewList
          Parallel list to viewScopedNodeList containing a list of views that the viewScopedNode is scoped to
(package private)  int[] switchLevels
           
(package private)  java.util.ArrayList switchStates
           
(package private)  Targets[] switchTargets
           
(package private)  int[] transformLevels
           
(package private)  Targets[] transformTargets
           
(package private)  int traverseFlags
           
(package private)  VirtualUniverse universe
           
(package private)  java.util.ArrayList viewLists
           
(package private)  java.util.ArrayList viewScopedNodeList
          List of nodes that are viewScoped.
 
Constructor Summary
SetLiveState(VirtualUniverse u)
           
 
Method Summary
(package private)  void clear()
           
(package private)  void reset(Locale l)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

universe

VirtualUniverse universe

locale

Locale locale

currentTransforms

Transform3D[][] currentTransforms

currentTransformsIndex

int[][] currentTransformsIndex

keys

HashKey[] keys

inSharedGroup

boolean inSharedGroup

inBackgroundGroup

boolean inBackgroundGroup

inViewSpecificGroup

boolean inViewSpecificGroup

nodeList

java.util.ArrayList nodeList
The list of nodes added/removed during setLive/clearLive


viewScopedNodeList

java.util.ArrayList viewScopedNodeList
List of nodes that are viewScoped. Note that all nodes except Shape3D nodes can be in viewScopedNodeList, shape3D nodes will always be in the nodeList regardless of scoped or not. Also, only renderbin and renderingEnv structure is interested in viewScopedNodeList


scopedNodesViewList

java.util.ArrayList scopedNodesViewList
Parallel list to viewScopedNodeList containing a list of views that the viewScopedNode is scoped to


notifyThreads

int notifyThreads

transformTargets

Targets[] transformTargets

transformLevels

int[] transformLevels

lights

java.util.ArrayList lights

fogs

java.util.ArrayList fogs

modelClips

java.util.ArrayList modelClips

altAppearances

java.util.ArrayList altAppearances

viewLists

java.util.ArrayList viewLists

changedViewGroup

java.util.ArrayList changedViewGroup

changedViewList

java.util.ArrayList changedViewList

keyList

int[] keyList

orderedPaths

java.util.ArrayList orderedPaths

ogList

java.util.ArrayList ogList

ogChildIdList

java.util.ArrayList ogChildIdList

ogOrderedIdList

java.util.ArrayList ogOrderedIdList

ogCIOList

java.util.ArrayList ogCIOList

ogCIOTableList

java.util.ArrayList ogCIOTableList

branchGroupPaths

java.util.ArrayList branchGroupPaths
List of BranchGroup from this node to the root of tree This is used by BranchGroupRetained to construct BranchGroup lists for picking.

See Also:
NodeRetained.branchGroupPaths

parentBranchGroupPaths

java.util.ArrayList parentBranchGroupPaths

pickable

boolean[] pickable
List of Pickable flags, one for each share path. This flag is true when all the NodeRetained.pickable is true along the path except current node.


collidable

boolean[] collidable
List of collidable flags, one for each share path. This flag is true when all the NodeRetained.pickable is true along the path except current node.


refCount

int refCount

geometryBackground

BackgroundRetained geometryBackground

behaviorNodes

java.util.ArrayList behaviorNodes

childTransformLinks

java.util.ArrayList childTransformLinks

parentTransformLink

GroupRetained parentTransformLink

switchLevels

int[] switchLevels

closestSwitchParents

SwitchRetained[] closestSwitchParents

closestSwitchIndices

int[] closestSwitchIndices

switchTargets

Targets[] switchTargets

childSwitchLinks

java.util.ArrayList childSwitchLinks

parentSwitchLink

GroupRetained parentSwitchLink

lastSharedGroup

SharedGroupRetained lastSharedGroup

traverseFlags

int traverseFlags

localToVworld

Transform3D[][] localToVworld

localToVworldIndex

int[][] localToVworldIndex

localToVworldKeys

HashKey[] localToVworldKeys

hashkeyIndex

int[] hashkeyIndex

switchStates

java.util.ArrayList switchStates
Constructor Detail

SetLiveState

SetLiveState(VirtualUniverse u)
Method Detail

reset

void reset(Locale l)

clear

void clear()


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