| java.lang.Object javax.media.j3d.IndexedObject javax.media.j3d.SceneGraphObjectRetained javax.media.j3d.NodeRetained
All known Subclasses: javax.media.j3d.LeafRetained, javax.media.j3d.GroupRetained,
NodeRetained | abstract class NodeRetained extends SceneGraphObjectRetained implements NnuId(Code) | | The Node class provides an abstract class for all Group and Leaf
Nodes. It provides a common framework for constructing a Java 3D
scene graph, including bounding volumes and parent pointers.
|
Method Summary | |
void | clearLive(SetLiveState s) | void | computeCombineBounds(Bounds bounds) ONLY needed for SHAPE, MORPH, and LINK node type. | void | computeNonLiveLocalToVworld(Transform3D t, Node caller) Compute the LocalToVworld of this node even though it is not live. | void | dirtyBoundsCache() | void | doSetLive(SetLiveState s) | public int | equal(NnuId obj) | void | findCollidableFlags(boolean collide) | void | findPickableFlags(boolean pick) | void | findTransformLevels(int transformLevels) | Bounds | getBounds() | boolean | getBoundsAutoCompute() Gets the auto Compute flag for the geometric bounds. | boolean | getCollidable() | Transform3D | getCurrentLocalToVworld() | Transform3D | getCurrentLocalToVworld(int index) | Transform3D | getCurrentLocalToVworld(HashKey key) | Bounds | getEffectiveBounds() Gets the bounding object of a node. | public int | getId() | Transform3D | getLastLocalToVworld() | Transform3D | getLastLocalToVworld(int index) | Transform3D | getLastLocalToVworld(HashKey key) | Bounds | getLocalBounds(Bounds bounds) | void | getLocalToVworld(Transform3D t) Get the localToVworld transform for a node. | void | getLocalToVworld(SceneGraphPath path, Transform3D t) Get the localToVworld transform for a node. | void | getLocalToVworld(Transform3D t, HashKey key) | Locale | getLocale() | NodeRetained | getParent() Returns the parent of the node. | boolean | getPickable() | VirtualUniverse | getVirtualUniverse() | boolean | isStatic() | void | merge(CompileState compState) | void | mergeTransform(TransformGroupRetained xform) | void | notifySceneGraphChanged(boolean globalTraverse) | int[] | processViewSpecificInfo(int mode, HashKey k, View v, ArrayList vsgList, int[] keyList, ArrayList leafList) | void | recombineAbove() | void | removeNodeData(SetLiveState s) remove the localToVworld transform for this node. | void | searchGeometryAtoms(UnorderList list) | void | setAuxData(SetLiveState s, int index, int hkIndex) | void | setBounds(Bounds bounds) Sets the geometric bounds of a node. | void | setBoundsAutoCompute(boolean autoCompute) Sets the automatic calcuation of geometric bounds of a node. | void | setCollidable(boolean collidable) | void | setLive(SetLiveState s) | void | setNodeData(SetLiveState s) | void | setParent(NodeRetained parent) Replaces the specified parent by a new parent. | void | setPickable(boolean pickable) | void | transformBounds(SceneGraphPath path, Bounds bound) | void | updateCollidable(HashKey keys, boolean collide) | synchronized void | updateLocalToVworld() | void | updatePickable(HashKey pickKeys, boolean pick) |
ALTERNATEAPPEARANCE | final static int ALTERNATEAPPEARANCE(Code) | | |
AMBIENTLIGHT | final static int AMBIENTLIGHT(Code) | | |
BACKGROUND | final static int BACKGROUND(Code) | | |
BACKGROUNDSOUND | final static int BACKGROUNDSOUND(Code) | | |
BEHAVIOR | final static int BEHAVIOR(Code) | | |
BOUNDINGLEAF | final static int BOUNDINGLEAF(Code) | | |
BRANCHGROUP | final static int BRANCHGROUP(Code) | | |
CLIP | final static int CLIP(Code) | | |
CONESOUND | final static int CONESOUND(Code) | | |
CONTAINS_VIEWPLATFORM | final static int CONTAINS_VIEWPLATFORM(Code) | | |
CURRENT_LOCAL_TO_VWORLD | final static int CURRENT_LOCAL_TO_VWORLD(Code) | | |
DECALGROUP | final static int DECALGROUP(Code) | | |
DIRECTIONALLIGHT | final static int DIRECTIONALLIGHT(Code) | | |
EXPONENTIALFOG | final static int EXPONENTIALFOG(Code) | | |
GROUP | final static int GROUP(Code) | | |
LAST_LOCAL_TO_VWORLD | final static int LAST_LOCAL_TO_VWORLD(Code) | | |
LINEARFOG | final static int LINEARFOG(Code) | | |
LINK | final static int LINK(Code) | | |
MODELCLIP | final static int MODELCLIP(Code) | | |
MORPH | final static int MORPH(Code) | | |
NUMNODES | final static int NUMNODES(Code) | | |
ORDEREDGROUP | final static int ORDEREDGROUP(Code) | | |
ORIENTEDSHAPE3D | final static int ORIENTEDSHAPE3D(Code) | | |
POINTLIGHT | final static int POINTLIGHT(Code) | | |
POINTSOUND | final static int POINTSOUND(Code) | | |
SHAPE | final static int SHAPE(Code) | | |
SHAREDGROUP | final static int SHAREDGROUP(Code) | | |
SOUNDSCAPE | final static int SOUNDSCAPE(Code) | | |
SPOTLIGHT | final static int SPOTLIGHT(Code) | | |
SWITCH | final static int SWITCH(Code) | | |
TRANSFORMGROUP | final static int TRANSFORMGROUP(Code) | | |
VIEWPLATFORM | final static int VIEWPLATFORM(Code) | | |
VIEWSPECIFICGROUP | final static int VIEWSPECIFICGROUP(Code) | | |
boundsAutoCompute | boolean boundsAutoCompute(Code) | | This boolean is true when the geometric bounds for the node is
automatically updated
|
branchGroupPaths | ArrayList branchGroupPaths(Code) | | Each element, p, of branchGroupPaths is a list of BranchGroup from
root of the tree to this.
For BranchGroup under a non-shared group this size of
branchGroupPaths is always 1. Otherwise, the size is equal to
the number of possible paths to reach this node.
This variable is used to cached BranchGroup for fast picking.
For non BranchGroupRetained class this is a reference to
the previous BranchGroupRetained branchGroupPaths.
|
childIndex | int childIndex(Code) | | This is the index for the child, as seen by its parent.
|
collidable | boolean collidable(Code) | | The collidable setting; see getCollidable and setCollidable.
|
inSharedGroup | boolean inSharedGroup(Code) | | This boolean is true when the node is in a sharedGroup
|
localToVworldIndex | int localToVworldIndex(Code) | | |
locale | Locale locale(Code) | | The locale that this node is attatched to. This is only non-null
if this instance is directly linked into a locale.
|
nodeType | int nodeType(Code) | | An int that represents the nodes type. Used for quick if tests
in the traverser.
|
pickable | boolean pickable(Code) | | This indicates if the node is pickable. If this node is not
pickable then neither are any children
|
validCachedBounds | protected boolean validCachedBounds(Code) | | |
NodeRetained | NodeRetained()(Code) | | |
computeCombineBounds | void computeCombineBounds(Bounds bounds)(Code) | | ONLY needed for SHAPE, MORPH, and LINK node type.
Compute the combine bounds of bounds and its localBounds.
|
computeNonLiveLocalToVworld | void computeNonLiveLocalToVworld(Transform3D t, Node caller)(Code) | | Compute the LocalToVworld of this node even though it is not live. We
assume the graph is attached at the origin of a locale
|
dirtyBoundsCache | void dirtyBoundsCache()(Code) | | Make the boundsCache of this node and all its parents dirty
|
findCollidableFlags | void findCollidableFlags(boolean collide)(Code) | | |
findPickableFlags | void findPickableFlags(boolean pick)(Code) | | |
findTransformLevels | void findTransformLevels(int transformLevels)(Code) | | |
getBoundsAutoCompute | boolean getBoundsAutoCompute()(Code) | | Gets the auto Compute flag for the geometric bounds.
the node's auto Compute flag for the geometric bounding object |
getCollidable | boolean getCollidable()(Code) | | |
getCurrentLocalToVworld | Transform3D getCurrentLocalToVworld()(Code) | | Get the current localToVworld transform for a node
|
getEffectiveBounds | Bounds getEffectiveBounds()(Code) | | Gets the bounding object of a node.
the node's bounding object |
getLastLocalToVworld | Transform3D getLastLocalToVworld()(Code) | | Get the last localToVworld transform for a node
|
getLocalToVworld | void getLocalToVworld(Transform3D t)(Code) | | Get the localToVworld transform for a node.
|
getLocale | Locale getLocale()(Code) | | Get the Locale to which the node is attached
|
getPickable | boolean getPickable()(Code) | | |
isStatic | boolean isStatic()(Code) | | |
notifySceneGraphChanged | void notifySceneGraphChanged(boolean globalTraverse)(Code) | | For the default, just pass up to parent
|
recombineAbove | void recombineAbove()(Code) | | |
removeNodeData | void removeNodeData(SetLiveState s)(Code) | | remove the localToVworld transform for this node.
|
setBounds | void setBounds(Bounds bounds)(Code) | | Sets the geometric bounds of a node.
Parameters: bounds - the bounding object for the node |
setBoundsAutoCompute | void setBoundsAutoCompute(boolean autoCompute)(Code) | | Sets the automatic calcuation of geometric bounds of a node.
Parameters: autoCompute - is a boolean value indicating if automatic calcuation of bounds |
setCollidable | void setCollidable(boolean collidable)(Code) | | |
setParent | void setParent(NodeRetained parent)(Code) | | Replaces the specified parent by a new parent.
Parameters: parent - the new parent |
setPickable | void setPickable(boolean pickable)(Code) | | |
updateCollidable | void updateCollidable(HashKey keys, boolean collide)(Code) | | |
updateLocalToVworld | synchronized void updateLocalToVworld()(Code) | | |
updatePickable | void updatePickable(HashKey pickKeys, boolean pick)(Code) | | |
Fields inherited from javax.media.j3d.IndexedObject | int[][] listIdx(Code)(Java Doc)
|
|
|