javax.media.j3d
Class OrderedGroupRetained
java.lang.Object
javax.media.j3d.IndexedObject
javax.media.j3d.SceneGraphObjectRetained
javax.media.j3d.NodeRetained
javax.media.j3d.GroupRetained
javax.media.j3d.OrderedGroupRetained
- All Implemented Interfaces:
- java.lang.Cloneable, BHLeafInterface, NnuId
- Direct Known Subclasses:
- DecalGroupRetained
class OrderedGroupRetained
- extends GroupRetained
The OrderedGroup is a group node that ensures its children rendered
in index increasing order.
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 |
Method Summary |
(package private) void |
addChild(Node child)
Appends the specified child to this node's list of children. |
(package private) void |
addChild(Node child,
int[] cIOArr)
|
(package private) void |
appendChildrenData()
|
(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 |
clearDerivedDataStructures()
|
(package private) void |
clearLive(SetLiveState s)
This version of clearLive calls clearLive on all of its chidren. |
(package private) void |
compile(CompileState compState)
Compiles the children of the OrderedGroup, preventing shape merging at
this level or above |
(package private) void |
decrChildCount()
|
(package private) void |
doAddChildIndexEntry()
|
(package private) void |
doRemoveChild(int index,
J3dMessage[] messages,
int messageIndex)
|
(package private) void |
doRemoveChildIndexEntry(int index)
|
(package private) void |
freeOrderedChildId(int id)
|
(package private) int[] |
getChildIndexOrder()
|
(package private) OrderedBin |
getOrderedBin(int index)
|
(package private) int |
getOrderedChildCount()
|
(package private) java.lang.Integer |
getOrderedChildId()
|
(package private) void |
incrChildCount()
|
(package private) void |
insertChildrenData(int index)
|
(package private) void |
moveTo(BranchGroup bg)
|
(package private) void |
printTable(int[] table)
|
(package private) void |
removeChildrenData(int index)
|
(package private) void |
removeNodeData(SetLiveState s)
remove the localToVworld transform for this node. |
(package private) void |
setAuxData(SetLiveState s,
int index,
int hkIndex)
|
(package private) void |
setChildIndexOrder(int[] cIOArr)
|
(package private) void |
setLive(SetLiveState s)
|
(package private) void |
setNodeData(SetLiveState s)
|
(package private) void |
setOrderedBin(OrderedBin ob,
int index)
|
(package private) void |
updateChildIdTableInserted(int childId,
int orderedId)
|
(package private) void |
updateChildIdTableRemoved(int childId)
|
Methods inherited from class javax.media.j3d.GroupRetained |
addAllNodesForScopedAltApp, addAllNodesForScopedFog, addAllNodesForScopedLight, addAllNodesForScopedModelClip, addAltApp, addFog, addLight, addModelClip, checkClearLive, checkClearLive, checkSetLive, checkSetLive, checkValidChild, computeBoundingHull, computeCombineBounds, createMirrorGroup, doAddChild, doInsertChild, doMoveTo, doSetChild, doSetLive, findSwitchInfo, gatherBlUsers, getAllChildren, getAlternateCollisionTarget, getBounds, getChild, getClosestTargetsInterface, getCollisionBounds, getEffectiveBounds, getLocale2, indexOfChild, initSwitchStates, initTransformStates, insertChild, isEnable, isEnable, isNodeSwitchOn, isStatic, isStaticChildren, merge, numChildren, processAddNodesForScopedAltApp, processAddNodesForScopedFog, processAddNodesForScopedModelClip, processAllNodesForScopedLight, processCollisionTarget, processRemoveAllNodesForScopedFog, processRemoveAllNodesForScopedLight, processRemoveAllNodesForScopedModelClip, processRemoveNodesForScopedAltApp, processViewSpecificInfo, removeAllChildren, removeAllNodesForScopedAltApp, removeAllNodesForScopedFog, removeAllNodesForScopedLight, removeAllNodesForScopedModelClip, removeAltApp, removeAltAppScope, removeChild, removeChild, 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 java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
orderedChildIdTable
int[] orderedChildIdTable
orderedChildIdCount
private int orderedChildIdCount
orderedChildIdFreeList
private java.util.ArrayList orderedChildIdFreeList
orderedBin
OrderedBin[] orderedBin
newChildId
java.lang.Integer newChildId
childCount
int childCount
childrenOrderedPaths
java.util.ArrayList childrenOrderedPaths
userChildIndexOrder
int[] userChildIndexOrder
childIndexOrder
int[] childIndexOrder
OrderedGroupRetained
OrderedGroupRetained()
setChildIndexOrder
void setChildIndexOrder(int[] cIOArr)
getChildIndexOrder
int[] getChildIndexOrder()
getOrderedChildId
java.lang.Integer getOrderedChildId()
freeOrderedChildId
void freeOrderedChildId(int id)
getOrderedChildCount
int getOrderedChildCount()
addChild
void addChild(Node child)
- Description copied from class:
GroupRetained
- Appends the specified child to this node's list of children.
- Overrides:
addChild
in class GroupRetained
- Parameters:
child
- the child to add to this node's list of children
addChild
void addChild(Node child,
int[] cIOArr)
moveTo
void moveTo(BranchGroup bg)
- Overrides:
moveTo
in class GroupRetained
doRemoveChildIndexEntry
void doRemoveChildIndexEntry(int index)
doAddChildIndexEntry
void doAddChildIndexEntry()
compile
void compile(CompileState compState)
- Compiles the children of the OrderedGroup, preventing shape merging at
this level or above
- Overrides:
compile
in class GroupRetained
setOrderedBin
void setOrderedBin(OrderedBin ob,
int index)
getOrderedBin
OrderedBin getOrderedBin(int index)
updateChildIdTableInserted
void updateChildIdTableInserted(int childId,
int orderedId)
updateChildIdTableRemoved
void updateChildIdTableRemoved(int childId)
setAuxData
void setAuxData(SetLiveState s,
int index,
int hkIndex)
- Overrides:
setAuxData
in class NodeRetained
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
setNodeData
void setNodeData(SetLiveState s)
- Overrides:
setNodeData
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
clearDerivedDataStructures
void clearDerivedDataStructures()
incrChildCount
void incrChildCount()
decrChildCount
void decrChildCount()
printTable
void printTable(int[] table)
insertChildrenData
void insertChildrenData(int index)
- Overrides:
insertChildrenData
in class GroupRetained
appendChildrenData
void appendChildrenData()
- Overrides:
appendChildrenData
in class GroupRetained
doRemoveChild
void doRemoveChild(int index,
J3dMessage[] messages,
int messageIndex)
- Overrides:
doRemoveChild
in class GroupRetained
removeChildrenData
void removeChildrenData(int index)
- Overrides:
removeChildrenData
in class GroupRetained
childDoSetLive
void childDoSetLive(NodeRetained child,
int childIndex,
SetLiveState s)
- Overrides:
childDoSetLive
in class GroupRetained
childCheckSetLive
void childCheckSetLive(NodeRetained child,
int childIndex,
SetLiveState s,
NodeRetained linkNode)
- Overrides:
childCheckSetLive
in class GroupRetained
Copyright 1996-2008 Sun Microsystems, Inc. All Rights Reserved. Use is subject to license terms.