- _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=xx;
- _backY=yy;
- _backZ=zz;
- }
+
+//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 );
+ position[0] = x;
+ position[1] = y;
+ focalpoint[0] = x;
+ focalpoint[1] = y;
+ } // if back
+
+//EED 2017-01-01 Migration VTK7
+#if VTK_MAJOR_VERSION <= 5
+ // ..
+#else
+ _ptsA->Modified();
+ _ptsB->Modified();
+#endif
+
+ if (fixAxis2D == true)
+ {
+ GetRenderer()->GetActiveCamera()->SetPosition(position);
+ GetRenderer()->GetActiveCamera()->SetFocalPoint(focalpoint);
+ } // if GetFixAxis2D
+ _lineAActor->GetProperty()->SetOpacity( opacityAxis );
+ _lineBActor->GetProperty()->SetOpacity( opacityAxis );
+ _backX = xx;
+ _backY = yy;
+ _backZ = zz;
+ _backFixAxis2D = fixAxis2D;
+ _backOpacityAxis= opacityAxis;
+ } // if image
+
+//EED 2016/02/19
+ vtkImageActor *imageactor = _imageViewer2XYZ->GetVtkImageViewer2()->GetImageActor();
+ imageactor->SetInterpolate( GetVtkBaseData()->GetInterpolate() );
+//EED 01nov2012
+ UpdateColorWindowLevel();