|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.media.j3d.IndexedObject
javax.media.j3d.SceneGraphObjectRetained
javax.media.j3d.NodeRetained
javax.media.j3d.GroupRetained
javax.media.j3d.TransformGroupRetained
class TransformGroupRetained
Group node that contains a transform.
Field Summary | |
---|---|
(package private) boolean |
aboveAViewPlatform
|
(package private) CachedTargets[] |
cachedTargets
|
(package private) Transform3D[][] |
childLocalToVworld
localVworld values for children of this TG |
(package private) int[][] |
childLocalToVworldIndex
|
(package private) Transform3D[][] |
childTrans
|
(package private) java.util.ArrayList |
childTransformLinks
|
(package private) int[][] |
childTransIndex
|
(package private) HashKey |
currentKey
|
(package private) Transform3D |
currentTransform
The Transform value currently being used internally |
(package private) Transform3D |
invTransform
The inverse of the transform |
(package private) CachedTargets[] |
j3dCTs
|
(package private) int |
localTargetThreads
A bitmask of the types in targets |
(package private) int |
maxTransformLevel
|
(package private) boolean |
needNormalsTransform
|
(package private) Transform3D |
normalTransform
The transpose of the inverse of the transform |
(package private) TransformGroupData[] |
perPathData
|
(package private) int |
targetThreads
|
(package private) Transform3D |
transform
The Transform value for the TransformGroup. |
(package private) WakeupIndexedList |
transformChange
A list of WakeupOnTransformChange conditions for this Transform |
(package private) int[] |
transformLevels
|
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.SceneGraphObjectRetained |
---|
DONT_MERGE, inBackgroundGroup, inSetLive, MERGE, MERGE_DONE, mergeFlag, onUpdateList, source |
Fields inherited from class javax.media.j3d.IndexedObject |
---|
listIdx |
Fields inherited from interface javax.media.j3d.TargetsInterface |
---|
SWITCH_TARGETS, TRANSFORM_TARGETS |
Constructor Summary | |
---|---|
TransformGroupRetained()
The constructor |
Method Summary | |
---|---|
(package private) void |
addCondition(WakeupOnTransformChange wakeup)
|
(package private) void |
childCheckSetLive(NodeRetained child,
int childIndex,
SetLiveState s,
NodeRetained linkNode)
|
(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) void |
computeCombineBounds(Bounds bounds)
ONLY needed for SHAPE, MORPH, and LINK node type. |
void |
computeTargetThreads(int type,
CachedTargets[] newCachedTargets)
|
void |
copyCachedTargets(int type,
CachedTargets[] newCt)
|
CachedTargets |
getCachedTargets(int type,
int index,
int child)
|
(package private) TargetsInterface |
getClosestTargetsInterface(int type)
|
(package private) Transform3D |
getCurrentChildLocalToVworld()
Get the current child localToVworld transform for a node |
(package private) Transform3D |
getCurrentChildLocalToVworld(HashKey key)
|
(package private) Transform3D |
getCurrentChildLocalToVworld(int index)
|
(package private) Transform3D |
getInvTransform()
|
(package private) Transform3D |
getLastChildLocalToVworld(HashKey key)
Get the last child localToVworld transform for a node |
(package private) Transform3D |
getNormalTransform()
|
java.util.ArrayList |
getTargetsData(int type,
int index)
|
int |
getTargetThreads(int type)
|
(package private) void |
getTransform(Transform3D t1)
Copies the transform component of this TransformGroup into the passed transform object. |
(package private) Transform3D |
getUpdateChildLocalToVworld(int index)
get the to be updated child localToVworld |
(package private) boolean |
isStatic()
true if component can't be read or written after compile or setlive() |
(package private) void |
merge(CompileState compState)
|
(package private) void |
mergeTransform(TransformGroupRetained xform)
|
(package private) void |
notifyConditions()
|
(package private) void |
processChildLocalToVworld(java.util.ArrayList dirtyTransformGroups,
java.util.ArrayList keySet,
UpdateTargets targets,
java.util.ArrayList blUsers)
|
void |
propagateTargetThreads(int type,
int childTargetThreads)
|
(package private) void |
removeCondition(WakeupOnTransformChange wakeup)
|
(package private) void |
removeNodeData(SetLiveState s)
remove the localToVworld transform for a transformGroup |
void |
resetCachedTargets(int type,
CachedTargets[] newCtArr,
int child)
|
(package private) void |
setAuxData(SetLiveState s,
int index,
int hkIndex)
|
(package private) void |
setLive(SetLiveState s)
This setlive simply concatinates it's transform onto all the ones passed in. |
(package private) void |
setNodeData(SetLiveState s)
|
(package private) void |
setTransform(Transform3D t1)
Sets the transform component of this TransformGroup to the value of the passed transform. |
(package private) void |
transformBounds(SceneGraphPath path,
Bounds bound)
Transform the input bound by the current LocalToVWorld, this one overwrite the one defined in NodeRetained since for TransformGroup, it has to use currentChildLocalToVworld instead of currentLocalToVworld |
(package private) void |
traverse(boolean sameLevel,
int level)
|
void |
updateCachedTargets(int type,
CachedTargets[] newCt)
|
(package private) void |
updateChildLocalToVworld(java.util.ArrayList dirtyTransformGroups,
java.util.ArrayList keySet,
UpdateTargets targets,
java.util.ArrayList blUsers)
|
(package private) void |
updateChildLocalToVworld(HashKey key,
int index,
java.util.ArrayList dirtyTransformGroups,
java.util.ArrayList keySet,
UpdateTargets targets,
java.util.ArrayList blUsers)
|
void |
updateTargetThreads(int type,
CachedTargets[] newCachedTargets)
|
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 |
---|
Transform3D transform
Transform3D invTransform
Transform3D normalTransform
Transform3D currentTransform
Transform3D[][] childLocalToVworld
int[][] childLocalToVworldIndex
Transform3D[][] childTrans
int[][] childTransIndex
int localTargetThreads
int targetThreads
WakeupIndexedList transformChange
java.util.ArrayList childTransformLinks
boolean needNormalsTransform
HashKey currentKey
boolean aboveAViewPlatform
int maxTransformLevel
int[] transformLevels
CachedTargets[] j3dCTs
CachedTargets[] cachedTargets
TransformGroupData[] perPathData
Constructor Detail |
---|
TransformGroupRetained()
Method Detail |
---|
void setTransform(Transform3D t1)
t1
- the transform to be copiedvoid getTransform(Transform3D t1)
t1
- the transform object to be copied intoTransform3D getInvTransform()
Transform3D getNormalTransform()
void setNodeData(SetLiveState s)
setNodeData
in class GroupRetained
void setAuxData(SetLiveState s, int index, int hkIndex)
setAuxData
in class NodeRetained
void removeCondition(WakeupOnTransformChange wakeup)
void addCondition(WakeupOnTransformChange wakeup)
void notifyConditions()
boolean isStatic()
SceneGraphObjectRetained
isStatic
in class GroupRetained
void mergeTransform(TransformGroupRetained xform)
mergeTransform
in class NodeRetained
void traverse(boolean sameLevel, int level)
traverse
in class GroupRetained
void compile(CompileState compState)
SceneGraphObjectRetained
compile
in class GroupRetained
void merge(CompileState compState)
merge
in class GroupRetained
void setLive(SetLiveState s)
setLive
in class GroupRetained
void removeNodeData(SetLiveState s)
removeNodeData
in class GroupRetained
void clearLive(SetLiveState s)
GroupRetained
clearLive
in class GroupRetained
void computeCombineBounds(Bounds bounds)
NodeRetained
computeCombineBounds
in class GroupRetained
void processChildLocalToVworld(java.util.ArrayList dirtyTransformGroups, java.util.ArrayList keySet, UpdateTargets targets, java.util.ArrayList blUsers)
void updateChildLocalToVworld(HashKey key, int index, java.util.ArrayList dirtyTransformGroups, java.util.ArrayList keySet, UpdateTargets targets, java.util.ArrayList blUsers)
void updateChildLocalToVworld(java.util.ArrayList dirtyTransformGroups, java.util.ArrayList keySet, UpdateTargets targets, java.util.ArrayList blUsers)
void transformBounds(SceneGraphPath path, Bounds bound)
transformBounds
in class NodeRetained
Transform3D getUpdateChildLocalToVworld(int index)
Transform3D getCurrentChildLocalToVworld()
Transform3D getCurrentChildLocalToVworld(int index)
Transform3D getCurrentChildLocalToVworld(HashKey key)
Transform3D getLastChildLocalToVworld(HashKey key)
public int getTargetThreads(int type)
getTargetThreads
in interface TargetsInterface
public CachedTargets getCachedTargets(int type, int index, int child)
getCachedTargets
in interface TargetsInterface
TargetsInterface getClosestTargetsInterface(int type)
getClosestTargetsInterface
in class GroupRetained
public void computeTargetThreads(int type, CachedTargets[] newCachedTargets)
computeTargetThreads
in interface TargetsInterface
public void updateTargetThreads(int type, CachedTargets[] newCachedTargets)
updateTargetThreads
in interface TargetsInterface
public void propagateTargetThreads(int type, int childTargetThreads)
propagateTargetThreads
in interface TargetsInterface
public void updateCachedTargets(int type, CachedTargets[] newCt)
updateCachedTargets
in interface TargetsInterface
public void copyCachedTargets(int type, CachedTargets[] newCt)
copyCachedTargets
in interface TargetsInterface
public void resetCachedTargets(int type, CachedTargets[] newCtArr, int child)
resetCachedTargets
in interface TargetsInterface
public java.util.ArrayList getTargetsData(int type, int index)
getTargetsData
in interface TargetsInterface
void childCheckSetLive(NodeRetained child, int childIndex, SetLiveState s, NodeRetained linkNode)
childCheckSetLive
in class GroupRetained
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |