X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;ds=sidebyside;f=vv%2FvvSlicer.h;h=c2efcd805a0ca4c964c96df3e200bd96b81931ca;hb=ea61e98aed4316bda8b156aea5980b08eaf4302b;hp=184df43176a1efc63c974d76f499ce9cb9c2e741;hpb=931a42358442f4ee4f314613c991c838d4b4e3b7;p=clitk.git diff --git a/vv/vvSlicer.h b/vv/vvSlicer.h index 184df43..c2efcd8 100644 --- a/vv/vvSlicer.h +++ b/vv/vvSlicer.h @@ -1,10 +1,7 @@ /*========================================================================= Program: vv - Module: $RCSfile: vvSlicer.h,v $ Language: C++ - Date: $Date: 2010/01/06 13:31:57 $ - Version: $Revision: 1.1 $ Author : Pierre Seroul (pierre.seroul@gmail.com) Copyright (C) 2008 @@ -54,7 +51,6 @@ class vvGlyph2D; class vvGlyphSource; class vtkCursor3D; class vtkCutter; -class vtkPlane; class vtkAssignAttribute; class vtkScalarBarActor; @@ -152,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 +160,13 @@ public: ///Toggle temporal superposition of contours void ToggleContourSuperposition(); + 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();