- _ptsA->SetPoint(0, x1 , y , z2 );
- _ptsA->SetPoint(1, x2 , y , z2 );
- _ptsB->SetPoint(0, x , y1, z2 );
- _ptsB->SetPoint(1, x , y2, z2 );
- }
- _backX=x;
- _backY=y;
- _backZ=z;
- }
+//EED 21 mars 2012 FLIP probleme ..PLOP..
+ //_ptsA->SetPoint(0, x1 , y , z2 );
+ //_ptsA->SetPoint(1, x2 , y , z2 );
+ //_ptsB->SetPoint(0, x , y1, z2 );
+ //_ptsB->SetPoint(1, x , y2, z2 );
+
+ _ptsA->SetPoint(0, xx1 , y , z1 );
+ _ptsA->SetPoint(1, xx2 , y , z1 );
+ _ptsB->SetPoint(0, x , yy1, z1 );
+ _ptsB->SetPoint(1, x , yy2, z1 );
+
+
+ } // if back
+
+//EED 2017-01-01 Migration VTK7
+#if VTK_MAJOR_VERSION <= 5
+ // ..
+#else
+ _ptsA->Modified();
+ _ptsB->Modified();
+#endif
+
+ _backX=xx;
+ _backY=yy;
+ _backZ=zz;
+ } // if image
+
+//EED 2016/02/19
+ vtkImageActor *imageactor = _imageViewer2XYZ->GetVtkImageViewer2()->GetImageActor();
+ imageactor->SetInterpolate( GetVtkBaseData()->GetInterpolate() );
+//EED 01nov2012
+ UpdateColorWindowLevel();