wxMaracas_SegmentationFM3D.cxx
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019 #include <wx/splitter.h>
00020 #include "wxMaracas_SegmentationFM3D.h"
00021
00022
00023
00024
00025
00026 wxMaracas_SegmentationFM3D::wxMaracas_SegmentationFM3D( wxWindow* parent, marImageData* marimagedata,double voxelSize )
00027 : wxPanel( parent, -1, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL)
00028 {
00029
00030
00031 _MPR = new wxSegmentationFM3DWidget( this, marimagedata , voxelSize);
00032 wxBoxSizer* szTop = new wxBoxSizer( wxVERTICAL );
00033 szTop->Add( _MPR, 1 , wxEXPAND | wxALL , 0 );
00034 this->SetAutoLayout( true );
00035 this->SetSizer( szTop );
00036 szTop->Fit( this );
00037 szTop->SetSizeHints( this );
00038
00039
00040
00041 }
00042
00043 wxMaracas_SegmentationFM3D::~wxMaracas_SegmentationFM3D( )
00044 {
00045
00046
00047
00048 }
00049
00050 void wxMaracas_SegmentationFM3D::ConfigureVTK( )
00051 {
00052 _MPR->ConfigureVTK();
00053 }
00054
00055 vtkMPRBaseData *wxMaracas_SegmentationFM3D::GetVtkMPRBaseData()
00056 {
00057 return _MPR->GetVtkMPRBaseData();
00058 }
00059
00060
00061 vtkPlane2DView *wxMaracas_SegmentationFM3D::GetVtkPlane2DView()
00062 {
00063 return _MPR->GetVtkPlane2DView();
00064 }
00065
00066
00067
00068
00069
00070
00071
00072
00073