wxMaracasProcessingCT.cxx
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
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
00025 _processingCTWidget = new wxProcessingCTWidget( this, mar );
00026 wxBoxSizer* szTop = new wxBoxSizer( wxVERTICAL );
00027 szTop->Add( _processingCTWidget, 1 , wxALL|wxGROW , 0 );
00028
00029
00030 this->SetSizer( szTop );
00031 this->SetAutoLayout( true );
00032 this->Layout();
00033 }
00034
00035 wxMaracasProcessingCT::~wxMaracasProcessingCT( )
00036 {
00037
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
00063
00064
00065
00066