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();
virtual void SetColorWindow(double s);
virtual void SetColorLevel(double s);
-
+ /**
+ * When it is enabled, beware of a call to GetExtent.
+ * we must have setted mReducedExtent otherwhise random values
+ * are returned by GetExtent
+ * */
void EnableReducedExtent(bool b);
void SetReducedExtent(int * ext);