X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=vv%2FvvSlicerManager.h;h=e046f9d4699a129de54ca5868a039dfe6a9d4aae;hb=a14a99b43679bd2ba088a397eec1503e94554f31;hp=e8a229b877d8dc3e9d669c58d429742401e2753d;hpb=6194949c0beb1589904e22381b9aba1bbface172;p=clitk.git diff --git a/vv/vvSlicerManager.h b/vv/vvSlicerManager.h index e8a229b..e046f9d 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,7 @@ class vvSlicerManager : public QObject { void Activated(); void Picked(); void UpdateInfoOnCursorPosition(int slicer); + void EmitMousePositionUpdated(int slicer); void UpdateWindowLevel(); void UpdateSlice(int slicer); void UpdateTSlice(int slicer); @@ -217,6 +221,7 @@ 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 UpdateOrientation(int slicer, int orientation); void UpdateSlice(int slicer, int slice); void UpdateTSlice(int slicer, int slice); @@ -245,6 +250,7 @@ protected: int mFusionColorMap; double mFusionWindow; double mFusionLevel; + bool mFusionShowLegend; int mPreset; vvImageReader::LoadedImageType mType;