]> Creatis software - clitk.git/blobdiff - vv/vvSlicer.h
Corrected GetScalarComponentAsDouble and displayed pixel coordinates in
[clitk.git] / vv / vvSlicer.h
index 2a157d0da211468be6ae217f6c56e4d17beff20e..0246723ad1b69837694dccc6fd1b32b39cc13730 100644 (file)
@@ -107,7 +107,7 @@ public:
   void SetDisplayMode(bool i);
   void FlipHorizontalView();
   void FlipVerticalView();
-  static double GetScalarComponentAsDouble(vtkImageData *image, int X, double Y, double Z, int &ix, int &iy, int &iz, int component=0);
+  static double GetScalarComponentAsDouble(vtkImageData *image, double X, double Y, double Z, int &ix, int &iy, int &iz, int component=0);
   void Render();
   ///Sets the camera to fit the image in the window
   void ResetCamera();