1 /*=========================================================================
4 Module: $RCSfile: wxMaracasProcessingCT.cxx,v $
6 Date: $Date: 2008/10/31 16:32:11 $
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 "wxMaracasProcessingCT.h"
21 wxMaracasProcessingCT::wxMaracasProcessingCT( wxWindow* parent, marInterfaceCT *mar )
22 : wxPanel( parent, -1, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL)
24 // Create the main frame window
25 _processingCTWidget = new wxProcessingCTWidget( this, mar );
26 wxBoxSizer* szTop = new wxBoxSizer( wxVERTICAL );
27 szTop->Add( _processingCTWidget, 1 , wxALL|wxGROW , 0 );
28 // szTop->Fit( this );
29 // szTop->SetSizeHints( this );
30 this->SetSizer( szTop );
31 this->SetAutoLayout( true );
34 //----------------------------------------------------------------------------
35 wxMaracasProcessingCT::~wxMaracasProcessingCT( )
39 //----------------------------------------------------------------------------
40 void wxMaracasProcessingCT::ConfigureVTK( marImageData *marimagedata, int x, int y, int z )
42 _processingCTWidget->ConfigureVTK(marimagedata, x, y, z );
44 //----------------------------------------------------------------------------
45 void wxMaracasProcessingCT::SetThreshold(int min,int max)
47 _processingCTWidget->SetThreshold(min,max);
49 //----------------------------------------------------------------------------
50 void wxMaracasProcessingCT::GetThreshold(int *min,int *max)
52 _processingCTWidget->GetThreshold(min,max);
54 //----------------------------------------------------------------------------
55 void wxMaracasProcessingCT::Refresh()
57 _processingCTWidget->Refresh();
59 //----------------------------------------------------------------------------
62 // EOF - wxMaracasProcessingCT.cxx