]> Creatis software - creaContours.git/blob - lib/Interface_Icons_NDimensions/interfToolsPanels.h
093349ed4bbde8eeacd6d03db7089261cd8a3fec
[creaContours.git] / lib / Interface_Icons_NDimensions / interfToolsPanels.h
1 #ifndef __interfToolsPanelH__
2 #define __interfToolsPanelH__
3
4 #include <string>
5 #include <wx/wx.h>
6 #include "mBarRange.h"
7 #include <wx/grid.h>
8
9 class interfConfigurationPanel 
10         : public wxPanel
11 {
12 public:
13         interfConfigurationPanel(wxWindow * parent);            
14         ~interfConfigurationPanel();
15
16     
17
18 private:
19
20         void onWidthOfContour(wxScrollEvent& event);
21
22         void onBrigthnessColorWindowLevel(wxScrollEvent& event);
23
24         void OnInterpolation(wxCommandEvent& event);
25
26         
27         wxSlider* _withOfContourLine;
28         wxSlider* _brithtnessWindowLevel;
29         wxSlider* _brithtnessColorLevel;
30         wxCheckBox* _interpolationCheckBox;     
31         
32 };
33
34 class interfSpreadPanel
35         : public wxPanel
36 {
37 public:
38         interfSpreadPanel(wxWindow * parent);           
39         ~interfSpreadPanel();
40
41     void appendStringSpread(std::string val);
42         void setStringSpread(std::string stringtemp);
43 private:
44
45         wxRadioBox* _spreadMethodRadiobox;
46         wxStaticText* _staticTextSpread;
47         wxTextCtrl* _wxtextctrlSpread;
48
49         void onSpreadReset(wxCommandEvent& event);
50         void onSpreadAdd(wxCommandEvent& event);
51         void onSpreadGo(wxCommandEvent& event);
52
53         
54                 
55 };
56
57 class interfInformationPanel
58         : public wxPanel
59 {
60 public:
61         interfInformationPanel(wxWindow * parent);              
62         ~interfInformationPanel();
63
64     void setStringInfoPanel(wxString tmpString);
65         void setRowLabelInfoPanel(int z,wxString tempString);
66         void appendCols(int numcols);
67         int getNumberCols();
68         void setCellValue(int z,int tmpIntA,wxString tempString);
69         void setColLabel(int tmpIntB,wxString tmpTitleString);
70         wxString getCellValue(int j,int i);
71 private:
72
73         mBarRange* _mbarrangeRangeInformation;
74         mBarRange* _mbarrangeSliceInformation;
75         wxGrid* _grid;
76         wxRadioBox* _informationRadiobox;
77         wxRadioBox* _radiolstboxContourGroup;
78         wxStaticText* _staticTextInformation;
79         wxCheckBox* _XYZValues; 
80         wxCheckBox* _contourImage;      
81         wxCheckBox* _statistics;        
82
83         void onInformationContourLabels(wxCommandEvent& event);
84         void onExtractInformation(wxCommandEvent& event);
85         void onShowResultImages(wxCommandEvent& event);
86         void onSaveResults(wxCommandEvent& event);
87         void onContourGroup(wxCommandEvent& event);
88
89         void FillGridWithContoursInformation();
90         
91
92         
93                 
94 };
95
96 #endif
97  
98