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