wxMaracas_ManualTree_MPR.cxx

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   wxMaracas
00004   Module:    $RCSfile: wxMaracas_ManualTree_MPR.cxx,v $
00005   Language:  C++
00006   Date:      $Date: 2009/05/14 13:54:31 $
00007   Version:   $Revision: 1.2 $
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 #include "wxMaracas_ManualTree_MPR.h"
00019 #include <wx/splitter.h>
00020 
00021 
00022 //----------------------------------------------------------------------------
00023 //----------------------------------------------------------------------------
00024 //----------------------------------------------------------------------------
00025 wxMaracas_ManualTree_MPR::wxMaracas_ManualTree_MPR( wxWindow* parent, marImageData* marimagedata,double voxelSize )
00026 : wxPanel( parent, -1, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL)
00027 {
00028 
00029   // Create the main frame window
00030         _MPR = new wxManualTree_MPRWidget( this, marimagedata , voxelSize);
00031         wxBoxSizer* szTop = new wxBoxSizer( wxVERTICAL );
00032         szTop->Add( _MPR, 1  , wxEXPAND |  wxALL , 0 );
00033         this->SetAutoLayout( true );
00034         this->SetSizer( szTop );
00035         szTop->Fit( this );
00036         szTop->SetSizeHints( this );
00037 //EEDxx2.4
00038 //      FitInside();
00039 
00040 }
00041 //----------------------------------------------------------------------------
00042 wxMaracas_ManualTree_MPR::~wxMaracas_ManualTree_MPR( )
00043 {
00044 //EEDxx2.4 DELETE
00045 //      delete _MPR;
00046   // Nothing
00047 }
00048 //----------------------------------------------------------------------------
00049 void wxMaracas_ManualTree_MPR::ConfigureVTK( )
00050 {
00051   _MPR->ConfigureVTK();
00052 }
00053 //----------------------------------------------------------------------------
00054 vtkMPRBaseData  *wxMaracas_ManualTree_MPR::GetVtkMPRBaseData()
00055 {
00056         return _MPR->GetVtkMPRBaseData();
00057 }
00058 
00059 //----------------------------------------------------------------------------
00060 vtkPlane2DView *wxMaracas_ManualTree_MPR::GetVtkPlane2DView()
00061 {
00062         return _MPR->GetVtkPlane2DView();
00063 }
00064 
00065 //----------------------------------------------------------------------------
00066 manualContourModel *wxMaracas_ManualTree_MPR::GetManualContourModel()
00067 {
00068         return _MPR->GetManualContourModel();
00069 }
00070 
00071 
00072 
00073 
00074 // EOF - wxMaracasMPR.cxx
00075 
00076 
00077 
00078 

Generated on 18 Mar 2010 for creaMaracasVisu_lib by  doxygen 1.6.1