1 /*=========================================================================
4 Module: $RCSfile: wxMaracas_ViewerWidget.h,v $
6 Date: $Date: 2009/05/14 13:54:35 $
7 Version: $Revision: 1.5 $
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__MARACAS__VIEWERWIDGET__H__
19 #define __WX__MARACAS__VIEWERWIDGET__H__
22 // -----------------------------------------------------------------------------------------------------------
23 // WX headers inclusion.
24 // For compilers that support precompilation, includes <wx/wx.h>.
25 // -----------------------------------------------------------------------------------------------------------
26 #include <wx/wxprec.h>
34 //------------------------------------------------------------------------------------------------------------
36 //------------------------------------------------------------------------------------------------------------
38 #include "vtkImageData.h"
39 #include "vtkRenderer.h"
41 #include "wxVtkBaseView.h"
42 #include "wxMPRWidget.h"
44 //------------------------------------------------------------------------------------------------------------
46 //------------------------------------------------------------------------------------------------------------
49 class wxMaracas_ViewerWidget : public wxPanel
53 //------------------------------------------------------------------------------------------------------------
54 // Constructors & Destructors
55 //------------------------------------------------------------------------------------------------------------
57 wxMaracas_ViewerWidget(wxWindow *parent, vtkImageData* imagedata, int type);
58 ~wxMaracas_ViewerWidget();
60 //------------------------------------------------------------------------------------------------------------
62 //------------------------------------------------------------------------------------------------------------
64 // vtkRenderer *GetRenderer();
67 virtual void Refresh(bool eraseBackground = true,const wxRect* rect = NULL );
69 wxVtkBaseView *GetwxVtkBaseView();
70 void SetImage( vtkImageData *image );
75 //------------------------------------------------------------------------------------------------------------
77 //------------------------------------------------------------------------------------------------------------
82 vtkMPRBaseData *mvtkmprbasedata;
84 wxVtk2DBaseView *mvtk2Dbaseview;
85 wxVtkMPR2DView *mvtkmpr2Dview_X;
86 wxVtkMPR2DView *mvtkmpr2Dview_Y;
87 wxVtkMPR2DView *mvtkmpr2Dview_Z;
88 wxWidgetMesure2D_Plane_in_MPR *mwidgetMesure;
89 vtkPlane2DView *mvtkplane2Dview;
90 wxSphereView *mwxsphereview;
92 wxVtkClipping3DView *mwxvtkclipping3Dview;
93 wxVtk3DBaseView *mwxvtk3Dbaseview_Clipping3D;
94 wxVtkMPR3DView *mwxvtkmpr3Dview;
97 vtkMPR3DDataViewer *vtkmpr3Ddataviewer;
102 #endif // __WX__MARACAS__VIEWERWIDGET__H__