]> Creatis software - creaContours.git/blob - lib/Interface_Icons_NDimensions/interfSegmentationMenu.h
92d732e183af0b5615627691961989cc535184b6
[creaContours.git] / lib / Interface_Icons_NDimensions / interfSegmentationMenu.h
1 #ifndef __interfSegmentationMenuH__
2 #define __interfSegmentationMenuH__
3
4 #include <wx/wx.h>
5
6
7 #include "interfMenuBar.h"
8
9 class interfSegmentationMenu 
10         : public interfMenuBar
11 {
12 public:
13         interfSegmentationMenu(wxWindow * parent, int sizex, int sizey,wxEvtHandler* evtHandler, std::string datdir = "data/Icons");            
14         ~interfSegmentationMenu();
15
16     virtual void initButtons(wxEvtHandler* evtHandler) ;
17
18         /**
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*)
23         **/
24         
25         void onSegmentationPressed(wxCommandEvent& event);
26         void onSegmentationPressedITK(wxCommandEvent& event);
27         void onSnakePressed(wxCommandEvent& event);
28 //EED Borrame   void onThreshold(wxCommandEvent& event);
29
30 private:
31         //wxContourEventHandler* contourevent;
32
33 /*EED Borrame
34         wxPanel* configPanel;
35         wxWindow* infoWin;      
36         wxPanel* spreadPanel;
37         wxPanel* segmentPanelITK;
38         bool axisshown;
39
40         wxPanel* getSegmentationPanel(wxWindow* parent);
41         void onSegmentationOneSlice( wxCommandEvent& event );
42         void onSegmentationAllSlice( wxCommandEvent& event );
43 */
44         
45         
46 };
47
48 #endif
49  
50