void Scene_BrushSelectByShader(scene::Graph& graph, const std::string& name) { BrushSelectByShaderWalker walker(name); Node_traverseSubgraph(graph.root(), walker); }
void Scene_forEachPlaneSelectable_selectReversedPlanes(scene::Graph& graph, Selector& selector, const SelectedPlanes& selectedPlanes) { graph.traverse(PlaneSelectableSelectReversedPlanes(selector, selectedPlanes)); }
void Scene_forEachPlaneSelectable_selectPlanes(scene::Graph& graph, Selector& selector, SelectionTest& test, const PlaneCallback& selectedPlaneCallback) { graph.traverse(PlaneSelectableSelectPlanes(selector, test, selectedPlaneCallback)); }
void Scene_BrushSelectByShader(scene::Graph& graph, const char* name) { graph.traverse(BrushSelectByShaderWalker(name)); }
inline void Scene_forEachVisibleBrush(scene::Graph& graph, const Functor& functor) { graph.traverse(BrushVisibleWalker<Functor>(functor)); }
inline void Scene_forEachBrush(scene::Graph& graph, const Functor& functor) { graph.traverse(InstanceWalker< InstanceApply<BrushInstance, Functor> >(functor)); }