]> Creatis software - clitk.git/blob - vv/vvOverlayPanel.h
Initial revision
[clitk.git] / vv / vvOverlayPanel.h
1 #ifndef _vvOverlayPanel_H
2 #define _vvOverlayPanel_H
3
4 /*=========================================================================
5
6  Program:   vv
7  Module:    $RCSfile: vvOverlayPanel.h,v $
8  Language:  C++
9  Date:      $Date: 2010/01/06 13:31:58 $
10  Version:   $Revision: 1.1 $
11  Author :   Pierre Seroul (pierre.seroul@gmail.com)
12
13 Copyright (C) 200COLUMN_IMAGE_NAME
14 Léon Bérard cancer center http://oncora1.lyon.fnclcc.fr
15 CREATIS-LRMN http://www.creatis.insa-lyon.fr
16
17 This program is free software: you can redistribute it and/or modify
18 it under the terms of the GNU General Public License as published by
19 the Free Software Foundation, version 3 of the License.
20
21 This program is distributed in the hope that it will be useful,
22 but WITHOUT ANY WARRANTY; without even the implied warranty of
23 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
24 GNU General Public License for more details.
25
26 You should have received a copy of the GNU General Public License
27 along with this program.  If not, see <http://www.gnu.org/licenses/>.
28
29 =========================================================================*/
30
31 #include <iostream>
32 #include <vector>
33
34 #include "ui_vvOverlayPanel.h"
35
36 //====================================================================
37 class vvOverlayPanel : public QWidget, private Ui::vvOverlayPanel
38 {
39
40     Q_OBJECT
41
42 public:
43     // constructor - destructor
44     vvOverlayPanel(QWidget * parent=0);
45     ~vvOverlayPanel() {}
46
47     void getCurrentImageName(QString name);
48
49     void getVFProperty(int subsampling, int scale, int log);
50     void getVFName(QString name);
51
52     void getOverlayProperty(int color);
53     void getOverlayName(QString name);
54
55     void getFusionProperty(int opacity, int colormap, double window, double level);
56     void getFusionName(QString name);
57
58     void getCurrentVectorInfo(int visibility, double x, double y, double z, double value);
59     void getCurrentOverlayInfo(int visibility,double valueOver, double valueRef);
60     void getCurrentFusionInfo(int visibility,double value);
61
62 public slots:
63     void setVFProperty();
64     void setOverlayProperty();
65     void setFusionProperty();
66
67 signals:
68     void VFPropertyUpdated(int subsampling, int scale, int log);
69     void OverlayPropertyUpdated(int color);
70     void FusionPropertyUpdated(int opacity, int colormap, double window, double level);
71
72 }; // end class vvOverlayPanel
73 //====================================================================
74
75 #endif /* end #define _vvOverlayPanel_H */
76