]> Creatis software - bbtkGEditor.git/commitdiff
2037 Bug Visualizataion Error, The camara of the 3D window (Graph) is not configur...
authorEduardo DAVILA <eduardo.davila@creatis.insa-lyon.fr>
Fri, 7 Jun 2013 06:33:21 +0000 (08:33 +0200)
committerEduardo DAVILA <eduardo.davila@creatis.insa-lyon.fr>
Fri, 7 Jun 2013 06:33:21 +0000 (08:33 +0200)
lib/EditorGraphicBBS/bbsWxGUIEditorGraphic/wxGEditorTabPanel.cxx

index 58e8835daf6f83690c92aeb5fa7694541078b3da..b6ff6fad5058eb20349cc797a3d18bd84c35624a 100644 (file)
@@ -100,6 +100,11 @@ namespace bbtk
        {
                wxVtk3DBaseView *baseview = new wxVtk3DBaseView(this);
                baseview->Configure();
+//EED 07 juin 2013
+               baseview->GetCamera()->SetViewUp (0, 1, 0);
+               baseview->GetCamera()->SetPosition (0, 0, 1);
+               baseview->GetCamera()->SetFocalPoint (0, 0, 0);
+
 //EED 15 oct 2012              _sceneManager=new wxVtkSceneManager(this,baseview,_id);
                _sceneManager=new wxVtkSceneManager(this,baseview,_id, _bbtkfactory);