wxMaracas_SegmentationFM3D.cxx

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   wxMaracas
00004   Module:    $RCSfile: wxMaracas_SegmentationFM3D.cxx,v $
00005   Language:  C++
00006   Date:      $Date: 2009/05/14 13:54:54 $
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 
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   // Create the main frame window
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 //EEDxx2.4
00039 //      FitInside();
00040 
00041 }
00042 //----------------------------------------------------------------------------
00043 wxMaracas_SegmentationFM3D::~wxMaracas_SegmentationFM3D( )
00044 {
00045 //EEDxx2.4 DELETE
00046 //      delete _MPR;
00047   // Nothing
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 // EOF 
00070 
00071 
00072 
00073 

Generated on 18 Mar 2010 for creaMaracasVisu_lib by  doxygen 1.6.1