+
+ void wxVtkSceneManager::centerView()
+ {
+ double temp[3];
+ _baseView->GetRenderer()->GetActiveCamera()->GetFocalPoint(temp);
+ printf("RaC wxVtkSceneManager::deleteAllBoxes() GetFocalPoint x:%f y:%f z:%f \n",temp[0],temp[1],temp[2]);
+ _baseView->GetRenderer()->GetActiveCamera()->SetFocalPoint(0,0,temp[2]);
+ _baseView->GetRenderer()->GetActiveCamera()->GetPosition(temp);
+ printf("RaC wxVtkSceneManager::deleteAllBoxes() GetPosition x:%f y:%f z:%f \n",temp[0],temp[1],temp[2]);
+ _baseView->GetRenderer()->GetActiveCamera()->SetPosition(0,0,temp[2]);
+ _baseView->RefreshView();
+
+ }
+
+ //=========================================================================