|
Aviatrix3D 2.1.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface SceneGraphTraversalObserver
An observer interface that reports on the scene graph traversal state.
The observer will report the top of a use hierarchy. If the traverser, in it's internal references, detects a reference re-use then the flag will be passed indicating this state. Once a shared graph has been detected, the traverser does not further re-descend the shared state.
When reporting the parent node, if the root is the root node of the scene graph, the parent reference will be null.
| Method Summary | |
|---|---|
void |
observedNode(SceneGraphObject parent,
SceneGraphObject child,
boolean shared,
int depth)
Notification of a scene graph object that has been traversed in the scene. |
| Method Detail |
|---|
void observedNode(SceneGraphObject parent,
SceneGraphObject child,
boolean shared,
int depth)
parent - The parent node of this nodechild - The child node that is being observedshared - true if the object reference has already been traversed
and this is beyond the first referencedepth - The depth of traversal from the top of the tree. Starts at 0 for top.
|
Aviatrix3D 2.1.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||