]> Creatis software - creaMaracasVisu.git/blob - lib/maracasVisuLib/src/interface/wxWindows/wxMaracasEmptyPanel.cxx
961730fae79a9b7b214b1ba40c59e085c5f9dcd3
[creaMaracasVisu.git] / lib / maracasVisuLib / src / interface / wxWindows / wxMaracasEmptyPanel.cxx
1 /*=========================================================================
2
3   Program:   wxMaracas
4   Module:    $RCSfile: wxMaracasEmptyPanel.cxx,v $
5   Language:  C++
6   Date:      $Date: 2008/10/31 16:32:09 $
7   Version:   $Revision: 1.1 $
8
9   Copyright: (c) 2002, 2003
10   License:
11
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.
15
16 =========================================================================*/
17
18 #include "wxMaracasEmptyPanel.h"
19
20
21 wxMaracasEmptyPanel::wxMaracasEmptyPanel( wxFrame* parent )
22 : wxPanel( parent, -1, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL)
23 {
24   // Create the main frame window
25   _emptyPanel = new wxEmptyPanelWidget( this );
26   wxBoxSizer* szTop = new wxBoxSizer( wxVERTICAL );
27   szTop->Add( _emptyPanel, 1  , wxEXPAND |  wxALL , 0 );
28   szTop->Fit( this );
29   szTop->SetSizeHints( this );
30   this->SetAutoLayout( true );
31   this->SetSizer( szTop );
32   this->Layout();
33 }
34 //----------------------------------------------------------------------------
35 wxMaracasEmptyPanel::~wxMaracasEmptyPanel( )
36 {
37   // Nothing
38 }
39 //----------------------------------------------------------------------------
40 void wxMaracasEmptyPanel::ConfigureVTK( vtkImageData *imagedata, int x, int y, int z )
41 {
42   _emptyPanel->ConfigureVTK(imagedata,  x,  y,  z );
43 }
44 //----------------------------------------------------------------------------
45
46 // EOF - wxMaracasEmptyPanel.cxx
47
48
49
50