Пример #1
0
void MyClusterSite::SetViewer( osgViewer::Viewer& viewer )
{
  viewer.getSceneData()->asGroup()->addChild(root);
}
Пример #2
0
void MyClusterSite::RemoveViewer( osgViewer::Viewer& viewer )
{
  viewer.getSceneData()->asGroup()->removeChild(root);
}