00001 00002 00003 #ifndef __WX__EMPTY__PANEL__3__WIDGET 00004 #define __WX__EMPTY__PANEL__3__WIDGET 00005 00006 00007 00008 #include <vtkImageData.h> 00009 #include "../manualContour.h" 00010 #include "wxMPRWidget.h" 00011 00012 00013 #include <wx/wx.h> 00014 #include <wx/panel.h> 00015 00016 //------------------------------------------------------------------ 00017 //------------------------------------------------------------------ 00018 //------------------------------------------------------------------ 00019 00020 class wxEmptyPanel_3_Widget: public wxPanel{ 00021 public: 00022 wxEmptyPanel_3_Widget(wxWindow *parent); 00023 ~wxEmptyPanel_3_Widget(); 00024 void ConfigureVTK(marImageData *marimagedata); 00025 void OnContourA(wxCommandEvent& event); 00026 void OnContourB(wxCommandEvent& event); 00027 void OnContourAB(wxCommandEvent& event); 00028 void Refresh(); 00029 void OnRefreshView(wxCommandEvent & event); 00030 void CreateNewPoint(double x, double y); 00031 00032 private: 00033 wxWindow *_parent; 00034 vtkImageData *_data; 00035 wxVtk2DBaseView *_imageviewer2D_1; 00036 vtkBaseData *_vtkbasedata_1; 00037 wxPanel *CreateControlPanel(wxWindow *parent); 00038 wxPanel *CreateViewPanel(wxWindow *parent); 00039 00040 manualRoiControler *_manRoiControl; 00041 manualContourModel *_mContourModel; 00042 manualViewRoi *_mViewRoi; 00043 00044 manualContourControler *_manContourControl_1; 00045 manualContourModel *_mContourModel_1; 00046 manualViewContour *_mViewContour_1; 00047 00048 manualContourControler *_manContourControl_2; 00049 manualContourModel *_mContourModel_2; 00050 manualViewContour *_mViewContour_2; 00051 00052 DECLARE_EVENT_TABLE( ); 00053 }; 00054 00055 #endif // __WX__EMPTY__PANEL__3__WIDGET 00056 00057 00058 00059