X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=vv%2FvvSlicerManager.h;h=cb254525ed6076d11688ebbe4630c7fa339f53bc;hb=0608e5a94e72e6c2ae9a1de81657b1f48ed61c3b;hp=e8a229b877d8dc3e9d669c58d429742401e2753d;hpb=6194949c0beb1589904e22381b9aba1bbface172;p=clitk.git diff --git a/vv/vvSlicerManager.h b/vv/vvSlicerManager.h index e8a229b..cb25452 100644 --- a/vv/vvSlicerManager.h +++ b/vv/vvSlicerManager.h @@ -136,34 +136,37 @@ class vvSlicerManager : public QObject { void SetFusionLevel(double level) { mFusionLevel = level; } + void SetFusionShowLegend(int show) { + mFusionShowLegend = show; + } double GetColorWindow(); double GetColorLevel(); - double GetOverlayColorWindow(); - double GetOverlayColorLevel(); - bool GetLinkOverlayWindowLevel(); + double GetOverlayColorWindow() const; + double GetOverlayColorLevel() const; + bool GetLinkOverlayWindowLevel() const; int GetColorMap() { return mColorMap; } int GetPreset() { return mPreset; } - int GetOverlayColor() { + int GetOverlayColor() const { return mOverlayColor; } - int GetFusionOpacity() { + int GetFusionOpacity() const { return mFusionOpacity; } - int GetFusionThresholdOpacity() { + int GetFusionThresholdOpacity() const { return mFusionThresOpacity; } - int GetFusionColorMap() { + int GetFusionColorMap() const { return mFusionColorMap; } - double GetFusionWindow() { + double GetFusionWindow() const { return mFusionWindow; } - double GetFusionLevel() { + double GetFusionLevel() const { return mFusionLevel; } @@ -196,6 +199,8 @@ class vvSlicerManager : public QObject { void Activated(); void Picked(); void UpdateInfoOnCursorPosition(int slicer); + void EmitMousePositionUpdated(int slicer); + void EmitKeyPressed(std::string keyPress); void UpdateWindowLevel(); void UpdateSlice(int slicer); void UpdateTSlice(int slicer); @@ -217,6 +222,8 @@ signals : void UpdateVector(int display, double x, double y, double z, double value); void UpdateOverlay(int display, double valueOver, double valueRef); void UpdateFusion(int display, double valueFus); + void MousePositionUpdatedSignal(int slicer); + void KeyPressedSignal(std::string KeyPressed); void UpdateOrientation(int slicer, int orientation); void UpdateSlice(int slicer, int slice); void UpdateTSlice(int slicer, int slice); @@ -245,6 +252,7 @@ protected: int mFusionColorMap; double mFusionWindow; double mFusionLevel; + bool mFusionShowLegend; int mPreset; vvImageReader::LoadedImageType mType;