]> Creatis software - creaMaracasVisu.git/commitdiff
#3020 creaMaracasVisu Bug New Normal - ViewerNV opacity, isovalue slice (size)
authorEduardo DAVILA <eduardo.davila@creatis.insa-lyon.fr>
Tue, 27 Sep 2016 13:16:09 +0000 (15:16 +0200)
committerEduardo DAVILA <eduardo.davila@creatis.insa-lyon.fr>
Tue, 27 Sep 2016 13:16:09 +0000 (15:16 +0200)
1  2 
lib/maracasVisuLib/src/interface/wxWindows/widgets/wxMaracas_ViewerWidget.cxx
lib/maracasVisuLib/src/interface/wxWindows/widgets/wxVtkMPR2DView.cxx

index 35cf7c7358fb1afb96be073af98215c91d0ff3d9,96fad29aab966c22e5198c8c3bebe152cf7bf4dd..803bea180e9eed803882a9e249172eab98dd2b58
@@@ -289,8 -288,8 +289,9 @@@ 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 ((xx!=_backX) || (yy!=_backY) || (zz!=_backZ)  ) {
                        if (_direction==0) {    // YZ
                                if(_imageViewer2XYZ)
                                {
                        _backX=xx;
                        _backY=yy;
                        _backZ=zz;
 -              }
 +              } // if image
 +
  //EED 2016/02/19
        vtkImageActor *imageactor = _imageViewer2XYZ->GetVtkImageViewer2()->GetImageActor();
        imageactor->SetInterpolate( GetVtkBaseData()->GetInterpolate() );