From: Eduardo Davila Date: Mon, 9 Jul 2012 13:00:56 +0000 (+0000) Subject: 1492 Bug X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=65b312b55f9286a946f956d87a62746c27d23a03;p=bbtk.git 1492 Bug viewer 2D view orientation --- diff --git a/packages/wxvtk/src/wxvtkImageViewer2.cxx b/packages/wxvtk/src/wxvtkImageViewer2.cxx index 45ab995..2b33e4e 100644 --- a/packages/wxvtk/src/wxvtkImageViewer2.cxx +++ b/packages/wxvtk/src/wxvtkImageViewer2.cxx @@ -26,7 +26,7 @@ #include "vtkRenderWindowInteractor.h" #include "vtkRenderer.h" -vtkCxxRevisionMacro(wxvtkImageViewer2, "$Revision: 1.6 $"); +vtkCxxRevisionMacro(wxvtkImageViewer2, "$Revision: 1.7 $"); vtkStandardNewMacro(wxvtkImageViewer2); //---------------------------------------------------------------------------- @@ -315,8 +315,8 @@ void wxvtkImageViewer2::UpdateOrientation() switch (this->SliceOrientation) { case wxvtkImageViewer2::SLICE_ORIENTATION_YZ: - cam->SetViewUp(0,0,-1); - cam->SetPosition(-1,0,0); // -1 if medical ? + cam->SetViewUp(0,0,1); + cam->SetPosition(1,0,0); // -1 if medical ? cam->SetFocalPoint(0,0,0); break;