X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=vv%2FvvSlicer.h;h=c2efcd805a0ca4c964c96df3e200bd96b81931ca;hb=ea61e98aed4316bda8b156aea5980b08eaf4302b;hp=7060b25318288300308e9ad9324fda653f76baf5;hpb=708c3b7aed9185a46428310d113fe59562a8d642;p=clitk.git diff --git a/vv/vvSlicer.h b/vv/vvSlicer.h index 7060b25..c2efcd8 100644 --- a/vv/vvSlicer.h +++ b/vv/vvSlicer.h @@ -51,7 +51,6 @@ class vvGlyph2D; class vvGlyphSource; class vtkCursor3D; class vtkCutter; -class vtkPlane; class vtkAssignAttribute; class vtkScalarBarActor; @@ -149,6 +148,8 @@ public: bool GetCursorVisibility(); void SetCursorColor(int r,int g, int b); + void GetExtremasAroundMousePointer(double & min, double & max); + void UpdateLandmarks(); void ForceUpdateDisplayExtent(); @@ -162,6 +163,10 @@ public: virtual void SetColorWindow(double s); virtual void SetColorLevel(double s); + + void EnableReducedExtent(bool b); + void SetReducedExtent(int * ext); + protected: vvSlicer(); ~vvSlicer(); @@ -194,7 +199,6 @@ protected: vtkSmartPointer mLandMapper; vtkSmartPointer mLandActor; vtkSmartPointer mClipBox; - vtkSmartPointer mSlicePlane; vtkSmartPointer legend; std::vector mSurfaceCutActors; @@ -205,6 +209,9 @@ protected: int mSubSampling; int mScale; int mVFLog; + bool mUseReducedExtent; + int * mReducedExtent; + int * mInitialExtent; private: void UpdateOrientation();