Class dnx.lr.GroupingNode
All Packages Class Hierarchy This Package Previous Next Index
Class dnx.lr.GroupingNode
java.lang.Object
|
+----dnx.util.DNXObject
|
+----dnx.lr.Node
|
+----dnx.lr.GroupingNode
- public class GroupingNode
- extends Node
- implements BoundingBoxCachingNode
-
subtreePropertyNodes
-
-
GroupingNode()
-
-
getCachedBoundingBox()
- For BoundingBoxCachingNode.
-
getChildren()
-
-
getSubtreePropertyNodes(Camera, Matrix4)
- Return the list of subtree property nodes in the children of
this node, only including those along the traversal path that
would be traversed if CAM were the current camera and
OBJECTTOVIEWERMATRIX the object-to-viewer matrix of this node.
-
handleFieldChange(Field)
- Handle a field change.
-
pushSubtreeProperties(SubtreePropertyTraversal)
- This method is called by traversals when they visit the node.
-
updateSubtreePropertyNodes(MFNode)
- Update the list of subtree property nodes in the children of
this node.
subtreePropertyNodes
protected NodeList subtreePropertyNodes
GroupingNode
public GroupingNode()
getCachedBoundingBox
public BoundingBox3 getCachedBoundingBox()
- For BoundingBoxCachingNode.
pushSubtreeProperties
public void pushSubtreeProperties(SubtreePropertyTraversal traversal)
- This method is called by traversals when they visit the node.
Subtree properties are pushed (with
traversal.pushSubtreeProperty()) before children are traversed,
and are restored afterward.
handleFieldChange
protected void handleFieldChange(Field f)
- Handle a field change.
- Overrides:
- handleFieldChange in class Node
updateSubtreePropertyNodes
protected void updateSubtreePropertyNodes(MFNode children)
- Update the list of subtree property nodes in the children of
this node. Called from handleFieldChange(). If you can't determine
the subtree property nodes at this time (i.e. LODNode), clear the
list, and compute each time in pushSubtreeProperties().
getChildren
public abstract MFNode getChildren()
getSubtreePropertyNodes
public NodeList getSubtreePropertyNodes(Camera cam,
Matrix4 objectToViewerMatrix)
- Return the list of subtree property nodes in the children of
this node, only including those along the traversal path that
would be traversed if CAM were the current camera and
OBJECTTOVIEWERMATRIX the object-to-viewer matrix of this node.
This will never include any prototype nodes.
All Packages Class Hierarchy This Package Previous Next Index