wxMaracasProcessingCT.cxx

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   wxMaracas
00004   Module:    $RCSfile: wxMaracasProcessingCT.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 "wxMaracasProcessingCT.h"
00019 
00020 
00021 wxMaracasProcessingCT::wxMaracasProcessingCT( wxWindow* parent, marInterfaceCT *mar )
00022 : wxPanel( parent, -1, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL)
00023 {
00024   // Create the main frame window
00025   _processingCTWidget = new wxProcessingCTWidget( this, mar );
00026   wxBoxSizer* szTop = new wxBoxSizer( wxVERTICAL );
00027   szTop->Add( _processingCTWidget, 1  , wxALL|wxGROW , 0 );
00028 //  szTop->Fit( this );
00029 //  szTop->SetSizeHints( this );
00030   this->SetSizer( szTop );
00031   this->SetAutoLayout( true );
00032   this->Layout();
00033 }
00034 //----------------------------------------------------------------------------
00035 wxMaracasProcessingCT::~wxMaracasProcessingCT( )
00036 {
00037   // Nothing
00038 }
00039 //----------------------------------------------------------------------------
00040 void wxMaracasProcessingCT::ConfigureVTK( marImageData *marimagedata, int x, int y, int z )
00041 {
00042   _processingCTWidget->ConfigureVTK(marimagedata,  x,  y,  z );
00043 }
00044 //----------------------------------------------------------------------------
00045 void wxMaracasProcessingCT::SetThreshold(int min,int max)
00046 {
00047         _processingCTWidget->SetThreshold(min,max);
00048 }
00049 //----------------------------------------------------------------------------
00050 void wxMaracasProcessingCT::GetThreshold(int *min,int *max)
00051 {
00052         _processingCTWidget->GetThreshold(min,max);
00053 }
00054 //----------------------------------------------------------------------------
00055 void wxMaracasProcessingCT::Refresh()
00056 {
00057         _processingCTWidget->Refresh();
00058 }
00059 //----------------------------------------------------------------------------
00060 
00061 
00062 // EOF - wxMaracasProcessingCT.cxx
00063 
00064 
00065 
00066 

Generated on 18 Mar 2010 for creaMaracasVisu_lib by  doxygen 1.6.1