]> Creatis software - creaMaracasVisu.git/blob - lib/maracasVisuLib/src/interface/wxWindows/widgets/include/wxEmptyPanel_3_Widget.h
e305fa2bd2d746ba02e7da6df0461ec95e146d94
[creaMaracasVisu.git] / lib / maracasVisuLib / src / interface / wxWindows / widgets / include / wxEmptyPanel_3_Widget.h
1
2
3 #ifndef __WX__EMPTY__PANEL__3__WIDGET
4 #define __WX__EMPTY__PANEL__3__WIDGET
5
6
7
8 #include <vtkImageData.h>
9 #include "../manualContour.h"
10 #include "wxMPRWidget.h"
11
12
13 #include <wx/wx.h>
14 #include <wx/panel.h>
15
16 //------------------------------------------------------------------
17 //------------------------------------------------------------------
18 //------------------------------------------------------------------
19
20 class wxEmptyPanel_3_Widget: public wxPanel{
21 public:
22         wxEmptyPanel_3_Widget(wxWindow *parent);
23         ~wxEmptyPanel_3_Widget();
24         void ConfigureVTK(marImageData *marimagedata);
25         void OnContourA(wxCommandEvent& event);
26         void OnContourB(wxCommandEvent& event);
27         void OnContourAB(wxCommandEvent& event);
28         void Refresh();
29         void OnRefreshView(wxCommandEvent & event);
30 void CreateNewPoint(double x, double y);
31
32 private:
33         wxWindow                                *_parent;
34         vtkImageData                    *_data;
35         wxVtk2DBaseView                 *_imageviewer2D_1;
36         vtkBaseData                             *_vtkbasedata_1;
37         wxPanel                                 *CreateControlPanel(wxWindow *parent);
38         wxPanel                                 *CreateViewPanel(wxWindow *parent);
39
40         manualRoiControler              *_manRoiControl;
41         manualContourModel              *_mContourModel;
42         manualViewRoi                   *_mViewRoi;
43
44         manualContourControler  *_manContourControl_1;
45         manualContourModel              *_mContourModel_1;
46         manualViewContour               *_mViewContour_1;
47
48         manualContourControler  *_manContourControl_2;
49         manualContourModel              *_mContourModel_2;
50         manualViewContour               *_mViewContour_2;
51
52         DECLARE_EVENT_TABLE( );
53 };
54
55 #endif // __WX__EMPTY__PANEL__3__WIDGET
56
57
58
59