1 /*=========================================================================
2 Program: vv http://www.creatis.insa-lyon.fr/rio/vv
5 - University of LYON http://www.universite-lyon.fr/
6 - Léon Bérard cancer center http://www.centreleonberard.fr
7 - CREATIS CNRS laboratory http://www.creatis.insa-lyon.fr
9 This software is distributed WITHOUT ANY WARRANTY; without even
10 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
11 PURPOSE. See the copyright notices for more information.
13 It is distributed under dual licence
15 - BSD See included LICENSE.txt file
16 - CeCILL-B http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html
17 ===========================================================================**/
18 #ifndef _vvOverlayPanel_H
19 #define _vvOverlayPanel_H
23 #include "ui_vvOverlayPanel.h"
25 //====================================================================
26 class vvOverlayPanel : public QWidget, private Ui::vvOverlayPanel
32 // constructor - destructor
33 vvOverlayPanel(QWidget * parent=0);
36 void getCurrentImageName(QString name);
38 void getVFProperty(int subsampling, int scale, int log);
39 void getVFName(QString name);
41 void getOverlayProperty(int color, int linked, double window, double level);
42 void getOverlayName(QString name);
44 void getFusionProperty(int opacity, int thresOpacity, int colormap, double window, double level);
45 void getFusionName(QString name);
47 void getFusionSequenceProperty(int sequenceFrameIndex, bool spatialSync, unsigned int sequenceLength, bool temporalSync);
49 void getCurrentVectorInfo(int visibility, double x, double y, double z, double value);
50 void getCurrentOverlayInfo(int visibility,double valueOver, double valueRef);
51 void getCurrentFusionInfo(int visibility,double value);
55 void updateFusionSequenceSliderValueFromWindow(int val, bool updateVisualization);
59 void setOverlayProperty();
60 void setFusionProperty();
61 void setFusionSpinProperty();
62 void VFColorChangeRequest();
63 void setFusionSequenceProperty();
64 void enableFusionSequenceTemporalSync();
67 void VFPropertyUpdated(int subsampling, int scale, int log, int width, double r, double g, double b);
68 void OverlayPropertyUpdated(int color, int linked, double window, double level);
69 void FusionPropertyUpdated(int opacity, int thresOpacity, int colormap, double window, double level, bool showLegend);
70 void FusionSequencePropertyUpdated(int sequenceFrameIndex, bool spatialSync, unsigned int sequenceLength, bool temporalSync);
71 void FusionSequenceCorrespondancesButtonPressed();
74 bool disableFusionSignals;
75 bool disableFusionSequenceSignals;
77 }; // end class vvOverlayPanel
78 //====================================================================
80 #endif /* end #define _vvOverlayPanel_H */