X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2FmaracasVisuLib%2Fsrc%2Finterface%2FwxWindows%2Fwidgets%2FwxVtkMPR2DView.cxx;fp=lib%2FmaracasVisuLib%2Fsrc%2Finterface%2FwxWindows%2Fwidgets%2FwxVtkMPR2DView.cxx;h=803bea180e9eed803882a9e249172eab98dd2b58;hb=f658da98570615a244656fc122d935b6fc9a3c65;hp=35cf7c7358fb1afb96be073af98215c91d0ff3d9;hpb=76820b27f1b2256fc0b6849ee77181d46891baa6;p=creaMaracasVisu.git diff --git a/lib/maracasVisuLib/src/interface/wxWindows/widgets/wxVtkMPR2DView.cxx b/lib/maracasVisuLib/src/interface/wxWindows/widgets/wxVtkMPR2DView.cxx index 35cf7c7..803bea1 100644 --- a/lib/maracasVisuLib/src/interface/wxWindows/widgets/wxVtkMPR2DView.cxx +++ b/lib/maracasVisuLib/src/interface/wxWindows/widgets/wxVtkMPR2DView.cxx @@ -289,7 +289,8 @@ void wxVtkMPR2DView::Refresh() y = yy*spc[1]; z = zz*spc[2]; - if ((xx!=_backX) || (yy!=_backY) || (zz!=_backZ)) { + if ((xx!=_backX) || (yy!=_backY) || (zz!=_backZ)) + { if (_direction==0) { // YZ if(_imageViewer2XYZ) @@ -350,16 +351,15 @@ void wxVtkMPR2DView::Refresh() _backZ=zz; } // if image - //EED 2016/02/19 vtkImageActor *imageactor = _imageViewer2XYZ->GetVtkImageViewer2()->GetImageActor(); imageactor->SetInterpolate( GetVtkBaseData()->GetInterpolate() ); - //EED 01nov2012 UpdateColorWindowLevel(); wxVtkBaseView::Refresh(); } } + //------------------------------------------------------------------- int wxVtkMPR2DView::GetActualSlice() // virtual {