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 );
73 mBarRange* _mbarrange;
77 wxStaticText* _staticTextSegmentation;
79 wxRadioBox* methodRadiobox;