00001 #ifndef WXWIDGETMESURE2D_PLANE_IN_MPR_H_ 00002 #define WXWIDGETMESURE2D_PLANE_IN_MPR_H_ 00003 00004 #include "wxWidgetMesure2D_Plane.h" 00005 #include "vtkPlane2DView.h" 00006 00007 class wxWidgetMesure2D_Plane_in_MPR : public wxWidgetMesure2D_Plane 00008 { 00009 public: 00010 wxWidgetMesure2D_Plane_in_MPR(wxWindow *parent); 00011 ~wxWidgetMesure2D_Plane_in_MPR(); 00012 void OnActiveLink(wxCommandEvent& event); 00013 void SetVtkPlane2DView(vtkPlane2DView *vtkplane2Dview); 00014 void SetActiveLink(bool ok); 00015 00016 protected: 00017 virtual wxWindow *CreateWin1a(wxWindow *parent); 00018 private: 00019 wxCheckBox *_cb_link; 00020 vtkPlane2DView *_vtkplane2Dview; 00021 }; 00022 00023 00024 #endif /*WXWIDGETMESURE2D_PLANE_IN_MPR_H_*/