1 #ifndef WXWIDGETMESURE2D_H_
2 #define WXWIDGETMESURE2D_H_
4 #include <wx/splitter.h>
5 #include <wx/checkbox.h>
6 #include "manualContourControler.h"
7 #include "manualContourModel.h"
8 #include "manualViewContour.h"
10 #include "wxVtk2DBaseView.h"
12 class wxWidgetMesure2D : public wxSplitterWindow
15 wxWidgetMesure2D( wxWindow *parent );
18 void OnActiveMessureTool(wxCommandEvent& event);
19 void OnVisibleMessureTool(wxCommandEvent& event);
20 void OnCloseContour(wxCommandEvent& event);
21 void OnVisibleInformation(wxCommandEvent& event);
23 void SetMesureScale(double mesureScale);
25 manualContourModel* GetManualContourModel();
26 virtual void ConfigureA(wxVtk2DBaseView *wxvtk2Dbaseview);
29 wxVtk2DBaseView *_wxvtk2Dbaseview;
30 virtual wxWindow *CreateWin1a(wxWindow *parent);
32 wxCheckBox *_cb_messuretool;
33 wxCheckBox *_cb_mt_visible;
34 wxCheckBox *_cb_closeContour;
35 wxCheckBox *_cb_visibleText;
37 manualContourControler *_manContourControl_1;
38 manualContourModel *_mContourModel_1;
39 manualViewContour *_mViewContour_1;
41 void ActiveMessureTool(bool ok);
43 // DECLARE_EVENT_TABLE();
47 #endif /*WXWIDGETMESURE2D_H_*/