]> Creatis software - creaMaracasVisu.git/blob - lib/maracasVisuLib/src/interface/wxWindows/widgets/wxWidgetMesure2D.h
*** empty log message ***
[creaMaracasVisu.git] / lib / maracasVisuLib / src / interface / wxWindows / widgets / wxWidgetMesure2D.h
1 #ifndef WXWIDGETMESURE2D_H_
2 #define WXWIDGETMESURE2D_H_
3
4 #include <wx/splitter.h>
5 #include <wx/checkbox.h>
6 #include "manualContourControler.h"
7 #include "manualContourModel.h"
8 #include "manualViewContour.h"
9
10 #include "wxVtk2DBaseView.h"
11
12 class wxWidgetMesure2D : public wxSplitterWindow
13 {
14 public: 
15         wxWidgetMesure2D( wxWindow *parent );
16         ~wxWidgetMesure2D();
17
18         void OnActiveMessureTool(wxCommandEvent& event);
19         void OnVisibleMessureTool(wxCommandEvent& event);
20         void OnCloseContour(wxCommandEvent& event);
21         void OnVisibleInformation(wxCommandEvent& event);
22
23         void SetMesureScale(double mesureScale);
24
25         manualContourModel*     GetManualContourModel();
26         virtual void ConfigureA(wxVtk2DBaseView *wxvtk2Dbaseview);
27
28 protected:
29         wxVtk2DBaseView                 *_wxvtk2Dbaseview;
30         virtual wxWindow                *CreateWin1a(wxWindow *parent);
31 private:
32         wxCheckBox                              *_cb_messuretool; 
33         wxCheckBox                              *_cb_mt_visible; 
34         wxCheckBox                              *_cb_closeContour; 
35         wxCheckBox                              *_cb_visibleText; 
36
37         manualContourControler  *_manContourControl_1;
38         manualContourModel              *_mContourModel_1;
39         manualViewContour               *_mViewContour_1;
40
41         void    ActiveMessureTool(bool ok);
42
43 //      DECLARE_EVENT_TABLE();
44 };
45
46
47 #endif /*WXWIDGETMESURE2D_H_*/