예제 #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);
}