1 /*=========================================================================
4 Module: $RCSfile: wxManualTree_MPRWidget.h,v $
6 Date: $Date: 2008/10/31 16:32:42 $
7 Version: $Revision: 1.1 $
9 Copyright: (c) 2002, 2003
12 This software is distributed WITHOUT ANY WARRANTY; without even
13 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
14 PURPOSE. See the above copyright notice for more information.
16 =========================================================================*/
18 #ifndef __WX__MANUAL__TREE__MPR__WIDGET__HXX__
19 #define __WX__MANUAL__TREE__MPR__WIDGET__HXX__
24 #include <vtkObjectBase.h>
25 #include <vtkCommand.h>
27 #include <vtkPoints.h>
28 #include <vtkPolyData.h>
29 #include <vtkPolyDataMapper.h>
30 #include <vtkProbeFilter.h>
31 #include <vtkPlaneSource.h>
32 #include <vtkImageChangeInformation.h>
33 #include <vtkStructuredPoints.h>
34 #include <vtkTransform.h>
35 #include <vtkImageViewer2.h>
36 #include <vtkBoxWidget.h>
40 #include "kernel/marInterface.h"
42 #include "wxMPRBaseData.h"
43 #include "wxVtkBaseView.h"
46 #include "wxMPRWidget.h"
47 #include "../manualContour.h"
49 #include <wx/notebook.h>
52 //------------------------------------------------------------------
53 //------------------------------------------------------------------
54 //------------------------------------------------------------------
57 class wxManualTree_MPRWidget : public wxPanel
60 wxManualTree_MPRWidget(wxWindow* parent,marImageData *marimageData,double voxelSize);
61 ~wxManualTree_MPRWidget( );
66 void OnRefreshView(wxCommandEvent & event);
69 vtkMPRBaseData *GetVtkMPRBaseData();
70 vtkPlane2DView *GetVtkPlane2DView();
72 manualContourModel *GetManualContourModel();
77 marImageData *_marimageData;
78 wxMPRWidget2 *_MPRWidget2;
81 manualContour3VControler *_manContourControl_0;
82 manualView3VContour *_mViewContour_0;
84 manualContour3VControler *_manContourControl_1;
85 manualView3VContour *_mViewContour_1;
87 manualContour3VControler *_manContourControl_2;
88 manualContourModel *_mContourModel_2;
89 manualView3VContour *_mViewContour_2;
91 manualContour3V3DControler *_manContourControl_3V3D;
92 manualView3DContour *_mViewContour_3D;
95 manualContourPerpPlaneControler *_manContourControl_p;
96 manualViewPerpPlaneContour *_mViewContour_p;
99 wxVtk3DBaseView *_wxvtk3Dbaseview_Clipping3D_C;
100 wxVtkMPR3DView *_wxvtkmpr3Dview_C;
101 wxVtkClipping3DView *_wxvtkclipping3Dview_C;
103 wxPanel *Create3DViewContour( wxWindow *parent, vtkMPRBaseData *vtkmprbasedata);
104 void ConfigureContour();
106 DECLARE_EVENT_TABLE( );
115 #endif // __WX__MANUAL__TREE__MPR__WIDGET__HXX__
117 // EOF - wxManualTree_MPRWidget.h