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