]> Creatis software - creaMaracasVisu.git/blobdiff - lib/maracasVisuLib/src/interface/wxWindows/widgets/wxVtkClipping3DView.cxx
2022 Feature Cleanning Viewer type camera in viewer 3D
[creaMaracasVisu.git] / lib / maracasVisuLib / src / interface / wxWindows / widgets / wxVtkClipping3DView.cxx
index 91cfbc2f4a597d2223b430923fceced09fe6b766..a53f035ec2421be2185950c90eba8b1759fb709a 100644 (file)
@@ -156,7 +156,6 @@ wxVtk3DBaseView* wxVtkClipping3DView::GetWxvtk3Dbaseview()throw(char*)
 //-------------------------------------------------------------------
 void wxVtkClipping3DView::Configure()
 {
-
        _wxvtk3Dbaseview->Configure();
 
        // Actors are added to the renderer.
@@ -227,11 +226,13 @@ void wxVtkClipping3DView::Configure()
 //     _boxWidgetVolume->GetPlanes( vtkplanes );
 
 
+//EED 27/05/2013
+//  _wxvtk3Dbaseview->GetRenderer()->ResetCamera ();
+//  _wxvtk3Dbaseview->GetCamera()->Dolly(1.2);
+
   // An initial camera view is created.  The Dolly() method moves
   // the camera towards the FocalPoint, thereby enlarging the image.
-  _wxvtk3Dbaseview->GetRenderer()->SetActiveCamera(_wxvtk3Dbaseview->GetCamera());
-  _wxvtk3Dbaseview->GetRenderer()->ResetCamera ();
-  _wxvtk3Dbaseview->GetCamera()->Dolly(2);
+        _wxvtk3Dbaseview->ResetCamera();
 
 
   // Set a background color for the renderer and set the size of the