javax.media.j3d
Class ViewSpecificGroupRetained

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
                  extended by javax.media.j3d.ViewSpecificGroupRetained
All Implemented Interfaces:
java.lang.Cloneable, BHLeafInterface, NnuId

 class ViewSpecificGroupRetained
extends GroupRetained

The ViewSpecificGroup node retained object.


Field Summary
(package private) static int ADD_VIEW
           
(package private)  java.util.ArrayList apiViewList
           
(package private)  java.util.ArrayList cachedViewList
           
(package private)  java.util.ArrayList parentLists
           
(package private) static int REMOVE_VIEW
           
(package private) static int SET_VIEW
           
(package private)  HashKey tempKey
           
 
Fields inherited from class javax.media.j3d.GroupRetained
allocatedAltApps, allocatedFogs, allocatedLights, allocatedMclips, altAppearances, bhLeafNode, children, childrenSwitchLinks, collisionBound, collisionTarget, collisionVwcBounds, compiledChildrenList, fogs, inViewSpecificGroup, isInClearLive, isRoot, key, lights, locale, mirrorGroup, modelClips, orderedPaths, parentSwitchLinkChildIndex, scopingRefCount, sourceNode, 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
ViewSpecificGroupRetained()
           
 
Method Summary
(package private)  void addView(View view)
           
(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.
(package private)  java.util.Enumeration getAllViews()
           
(package private)  View getView(int index)
           
(package private)  int indexOfView(View view)
           
(package private)  void insertView(View view, int index)
           
(package private)  int numViews()
           
(package private)  int[] processViewSpecificInfo(int mode, HashKey key, View v, java.util.ArrayList vsgList, int[] keyList, java.util.ArrayList leaflist)
           
(package private)  void removeAllViews()
           
(package private)  void removeNodeData(SetLiveState s)
          remove the localToVworld transform for this node.
(package private)  void removeView(int index)
           
(package private)  void removeView(View view)
           
(package private)  void setAuxData(SetLiveState s, int index, int hkIndex)
           
(package private)  void setLive(SetLiveState s)
           
(package private)  void setNodeData(SetLiveState s)
           
(package private)  void setView(View view, int index)
           
(package private)  void updateCachedInformation(int component, View view, int index)
           
 
Methods inherited from class javax.media.j3d.GroupRetained
addAllNodesForScopedAltApp, addAllNodesForScopedFog, addAllNodesForScopedLight, addAllNodesForScopedModelClip, addAltApp, addChild, addFog, addLight, addModelClip, appendChildrenData, checkClearLive, checkClearLive, checkSetLive, checkSetLive, checkValidChild, childCheckSetLive, childDoSetLive, computeBoundingHull, computeCombineBounds, createMirrorGroup, doAddChild, doInsertChild, doMoveTo, doRemoveChild, doSetChild, doSetLive, findSwitchInfo, gatherBlUsers, getAllChildren, getAlternateCollisionTarget, getBounds, getChild, getClosestTargetsInterface, getCollisionBounds, getEffectiveBounds, getLocale2, indexOfChild, initSwitchStates, initTransformStates, insertChild, insertChildrenData, isEnable, isEnable, isNodeSwitchOn, isStatic, isStaticChildren, merge, moveTo, numChildren, processAddNodesForScopedAltApp, processAddNodesForScopedFog, processAddNodesForScopedModelClip, processAllNodesForScopedLight, processCollisionTarget, processRemoveAllNodesForScopedFog, processRemoveAllNodesForScopedLight, processRemoveAllNodesForScopedModelClip, processRemoveNodesForScopedAltApp, removeAllChildren, removeAllNodesForScopedAltApp, removeAllNodesForScopedFog, removeAllNodesForScopedLight, removeAllNodesForScopedModelClip, removeAltApp, removeAltAppScope, removeChild, removeChild, removeChildrenData, removeFog, removeFogScope, removeLight, removeLightScope, removeMclipScope, removeModelClip, searchGeometryAtoms, setAltAppScope, setAlternateCollisionTarget, setBounds, setBoundsAutoCompute, setChild, setCollisionBounds, setCompiled, setFogScope, setLightScope, setMclipScope, setScopingInfo, traverse, updateCollidable, updateLocalToVworld, updatePickable, updateSwitchStates, updateTransformStates, usedInScoping, validSwitchChild
 
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, 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

apiViewList

java.util.ArrayList apiViewList

cachedViewList

java.util.ArrayList cachedViewList

tempKey

HashKey tempKey

parentLists

java.util.ArrayList parentLists

SET_VIEW

static final int SET_VIEW
See Also:
Constant Field Values

ADD_VIEW

static final int ADD_VIEW
See Also:
Constant Field Values

REMOVE_VIEW

static final int REMOVE_VIEW
See Also:
Constant Field Values
Constructor Detail

ViewSpecificGroupRetained

ViewSpecificGroupRetained()
Method Detail

addView

void addView(View view)

setView

void setView(View view,
             int index)

processViewSpecificInfo

int[] processViewSpecificInfo(int mode,
                              HashKey key,
                              View v,
                              java.util.ArrayList vsgList,
                              int[] keyList,
                              java.util.ArrayList leaflist)
Overrides:
processViewSpecificInfo in class GroupRetained

getView

View getView(int index)

insertView

void insertView(View view,
                int index)

removeView

void removeView(int index)

getAllViews

java.util.Enumeration getAllViews()

numViews

int numViews()

indexOfView

int indexOfView(View view)

removeView

void removeView(View view)

removeAllViews

void removeAllViews()

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 GroupRetained

setLive

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

clearLive

void clearLive(SetLiveState s)
Description copied from class: GroupRetained
This version of clearLive calls clearLive on all of its chidren.

Overrides:
clearLive in class GroupRetained

removeNodeData

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

Overrides:
removeNodeData in class GroupRetained

updateCachedInformation

void updateCachedInformation(int component,
                             View view,
                             int index)

setNodeData

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

setAuxData

void setAuxData(SetLiveState s,
                int index,
                int hkIndex)
Overrides:
setAuxData in class NodeRetained


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