1 #ifndef __interfSegmentationPanelsH__
2 #define __interfSegmentationPanelsH__
8 class interfSegmentationPanelVTK
12 interfSegmentationPanelVTK(wxWindow * parent);
13 ~interfSegmentationPanelVTK();
16 ** Responds to the events of the buttons, when the same panel is responsible for it. It gets the name
17 ** of the button corresponding to the method that has to be executed,
18 ** it uses attribute eventHandler to call the methods define by the application.
19 ** see setEventHandler(wxEventHandler*)
22 void onSegmentationPressed(wxCommandEvent& event);
24 void onSegmentationPressedITK(wxCommandEvent& event);
26 void setLabel(wxString tmpString);
30 //wxContourEventHandler* contourevent;
33 wxPanel* segmentPanel;
35 wxPanel* segmentPanelITK;
40 wxPanel* getSegmentationPanel(wxWindow* parent);
42 void onSegmentationOneSlice( wxCommandEvent& event );
44 void onSegmentationAllSlice( wxCommandEvent& event );
48 mBarRange* _mbarrange;
52 wxStaticText* _staticTextSegmentation;
54 wxRadioBox* methodRadiobox;
57 class interfSegmentationPanelITK
61 interfSegmentationPanelITK(wxWindow * parent);
62 ~interfSegmentationPanelITK();
65 void onSegmentationOneSlice( wxCommandEvent& event );
67 void onSegmentationAllSlice( wxCommandEvent& event );
71 wxTextCtrl * _distance;
75 wxTextCtrl * _propagation;
76 wxTextCtrl * _iterations;
77 wxTextCtrl * _infStrength;
81 class interfMirrorPanel
85 interfMirrorPanel(wxWindow * parent);
92 void onAxisShow(wxCommandEvent& event);
94 void onAxisHide(wxCommandEvent& event);
96 void onMirrorGo(wxCommandEvent& event);
98 void onChangeWidth(wxScrollEvent& event);
100 DECLARE_EVENT_TABLE()
104 class interfThresholdPanel
108 interfThresholdPanel(wxWindow * parent);
109 ~interfThresholdPanel();
111 void onThresholdStop();
112 void onThresholdInstantChange(double range[]);
116 mBarRange* _mBarThreshold;
119 wxCheckBox* _interpolationCheckBox;
121 void onThresholdChange(wxCommandEvent& event);
123 void onThresholdGo(wxCommandEvent& event);
125 void onThresholdRemove(wxCommandEvent& event);
127 void onThresholdInterpolation(wxCommandEvent& event);
129 void onChangeOpacity(wxScrollEvent& event);
131 DECLARE_EVENT_TABLE()