1 #ifndef __interfToolsMenuH__
2 #define __interfToolsMenuH__
7 #include "interfMenuBar.h"
10 : public interfMenuBar
13 interfToolsMenu(wxWindow * parent, int sizex, int sizey,wxEvtHandler* evtHandler, std::string datdir = "data/Icons");
16 virtual void initButtons(wxEvtHandler* evtHandler) ;
19 ** Responds to the events of the buttons, when the same panel is responsible for it. It gets the name
20 ** of the button corresponding to the method that has to be executed,
21 ** it uses attribute eventHandler to call the methods define by the application.
22 ** see setEventHandler(wxEventHandler*)
24 void onRigidPressed(wxCommandEvent& event);
26 void onSpreadPressed(wxCommandEvent& event);
28 void onInformationPressed(wxCommandEvent& event);
30 void onConfigurationPressed(wxCommandEvent& event);
35 wxContourEventHandler* contourevent;
38 wxPanel* segmentPanel;
40 wxPanel* segmentPanelITK;