1 #ifndef WXWIDGETMESURE2D_PLANE_H_
2 #define WXWIDGETMESURE2D_PLANE_H_
4 #include "wxWidgetMesure2D.h"
5 #include "wxVtk2DBaseView.h"
7 class wxWidgetMesure2D_Plane : public wxWidgetMesure2D
10 wxWidgetMesure2D_Plane(wxWindow *parent);
11 ~wxWidgetMesure2D_Plane();
12 void OnActiveLine(wxCommandEvent& event);
13 void OnActiveCirlcle(wxCommandEvent& event);
14 virtual void ConfigureA(wxVtk2DBaseView *wxvtk2Dbaseview);
15 void ConfigureCircleLine();
19 virtual wxWindow *CreateWin1a(wxWindow *parent);
22 wxCheckBox *_cb_circle;
25 vtkPoints *_ptsCircle1;
26 vtkActor *_circle1Actor;
27 vtkPolyDataMapper *_circle1Mapper;
28 vtkPolyData *_pdCircle1;
30 vtkPoints *_ptsCircle2;
31 vtkActor *_circle2Actor;
32 vtkPolyDataMapper *_circle2Mapper;
33 vtkPolyData *_pdCircle2;
35 vtkPoints *_ptsLineRef1;
36 vtkActor *_lineRef1Actor;
37 vtkPolyDataMapper *_lineRef1Mapper;
38 vtkPolyData *_pdLineRef1;
40 vtkPoints *_ptsLineRef2;
41 vtkActor *_lineRef2Actor;
42 vtkPolyDataMapper *_lineRef2Mapper;
43 vtkPolyData *_pdLineRef2;
45 void SetVisibleCircle( bool ok );
49 #endif /*WXWIDGETMESURE2D_PLANE_H_*/