]> Creatis software - creaMaracasVisu.git/blob - lib/maracasVisuLib/src/interface/wxWindows/wxMaracasMPR.h
e3bb62a52321705789067f6783c9347bf816024b
[creaMaracasVisu.git] / lib / maracasVisuLib / src / interface / wxWindows / wxMaracasMPR.h
1 /*=========================================================================
2
3   Program:   wxMaracas
4   Module:    $RCSfile: wxMaracasMPR.h,v $
5   Language:  C++
6   Date:      $Date: 2009/05/04 07:35:45 $
7   Version:   $Revision: 1.5 $
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__MARACAS__MPR__HXX__
19 #define __WX__MARACAS__MPR__HXX__
20
21
22 #include <wx/wx.h>
23 #include <wx/panel.h>
24
25 #include "marTypes.h"
26 #include "vtkImageData.h"
27 #include "widgets/wxMPRWidget.h"
28
29
30 class  creaMaracasVisu_EXPORT  wxMaracasMPR : public wxPanel
31 {
32 public:
33     wxMaracasMPR( wxWindow* parent, marImageData* marimagedata=NULL,double voxelSize=-1);
34     ~wxMaracasMPR( );
35         void ConfigureVTK();
36         vtkMPRBaseData  *GetVtkMPRBaseData();
37         vtkPlane2DView  *GetVtkPlane2DView();
38         wxVtkMPR3DView  *GetWxvtkmpr3Dview_BB()throw(char*);
39         void                    RefreshView();
40
41         void setImageData(vtkImageData *img, double voxelsize);
42
43 private:
44          wxMPRWidget* _MPR;
45 };
46
47 #endif // __WX__MARACAS__MPR__HXX__
48
49 // EOF - wxMaracasMPR.h