1 /*=========================================================================
4 Module: $RCSfile: wxManualTree_MPRWidget.h,v $
6 Date: $Date: 2009/05/15 12:59:25 $
7 Version: $Revision: 1.3 $
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 "wxMPRWidget2.h"
48 #include "manualViewPerpPlaneContour.h"
49 #include "manualContourModel.h"
50 #include "manualContour3VControler.h"
51 #include "manualView3VContour.h"
52 #include "manualContour3V3DControler.h"
53 #include "manualView3DContour.h"
54 #include "manualContourPerpPlaneControler.h"
55 #include "manualViewPerpPlaneContour.h"
57 #include <wx/notebook.h>
59 #include "wxVtk3DBaseView.h"
61 //------------------------------------------------------------------
62 //------------------------------------------------------------------
63 //------------------------------------------------------------------
66 class wxManualTree_MPRWidget : public wxPanel
69 wxManualTree_MPRWidget(wxWindow* parent,marImageData *marimageData,double voxelSize);
70 ~wxManualTree_MPRWidget( );
75 void OnRefreshView(wxCommandEvent & event);
78 vtkMPRBaseData *GetVtkMPRBaseData();
79 vtkPlane2DView *GetVtkPlane2DView();
81 manualContourModel *GetManualContourModel();
86 marImageData *_marimageData;
87 wxMPRWidget2 *_MPRWidget2;
90 manualContour3VControler *_manContourControl_0;
91 manualView3VContour *_mViewContour_0;
93 manualContour3VControler *_manContourControl_1;
94 manualView3VContour *_mViewContour_1;
96 manualContour3VControler *_manContourControl_2;
97 manualContourModel *_mContourModel_2;
98 manualView3VContour *_mViewContour_2;
100 manualContour3V3DControler *_manContourControl_3V3D;
101 manualView3DContour *_mViewContour_3D;
104 manualContourPerpPlaneControler *_manContourControl_p;
105 manualViewPerpPlaneContour *_mViewContour_p;
108 wxVtk3DBaseView *_wxvtk3Dbaseview_Clipping3D_C;
109 wxVtkMPR3DView *_wxvtkmpr3Dview_C;
110 wxVtkClipping3DView *_wxvtkclipping3Dview_C;
112 wxPanel *Create3DViewContour( wxWindow *parent, vtkMPRBaseData *vtkmprbasedata);
113 void ConfigureContour();
115 DECLARE_EVENT_TABLE( );
124 #endif // __WX__MANUAL__TREE__MPR__WIDGET__HXX__
126 // EOF - wxManualTree_MPRWidget.h