]> Creatis software - creaMaracasVisu.git/blob - lib/maracasVisuLib/src/interface/wxWindows/widgets/ThresholdImageView/ThresholdImageViewPanel.h
54d9985a84da32e579496b40e847a88f2eb85f64
[creaMaracasVisu.git] / lib / maracasVisuLib / src / interface / wxWindows / widgets / ThresholdImageView / ThresholdImageViewPanel.h
1
2
3 /**
4  *  \file 
5  *  \brief Class ThresholdImageViewPanel . 
6  */
7
8 /**
9  * \class ThresholdImageViewPanel
10  * \brief 
11  */
12  
13 #ifndef __ThresholdImageViewPanel_h__
14 #define __ThresholdImageViewPanel_h__
15
16
17 #include <wx/wx.h>
18 #include "mBarRange.h"
19 #include "ThresholdImageView.h"
20
21         
22         class ThresholdImageViewPanel
23                 : public wxPanel
24                 {
25                 public:
26                         ThresholdImageViewPanel(wxWindow * parent);             
27                         ~ThresholdImageViewPanel();
28                         void onThresholdStop();
29                         void onThresholdInstantChange(double range[]);
30                         void SetThresholdImageView(ThresholdImageView* thresholdImageView);
31                         
32                 private:
33                         
34                         bool                            _thresholdGo;
35                         ThresholdImageView      *_thresholdImageView;
36                         mBarRange                       *_mBarThreshold;
37                         wxSlider                        *_opacity;
38                         wxCheckBox                      *_interpolationCheckBox;        
39                         
40                         void onThresholdChange(wxCommandEvent& event);                  
41                         void onThresholdGo(wxCommandEvent& event);
42                         void onThresholdInterpolation(wxCommandEvent& event);
43                         void onChangeOpacity(wxScrollEvent& event);
44                         
45                         DECLARE_EVENT_TABLE()
46                 };
47         
48         
49         
50
51 #endif
52