]> Creatis software - creaContours.git/blob - lib/Interface_Icons_NDimensions/interfToolsPanels.h
3ce9141a6dd3b291e054cbc796b9f8e708b9ff56
[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         wxSlider* _withOfContourLine;
27         wxSlider* _brithtnessWindowLevel;
28         wxSlider* _brithtnessColorLevel;
29         wxCheckBox* _interpolationCheckBox;     
30         
31 };
32
33 class interfSpreadPanel
34         : public wxPanel
35 {
36 public:
37         interfSpreadPanel(wxWindow * parent);           
38         ~interfSpreadPanel();
39
40     void appendStringSpread(std::string val);
41         void setStringSpread(std::string stringtemp);
42 private:
43
44         wxRadioBox* _spreadMethodRadiobox;
45         wxStaticText* _staticTextSpread;
46         wxTextCtrl* _wxtextctrlSpread;
47
48         void onSpreadReset(wxCommandEvent& event);
49         void onSpreadAdd(wxCommandEvent& event);
50         void onSpreadGo(wxCommandEvent& event);
51
52         
53                 
54 };
55
56 class interfInformationPanel
57         : public wxPanel
58 {
59 public:
60         interfInformationPanel(wxWindow * parent);              
61         ~interfInformationPanel();
62
63     void setStringInfoPanel(wxString tmpString);
64         void setRowLabelInfoPanel(int z,wxString tempString);
65         void appendCols(int numcols);
66         int getNumberCols();
67         void setCellValue(int z,int tmpIntA,wxString tempString);
68         void setColLabel(int tmpIntB,wxString tmpTitleString);
69         wxString getCellValue(int j,int i);
70 private:
71
72         mBarRange* _mbarrangeRangeInformation;
73         mBarRange* _mbarrangeSliceInformation;
74         wxGrid* _grid;
75         wxRadioBox* _informationRadiobox;
76         wxRadioBox* _radiolstboxContourGroup;
77         wxStaticText* _staticTextInformation;
78         
79         void onInformationContourLabels(wxCommandEvent& event);
80         void onExtractInformation(wxCommandEvent& event);
81         void onSaveResults(wxCommandEvent& event);
82         void FillGridWithContoursInformation();
83         
84
85         
86                 
87 };
88
89 class interfMirrorPanel
90         : public wxPanel
91 {
92 public:
93         interfMirrorPanel(wxWindow * parent);           
94         ~interfMirrorPanel();
95
96 private:
97
98         wxSlider* _thickness;
99
100         void onMirrorGo(wxCommandEvent& event);
101 };
102
103 #endif
104  
105