1 /*=========================================================================
4 Module: $RCSfile: wxMaracas_SegmentationFM3D.cxx,v $
6 Date: $Date: 2008/10/31 16:32:11 $
7 Version: $Revision: 1.1 $
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 =========================================================================*/
19 #include <wx/splitter.h>
20 #include "wxMaracas_SegmentationFM3D.h"
23 //----------------------------------------------------------------------------
24 //----------------------------------------------------------------------------
25 //----------------------------------------------------------------------------
26 wxMaracas_SegmentationFM3D::wxMaracas_SegmentationFM3D( wxWindow* parent, marImageData* marimagedata,double voxelSize )
27 : wxPanel( parent, -1, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL)
30 // Create the main frame window
31 _MPR = new wxSegmentationFM3DWidget( this, marimagedata , voxelSize);
32 wxBoxSizer* szTop = new wxBoxSizer( wxVERTICAL );
33 szTop->Add( _MPR, 1 , wxEXPAND | wxALL , 0 );
34 this->SetAutoLayout( true );
35 this->SetSizer( szTop );
37 szTop->SetSizeHints( this );
42 //----------------------------------------------------------------------------
43 wxMaracas_SegmentationFM3D::~wxMaracas_SegmentationFM3D( )
49 //----------------------------------------------------------------------------
50 void wxMaracas_SegmentationFM3D::ConfigureVTK( )
54 //----------------------------------------------------------------------------
55 vtkMPRBaseData *wxMaracas_SegmentationFM3D::GetVtkMPRBaseData()
57 return _MPR->GetVtkMPRBaseData();
60 //----------------------------------------------------------------------------
61 vtkPlane2DView *wxMaracas_SegmentationFM3D::GetVtkPlane2DView()
63 return _MPR->GetVtkPlane2DView();