]> Creatis software - creaMaracasVisu.git/blob - lib/maracasVisuLib/src/interface/wxWindows/include/wxMaracasPathology_01.cxx
BUG macOs
[creaMaracasVisu.git] / lib / maracasVisuLib / src / interface / wxWindows / include / wxMaracasPathology_01.cxx
1 /*=========================================================================
2
3   Program:   wxMaracas
4   Module:    $RCSfile: wxMaracasPathology_01.cxx,v $
5   Language:  C++
6   Date:      $Date: 2009/05/14 13:54:54 $
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 "wxMaracasPathology_01.h"
19
20
21 wxMaracasPathology_01::wxMaracasPathology_01( wxWindow* parent,marInterface *mar)
22 : wxPanel( parent, -1, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL)
23 {
24   // Create the main frame window
25   _pathologywidget = new wxPathologyWidget_01( this,mar );
26
27
28   wxBoxSizer* szTop = new wxBoxSizer( wxVERTICAL );
29   szTop->Add( _pathologywidget, 1  , wxEXPAND |  wxALL , 0 );
30   szTop->Fit( this );
31   szTop->SetSizeHints( this );
32   this->SetAutoLayout( true );
33   this->SetSizer( szTop );
34   this->Layout();
35 }
36 //----------------------------------------------------------------------------
37 wxMaracasPathology_01::~wxMaracasPathology_01( )
38 {
39   // Nothing
40 }
41 //----------------------------------------------------------------------------
42 void wxMaracasPathology_01::ConfigureVTK()
43 {
44   _pathologywidget->ConfigureVTK();
45 }
46 //----------------------------------------------------------------------------
47 void wxMaracasPathology_01::ConfigureVTK(vtkImageData *imagedata, int x, int y, int z, double param){
48         _pathologywidget->ConfigureVTK(imagedata,  x,  y,  z, param );
49 }
50 //----------------------------------------------------------------------------
51
52 // EOF - wxMaracasPathology_01.cxx
53