wxMaracasEmptyPanel.cxx

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   wxMaracas
00004   Module:    $RCSfile: wxMaracasEmptyPanel.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 #include "wxMaracasEmptyPanel.h"
00019 
00020 
00021 wxMaracasEmptyPanel::wxMaracasEmptyPanel( wxFrame* parent )
00022 : wxPanel( parent, -1, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL)
00023 {
00024   // Create the main frame window
00025   _emptyPanel = new wxEmptyPanelWidget( this );
00026   wxBoxSizer* szTop = new wxBoxSizer( wxVERTICAL );
00027   szTop->Add( _emptyPanel, 1  , wxEXPAND |  wxALL , 0 );
00028   szTop->Fit( this );
00029   szTop->SetSizeHints( this );
00030   this->SetAutoLayout( true );
00031   this->SetSizer( szTop );
00032   this->Layout();
00033 }
00034 //----------------------------------------------------------------------------
00035 wxMaracasEmptyPanel::~wxMaracasEmptyPanel( )
00036 {
00037   // Nothing
00038 }
00039 //----------------------------------------------------------------------------
00040 void wxMaracasEmptyPanel::ConfigureVTK( vtkImageData *imagedata, int x, int y, int z )
00041 {
00042   _emptyPanel->ConfigureVTK(imagedata,  x,  y,  z );
00043 }
00044 //----------------------------------------------------------------------------
00045 
00046 // EOF - wxMaracasEmptyPanel.cxx
00047 
00048 
00049 
00050 

Generated on 18 Mar 2010 for creaMaracasVisu_lib by  doxygen 1.6.1