X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=vv%2FvvOverlayPanel.h;h=63bad7bc633c3461ad19d39e1b3b5f51ab2342b5;hb=98eb0c23b8066792d7a77e571fb7d48c9fe02db6;hp=2d6b6b59fc720e48a28f894bbe4b0161b3c22aea;hpb=a2d7d0fe5356215b7de062e5bb6f40753e0bfbc6;p=clitk.git diff --git a/vv/vvOverlayPanel.h b/vv/vvOverlayPanel.h index 2d6b6b5..63bad7b 100644 --- a/vv/vvOverlayPanel.h +++ b/vv/vvOverlayPanel.h @@ -3,7 +3,7 @@ Authors belong to: - University of LYON http://www.universite-lyon.fr/ - - Léon Bérard cancer center http://oncora1.lyon.fnclcc.fr + - Léon Bérard cancer center http://www.centreleonberard.fr - CREATIS CNRS laboratory http://www.creatis.insa-lyon.fr This software is distributed WITHOUT ANY WARRANTY; without even @@ -14,7 +14,7 @@ - BSD See included LICENSE.txt file - CeCILL-B http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html -======================================================================-====*/ +===========================================================================**/ #ifndef _vvOverlayPanel_H #define _vvOverlayPanel_H #include @@ -38,10 +38,10 @@ 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 colormap, double window, double level); + void getFusionProperty(int opacity, int thresOpacity, int colormap, double window, double level); void getFusionName(QString name); void getCurrentVectorInfo(int visibility, double x, double y, double z, double value); @@ -52,12 +52,17 @@ public slots: void setVFProperty(); void setOverlayProperty(); void setFusionProperty(); + void VFColorChangeRequest(); signals: - void VFPropertyUpdated(int subsampling, int scale, int log, int width); - void OverlayPropertyUpdated(int color); - void FusionPropertyUpdated(int opacity, int colormap, double window, double level); - + void VFPropertyUpdated(int subsampling, int scale, int log, int width, double r, double g, double b); + void OverlayPropertyUpdated(int color, int linked, double window, double level); + void FusionPropertyUpdated(int opacity, int thresOpacity, int colormap, double window, double level); + + +private: + bool disableFusionSignals; + }; // end class vvOverlayPanel //====================================================================