1 /*=========================================================================
4 Module: $RCSfile: wxMaracasPathology_01.cxx,v $
6 Date: $Date: 2008/10/31 16:32:10 $
7 Version: $Revision: 1.1 $
9 Copyright: (c) 2002, 2003
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.
16 =========================================================================*/
18 #include "wxMaracasPathology_01.h"
21 wxMaracasPathology_01::wxMaracasPathology_01( wxWindow* parent,marInterface *mar)
22 : wxPanel( parent, -1, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL)
24 // Create the main frame window
25 _pathologywidget = new wxPathologyWidget_01( this,mar );
28 wxBoxSizer* szTop = new wxBoxSizer( wxVERTICAL );
29 szTop->Add( _pathologywidget, 1 , wxEXPAND | wxALL , 0 );
31 szTop->SetSizeHints( this );
32 this->SetAutoLayout( true );
33 this->SetSizer( szTop );
36 //----------------------------------------------------------------------------
37 wxMaracasPathology_01::~wxMaracasPathology_01( )
41 //----------------------------------------------------------------------------
42 void wxMaracasPathology_01::ConfigureVTK()
44 _pathologywidget->ConfigureVTK();
46 //----------------------------------------------------------------------------
47 void wxMaracasPathology_01::ConfigureVTK(vtkImageData *imagedata, int x, int y, int z, double param){
48 _pathologywidget->ConfigureVTK(imagedata, x, y, z, param );
50 //----------------------------------------------------------------------------
52 // EOF - wxMaracasPathology_01.cxx