]> Creatis software - creaMaracasVisu.git/blob - lib/maracasVisuLib/src/interface/wxWindows/widgets/ThresholdImageView/ColorLayerImageViewPanel.h
*** empty log message ***
[creaMaracasVisu.git] / lib / maracasVisuLib / src / interface / wxWindows / widgets / ThresholdImageView / ColorLayerImageViewPanel.h
1
2
3 /**
4  *  \file 
5  *  \brief Class ThresholdImageViewPanel . 
6  */
7
8 /**
9  * \class ThresholdImageViewPanel
10  * \brief 
11  */
12  
13 #ifndef __ColorLayerImageViewPanel_h__
14 #define __ColorLayerImageViewPanel_h__
15
16
17 #include <wx/wx.h>
18 #include <wx/button.h>
19 #include "ColorLayerImageView.h"
20
21         
22         class ColorLayerImageViewPanel
23                 : public wxPanel
24                 {
25                 public:
26                         ColorLayerImageViewPanel(wxWindow * parent, int min, int max, int type);                
27                         ~ColorLayerImageViewPanel();
28                         void onThresholdStop();
29                         void SetColorLayerImageView(ColorLayerImageView* colorLayerImageView);
30                         bool IsVisible();
31                         
32                 private:
33                         
34                         bool                            _thresholdGo;
35                         ColorLayerImageView     *_colorLayerImageView;
36                         wxButton                        *_btn_ReadImage;
37                         wxSlider                        *_opacity;
38                         wxCheckBox                      *_interpolationCheckBox;        
39                         wxCheckBox                      *_cb_ShowHide;
40                         
41                         void onReadImage(wxCommandEvent& event);
42                         void onThresholdChange(wxCommandEvent& event);                  
43                         void onThresholdShow(wxCommandEvent& event);
44                         void onThresholdInterpolation(wxCommandEvent& event);
45                         void onChangeOpacity(wxScrollEvent& event);
46                 };
47
48 #endif
49