X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=vv%2FvvSlicer.h;h=a5156f28bc92e4f3c08e49db2c30b74c46d44ff9;hb=6fa5bbd40985c9fd270cc1b66e19290aeea90712;hp=0536bc1e7ef38995f20918af8d53d9b0c73b93be;hpb=4e8939cad4521503fc448378dd148373bd4d129e;p=clitk.git diff --git a/vv/vvSlicer.h b/vv/vvSlicer.h index 0536bc1..a5156f2 100644 --- a/vv/vvSlicer.h +++ b/vv/vvSlicer.h @@ -153,7 +153,7 @@ public: void SetCornerAnnotationVisibility(bool s); bool GetCornerAnnotationVisibility(); - void GetExtremasAroundMousePointer(double & min, double & max); + void GetExtremasAroundMousePointer(double & min, double & max, vtkImageData *image); void UpdateLandmarks(); void ForceUpdateDisplayExtent(); @@ -168,6 +168,14 @@ public: virtual void SetColorWindow(double s); virtual void SetColorLevel(double s); + double GetOverlayColorWindow(); + double GetOverlayColorLevel(); + bool GetLinkOverlayWindowLevel() { return mLinkOverlayWindowLevel; } + + void SetOverlayColorWindow(double s); + void SetOverlayColorLevel(double s); + void SetLinkOverlayWindowLevel(bool b) { mLinkOverlayWindowLevel = b; } + /** * When it is enabled, beware of a call to GetExtent. * we must have setted mReducedExtent otherwhise random values @@ -235,6 +243,7 @@ protected: bool mUseReducedExtent; int * mReducedExtent; int * mInitialExtent; + bool mLinkOverlayWindowLevel; private: void UpdateOrientation();