public class PathCollector extends SceneGraphVisitor
all paths
betweenthe given
SceneGraphComponent
and the given SceneGraphNode
.
TODO: make this a collector, put methods in SceneGraphUtility (get all paths as well)
TODO: return list of ALL paths
make singletonModifier and Type | Class and Description |
---|---|
static interface |
PathCollector.Matcher |
Constructor and Description |
---|
PathCollector(PathCollector.Matcher matcher,
SceneGraphComponent root) |
Modifier and Type | Method and Description |
---|---|
List<SceneGraphPath> |
visit() |
void |
visit(SceneGraphComponent c) |
void |
visit(SceneGraphNode m) |
public PathCollector(PathCollector.Matcher matcher, SceneGraphComponent root)
public List<SceneGraphPath> visit()
public void visit(SceneGraphNode m)
visit
in class SceneGraphVisitor
public void visit(SceneGraphComponent c)
visit
in class SceneGraphVisitor