]> Creatis software - creaMaracasVisu.git/blob - lib/maracasVisuLib/src/interface/wxWindows/widgets/wxManualTree_MPRWidget.h
*** empty log message ***
[creaMaracasVisu.git] / lib / maracasVisuLib / src / interface / wxWindows / widgets / wxManualTree_MPRWidget.h
1 /*=========================================================================
2
3   Program:   wxMaracas
4   Module:    $RCSfile: wxManualTree_MPRWidget.h,v $
5   Language:  C++
6   Date:      $Date: 2009/05/14 13:54:35 $
7   Version:   $Revision: 1.2 $
8
9   Copyright: (c) 2002, 2003
10   License:
11   
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.
15
16 =========================================================================*/
17
18 #ifndef __WX__MANUAL__TREE__MPR__WIDGET__HXX__
19 #define __WX__MANUAL__TREE__MPR__WIDGET__HXX__
20
21 /*
22 #include <vector>
23
24 #include <vtkObjectBase.h>
25 #include <vtkCommand.h>
26 #include <vtkActor.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>
37 */
38              
39 /*
40 #include "kernel/marInterface.h"
41
42 #include "wxMPRBaseData.h"
43 #include "wxVtkBaseView.h"
44 */
45
46 #include "wxMPRWidget.h"
47 #include "wxMPRWidget2.h"
48 #include "manualViewPerpPlaneContour.h"
49 #include "../manualContour.h"
50
51 #include <wx/notebook.h>
52
53 #include "wxVtk3DBaseView.h"
54
55 //------------------------------------------------------------------
56 //------------------------------------------------------------------
57 //------------------------------------------------------------------
58
59
60 class wxManualTree_MPRWidget : public wxPanel
61 {
62 public:
63     wxManualTree_MPRWidget(wxWindow* parent,marImageData *marimageData,double voxelSize);
64         ~wxManualTree_MPRWidget( );
65
66         void ConfigureVTK();
67
68         void RefreshView();
69         void OnRefreshView(wxCommandEvent & event);
70
71
72         vtkMPRBaseData          *GetVtkMPRBaseData();
73         vtkPlane2DView          *GetVtkPlane2DView();
74
75         manualContourModel      *GetManualContourModel();
76
77
78 private:
79         double                                                          _voxelSize;
80         marImageData                                            *_marimageData; 
81         wxMPRWidget2                                            *_MPRWidget2;
82
83         //
84         manualContour3VControler                        *_manContourControl_0;
85         manualView3VContour                                     *_mViewContour_0;
86
87         manualContour3VControler                        *_manContourControl_1;
88         manualView3VContour                                     *_mViewContour_1;
89
90         manualContour3VControler                        *_manContourControl_2;
91         manualContourModel                                      *_mContourModel_2;
92         manualView3VContour                                     *_mViewContour_2;
93
94         manualContour3V3DControler                      *_manContourControl_3V3D;
95         manualView3DContour                                     *_mViewContour_3D;
96
97
98         manualContourPerpPlaneControler         *_manContourControl_p;
99         manualViewPerpPlaneContour                      *_mViewContour_p;
100
101         //
102         wxVtk3DBaseView                                         *_wxvtk3Dbaseview_Clipping3D_C;
103         wxVtkMPR3DView                                          *_wxvtkmpr3Dview_C;
104         wxVtkClipping3DView                                     *_wxvtkclipping3Dview_C;
105
106         wxPanel         *Create3DViewContour( wxWindow *parent, vtkMPRBaseData *vtkmprbasedata);
107         void            ConfigureContour();
108
109         DECLARE_EVENT_TABLE( );
110
111
112
113 };
114
115
116
117
118 #endif // __WX__MANUAL__TREE__MPR__WIDGET__HXX__
119
120 // EOF - wxManualTree_MPRWidget.h