00001 /*========================================================================= 00002 00003 Program: wxMaracas 00004 Module: $RCSfile: wxManualSegmentation_MPRWidget.h,v $ 00005 Language: C++ 00006 Date: $Date: 2009/05/14 13:54:57 $ 00007 Version: $Revision: 1.1 $ 00008 00009 Copyright: (c) 2002, 2003 00010 License: 00011 00012 This software is distributed WITHOUT ANY WARRANTY; without even 00013 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 00014 PURPOSE. See the above copyright notice for more information. 00015 00016 =========================================================================*/ 00017 00018 #ifndef __WX__MANUAL_SEGMENTATION__MPRWIDGET__HXX__ 00019 #define __WX__MANUAL_SEGMENTATION__MPRWIDGET__HXX__ 00020 00021 #include "wxMPRWidget.h" 00022 #include "../manualContour.h" 00023 #include <wx/notebook.h> 00024 00025 00026 00027 00028 00029 //------------------------------------------------------------------ 00030 //------------------------------------------------------------------ 00031 //------------------------------------------------------------------ 00032 00033 00034 class wxManualSegmentation_MPRWidget : public wxPanel 00035 { 00036 00037 public: 00038 wxManualSegmentation_MPRWidget(wxWindow* parent,marImageData *marimageData,double voxelSize); 00039 ~wxManualSegmentation_MPRWidget( ); 00040 00041 void ConfigureVTK(); 00042 00043 void RefreshView(); 00044 void OnRefreshView(wxCommandEvent & event); 00045 00046 00047 vtkMPRBaseData *GetVtkMPRBaseData(); 00048 vtkPlane2DView *GetVtkPlane2DView(); 00049 vtkRenderer *GetRenderer(); 00050 00051 00052 00053 private: 00054 double _voxelSize; 00055 marImageData *_marimageData; 00056 wxMPRWidget2 *_MPRWidget2; 00057 00058 // 00059 wxVtk3DBaseView *_wxvtk3Dbaseview_Clipping3D_C; 00060 wxVtkMPR3DView *_wxvtkmpr3Dview_C; 00061 wxVtkClipping3DView *_wxvtkclipping3Dview_C; 00062 00063 wxPanel *Create3DViewContour( wxWindow *parent, vtkMPRBaseData *vtkmprbasedata); 00064 void ConfigureContour(); 00065 00066 //MaracasTools* maracasTools; 00067 00068 DECLARE_EVENT_TABLE( ); 00069 00070 00071 00072 }; 00073 00074 00075 00076 00077 #endif // __WX__MANUAL__TREE__SEGMENTATION__WIDGET__HXX__ 00078 00079 // EOF - wxManualSegmentation_MPRWidget.h