X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=vv%2FvvOverlayPanel.h;h=69abbc2a2c067bfcb95f9bb927108e541782b385;hb=1548a47199250d3819961adb37becac65bc72f3c;hp=ef0dcf1f352178b5bf9d16c194a0d0ca359f9d42;hpb=8eed6bc78fb0ef451329c9aaa1df10271bda1129;p=clitk.git diff --git a/vv/vvOverlayPanel.h b/vv/vvOverlayPanel.h index ef0dcf1..69abbc2 100644 --- a/vv/vvOverlayPanel.h +++ b/vv/vvOverlayPanel.h @@ -38,26 +38,40 @@ 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); void getFusionName(QString name); - void getCurrentVectorInfo(int visibility, double x, double y, double z, double value); + void getFusionSequenceProperty(int sequenceFrameIndex, bool spatialSync, unsigned int sequenceLength); + + 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); + //void getCurrentFusionSequenceInfo(int visibility,double value); + + bool getShowLegend(); public slots: void setVFProperty(); void setOverlayProperty(); void setFusionProperty(); + void setFusionSpinProperty(); void VFColorChangeRequest(); + void setFusionSequenceProperty(); 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); + void FusionSequencePropertyUpdated(int sequenceFrameIndex, bool spatialSync, unsigned int sequenceLength); + + +private: + bool disableFusionSignals; + bool disableFusionSequenceSignals; + }; // end class vvOverlayPanel //====================================================================