From: Eduardo DAVILA Date: Fri, 7 Jun 2013 06:33:21 +0000 (+0200) Subject: 2037 Bug Visualizataion Error, The camara of the 3D window (Graph) is not configur... X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?p=bbtkGEditor.git;a=commitdiff_plain;h=cbf0adf452e707e77d2e00d4d5920422693ec650 2037 Bug Visualizataion Error, The camara of the 3D window (Graph) is not configurated correctly --- diff --git a/lib/EditorGraphicBBS/bbsWxGUIEditorGraphic/wxGEditorTabPanel.cxx b/lib/EditorGraphicBBS/bbsWxGUIEditorGraphic/wxGEditorTabPanel.cxx index 58e8835..b6ff6fa 100644 --- a/lib/EditorGraphicBBS/bbsWxGUIEditorGraphic/wxGEditorTabPanel.cxx +++ b/lib/EditorGraphicBBS/bbsWxGUIEditorGraphic/wxGEditorTabPanel.cxx @@ -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);