public class DepthFirstWalker extends Object implements SceneGraphWalker
SceneGraphWalker.Visitor| Modifier and Type | Field and Description |
|---|---|
protected List<SceneGraphWalker.Visitor> |
visitors
List of all visitors
|
| Constructor and Description |
|---|
DepthFirstWalker() |
| Modifier and Type | Method and Description |
|---|---|
void |
addVisitor(SceneGraphWalker.Visitor visitor)
Add a visitor, which should be
called during the search.
|
void |
clearVisitors()
Remove all visitors from the SceneGraphWalker
|
void |
scan(Node node)
Scans the given Node
This should scan all child nodes.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetVisitorsprotected List<SceneGraphWalker.Visitor> visitors
public void scan(Node node)
scan in interface NodeScannerscan in interface SceneGraphWalkernode - Node to scanpublic void addVisitor(SceneGraphWalker.Visitor visitor)
addVisitor in interface SceneGraphWalkervisitor - Visitorpublic void clearVisitors()
clearVisitors in interface SceneGraphWalkerCopyright © 2014. All rights reserved.