1 /*=========================================================================
4 Module: $RCSfile: wxMaracas_ManualTree_MPR.cxx,v $
6 Date: $Date: 2009/05/14 13:54:31 $
7 Version: $Revision: 1.2 $
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 #include "wxMaracas_ManualTree_MPR.h"
19 #include <wx/splitter.h>
22 //----------------------------------------------------------------------------
23 //----------------------------------------------------------------------------
24 //----------------------------------------------------------------------------
25 wxMaracas_ManualTree_MPR::wxMaracas_ManualTree_MPR( wxWindow* parent, marImageData* marimagedata,double voxelSize )
26 : wxPanel( parent, -1, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL)
29 // Create the main frame window
30 _MPR = new wxManualTree_MPRWidget( this, marimagedata , voxelSize);
31 wxBoxSizer* szTop = new wxBoxSizer( wxVERTICAL );
32 szTop->Add( _MPR, 1 , wxEXPAND | wxALL , 0 );
33 this->SetAutoLayout( true );
34 this->SetSizer( szTop );
36 szTop->SetSizeHints( this );
41 //----------------------------------------------------------------------------
42 wxMaracas_ManualTree_MPR::~wxMaracas_ManualTree_MPR( )
48 //----------------------------------------------------------------------------
49 void wxMaracas_ManualTree_MPR::ConfigureVTK( )
53 //----------------------------------------------------------------------------
54 vtkMPRBaseData *wxMaracas_ManualTree_MPR::GetVtkMPRBaseData()
56 return _MPR->GetVtkMPRBaseData();
59 //----------------------------------------------------------------------------
60 vtkPlane2DView *wxMaracas_ManualTree_MPR::GetVtkPlane2DView()
62 return _MPR->GetVtkPlane2DView();
65 //----------------------------------------------------------------------------
66 manualContourModel *wxMaracas_ManualTree_MPR::GetManualContourModel()
68 return _MPR->GetManualContourModel();
74 // EOF - wxMaracasMPR.cxx