X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=vv%2FvvOverlayPanel.h;h=bd9e9722771ed599d358fc70f2898fab73151ec2;hb=d47b233f76eb42cf2380f213154e2cf6e1fd656a;hp=ef0dcf1f352178b5bf9d16c194a0d0ca359f9d42;hpb=d83d2456795de427652e79600aff8aac47511a7e;p=clitk.git diff --git a/vv/vvOverlayPanel.h b/vv/vvOverlayPanel.h index ef0dcf1..bd9e972 100644 --- a/vv/vvOverlayPanel.h +++ b/vv/vvOverlayPanel.h @@ -38,7 +38,7 @@ public: void getVFProperty(int subsampling, int scale, int log); void getVFName(QString name); - void getOverlayProperty(int color); + void getOverlayProperty(int color, int linked, double window, double level); void getOverlayName(QString name); void getFusionProperty(int opacity, int thresOpacity, int colormap, double window, double level); @@ -47,17 +47,25 @@ public: void getCurrentVectorInfo(int visibility, double x, double y, double z, double value); void getCurrentOverlayInfo(int visibility,double valueOver, double valueRef); void getCurrentFusionInfo(int visibility,double value); + + bool getShowLegend(); public slots: void setVFProperty(); void setOverlayProperty(); void setFusionProperty(); + void setFusionSpinProperty(); void VFColorChangeRequest(); signals: void VFPropertyUpdated(int subsampling, int scale, int log, int width, double r, double g, double b); - void OverlayPropertyUpdated(int color); - void FusionPropertyUpdated(int opacity, int thresOpacity, int colormap, double window, double level); + void OverlayPropertyUpdated(int color, int linked, double window, double level); + void FusionPropertyUpdated(int opacity, int thresOpacity, int colormap, double window, double level, bool showLegend); + + +private: + bool disableFusionSignals; + }; // end class vvOverlayPanel //====================================================================