]> Creatis software - clitk.git/blobdiff - vv/vvSlicer.h
Refactored UpdateDisplayExtent. Use larger spacing between actors to overcome differe...
[clitk.git] / vv / vvSlicer.h
index 021703f54fd35d20e5db67bbc1881fd0da636b86..0ace4aca75dcd17a5f50f66155eef83759f033d9 100644 (file)
@@ -228,9 +228,8 @@ protected:
 private:
   void UpdateOrientation();
   void UpdateDisplayExtent();
-  void ComputeVFDisplayedExtent(int x1,int x2,int y1,int y2,int z1,int z2,int extent[6]);
-  void ComputeOverlayDisplayedExtent(int x1,int x2,int y1,int y2,int z1,int z2,int overExtent[6]);
-  void ComputeFusionDisplayedExtent(int x1,int x2,int y1,int y2,int z1,int z2,int overExtent[6]);
+  void ConvertImageToImageDisplayExtent(vtkImageData *sourceImage, const int sourceExtent[6],
+                                        vtkImageData *targetImage, int targetExtent[6]);
   ///Sets the surfaces to be cut on the image slice: update the vtkCutter
   void SetContourSlice();