]> Creatis software - creaMaracasVisu.git/blob - lib/maracasVisuLib/src/interface/wxWindows/widgets/include/wxManualSegmentation_MPRWidget.h
*** empty log message ***
[creaMaracasVisu.git] / lib / maracasVisuLib / src / interface / wxWindows / widgets / include / wxManualSegmentation_MPRWidget.h
1 /*=========================================================================
2
3   Program:   wxMaracas
4   Module:    $RCSfile: wxManualSegmentation_MPRWidget.h,v $
5   Language:  C++
6   Date:      $Date: 2009/05/14 13:54:57 $
7   Version:   $Revision: 1.1 $
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_SEGMENTATION__MPRWIDGET__HXX__
19 #define __WX__MANUAL_SEGMENTATION__MPRWIDGET__HXX__
20
21 #include "wxMPRWidget.h"
22 #include "../manualContour.h"
23 #include <wx/notebook.h>
24
25
26
27
28
29 //------------------------------------------------------------------
30 //------------------------------------------------------------------
31 //------------------------------------------------------------------
32
33
34 class wxManualSegmentation_MPRWidget : public wxPanel
35 {
36
37 public:
38     wxManualSegmentation_MPRWidget(wxWindow* parent,marImageData *marimageData,double voxelSize);
39         ~wxManualSegmentation_MPRWidget( );
40
41         void ConfigureVTK();
42
43         void RefreshView();
44         void OnRefreshView(wxCommandEvent & event);
45
46
47         vtkMPRBaseData          *GetVtkMPRBaseData();
48         vtkPlane2DView          *GetVtkPlane2DView();
49         vtkRenderer                     *GetRenderer();
50
51
52
53 private:
54         double                                                          _voxelSize;
55         marImageData                                            *_marimageData; 
56         wxMPRWidget2                                            *_MPRWidget2;
57
58         //
59         wxVtk3DBaseView                                         *_wxvtk3Dbaseview_Clipping3D_C;
60         wxVtkMPR3DView                                          *_wxvtkmpr3Dview_C;
61         wxVtkClipping3DView                                     *_wxvtkclipping3Dview_C;
62
63         wxPanel         *Create3DViewContour( wxWindow *parent, vtkMPRBaseData *vtkmprbasedata);
64         void            ConfigureContour();
65
66         //MaracasTools* maracasTools;
67
68         DECLARE_EVENT_TABLE( );
69
70
71
72 };
73
74
75
76
77 #endif // __WX__MANUAL__TREE__SEGMENTATION__WIDGET__HXX__ 
78
79 // EOF - wxManualSegmentation_MPRWidget.h