]> Creatis software - creaContours.git/blob - lib/Interface_Icons_NDimensions/interfToolsPanels.h
fb21b95d9f419bfeb32d08adc0c8691ae10b8088
[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         wxCheckBox* _XYZValues; 
79         wxCheckBox* _contourImage;      
80         wxCheckBox* _statistics;        
81
82         void onInformationContourLabels(wxCommandEvent& event);
83         void onExtractInformation(wxCommandEvent& event);
84         void onShowResultImages(wxCommandEvent& event);
85         void onSaveResults(wxCommandEvent& event);
86         void FillGridWithContoursInformation();
87         
88
89         
90                 
91 };
92
93 #endif
94  
95