]> Creatis software - creaContours.git/blob - lib/Interface_Icons_NDimensions/interfNewContourMenu.h
RaC Changes that includes a Polygon contour in creaMaracasVisu and creaContours
[creaContours.git] / lib / Interface_Icons_NDimensions / interfNewContourMenu.h
1 #ifndef __interfNEWCONTOURMENUH__
2 #define __interfNEWCONTOURMENUH__
3
4 #include <wx/wx.h>
5 #include "interfMenuBar.h"
6 #include "interfMainPanel.h"
7
8 #include "PanelBullEyeOptions.h"
9 //#include <wxContourEventHandler.h>
10
11 class interfNewContourMenu 
12         : public interfMenuBar
13 {
14 public:
15         interfNewContourMenu(wxWindow * parent, int sizex, int sizey, wxEvtHandler* evtHandler, std::string datadir = "data/Icons");            
16         ~interfNewContourMenu();
17
18     
19     virtual void initButtons(wxEvtHandler* evtHandler) ;
20
21         
22
23 private:
24         //wxContourEventHandler* eventHandler;
25         wxPanel* panBull;
26         bool created;
27         
28         /**
29         **      This method is in charge of capturing the event when the button is clicked
30         **/
31         void onCreateContourBullseye(wxCommandEvent& event);
32         /**
33         **      This method is in charge of capturing the event when the button is clicked
34         **/
35         void onCreateContourSpline( wxCommandEvent& event );
36         /**
37         **      This method is in charge of capturing the event when the button is clicked
38         **/
39         void onCreateContourRectangle( wxCommandEvent& event );
40         /**
41         **      This method is in charge of capturing the event when the button is clicked
42         **/
43         void onCreateContourCircle( wxCommandEvent& event );
44         /**
45         **      This method is in charge of capturing the event when the button is clicked
46         **/
47         void onCreateContourLine( wxCommandEvent& event );      
48         /**
49         **      This method is in charge of capturing the event when the button is clicked
50         **/
51         void onCreateContourPoints( wxCommandEvent& event );
52         /**
53         **      This method is in charge of capturing the event when the button is clicked
54         **  RaC - Creates a new Polygon contour
55         **/
56         void onCreateContourPolygon( wxCommandEvent& event );
57         
58 };
59
60 #endif
61