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);
94 void onAxisShow(wxCommandEvent& event);
96 void onMirrorGo(wxCommandEvent& event);
98 void onChangeWidth(wxScrollEvent& event);
100 DECLARE_EVENT_TABLE()
103 class interfTestPanel
107 interfTestPanel(wxWindow * parent);
111 void onButton1Pressed(wxCommandEvent& event);
113 void onButton2Pressed(wxCommandEvent& event);