#include <wxMaracasMPR.h>

Public Member Functions | |
| wxMaracasMPR (wxWindow *parent, marImageData *marimagedata=NULL, double voxelSize=-1) | |
| ~wxMaracasMPR () | |
| void | ConfigureVTK () |
| vtkMPRBaseData * | GetVtkMPRBaseData () |
| vtkPlane2DView * | GetVtkPlane2DView () |
| wxVtkMPR3DView * | GetWxvtkmpr3Dview_BB () throw (char*) |
| void | RefreshView () |
| void | setImageData (vtkImageData *img, double voxelsize) |
Private Attributes | |
| wxMPRWidget * | _MPR |
Definition at line 30 of file wxMaracasMPR.h.
| wxMaracasMPR::wxMaracasMPR | ( | wxWindow * | parent, | |
| marImageData * | marimagedata = NULL, |
|||
| double | voxelSize = -1 | |||
| ) |
Definition at line 21 of file wxMaracasMPR.cxx.
References _MPR.
00023 : wxPanel( parent, -1, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL) 00024 { 00025 _MPR=NULL; 00026 wxBoxSizer* szTop = new wxBoxSizer( wxVERTICAL ); 00027 _MPR = new wxMPRWidget( this, marimagedata , voxelSize); 00028 szTop->Add( _MPR, 1 , wxGROW | wxALL , 0 ); 00029 this->SetAutoLayout( true ); 00030 this->SetSizer( szTop ); 00031 szTop->Fit( this ); 00032 // szTop->SetSizeHints( this ); 00033 }
| wxMaracasMPR::~wxMaracasMPR | ( | ) |
| void wxMaracasMPR::ConfigureVTK | ( | ) |
Definition at line 40 of file wxMaracasMPR.cxx.
References _MPR, and wxMPRWidget::ConfigureVTK().
Referenced by wxSTLWidget_02::CreateViewPanel(), wxSTLWidget_03::CreateViewPanel(), wxPnlSearchStenosisAutomatic::OnBtAxisMPR(), and wxSTLWidget_03::setImage().
00041 { 00042 if (_MPR!=NULL ) {_MPR->ConfigureVTK(); } 00043 }


| vtkMPRBaseData * wxMaracasMPR::GetVtkMPRBaseData | ( | ) |
Definition at line 45 of file wxMaracasMPR.cxx.
References _MPR, and wxMPRWidget::GetVtkMPRBaseData().
Referenced by wxSTLWidget_03::OnBtnExtraction(), and wxSTLWidget_02::OnBtnExtractTree2_JF().
00046 { 00047 return _MPR->GetVtkMPRBaseData(); 00048 }


| vtkPlane2DView * wxMaracasMPR::GetVtkPlane2DView | ( | ) |
Definition at line 50 of file wxMaracasMPR.cxx.
References _MPR, and wxMPRWidget::GetVtkPlane2DView().
Referenced by wxPnlSearchStenosisAutomatic::OnBtAxisMPR().
00051 { 00052 return _MPR->GetVtkPlane2DView(); 00053 }


| wxVtkMPR3DView * wxMaracasMPR::GetWxvtkmpr3Dview_BB | ( | ) | throw (char*) |
Definition at line 55 of file wxMaracasMPR.cxx.
References _MPR, and wxMPRWidget::GetWxvtkmpr3Dview_BB().
Referenced by wxSTLWidget_02::ConfigureSTL(), wxSTLWidget_03::ConfigureSTL(), wxSTLWidget_03::ExtractSurface(), wxSTLWidget_02::ExtractTree2_JF(), wxSTLWidget_02::OnBtnSTLFileLoad(), wxSTLWidget_03::OnBtnSTLFileLoad(), wxSTLWidget_02::OnJoinRegions(), wxSTLWidget_02::Reset_vtk_STLFile(), wxSTLWidget_03::Reset_vtk_STLFile(), wxSTLWidget_02::ResetTree2_JF(), and wxSTLWidget_03::ResetTree2_JF().
00056 { 00057 if(_MPR == NULL){ 00058 throw "wxVtkMPR3DView *wxMaracasMPR::GetWxvtkmpr3Dview_BB() _MPR =NULL"; 00059 } 00060 if(_MPR->GetWxvtkmpr3Dview_BB() ==NULL){ 00061 throw "wxVtkMPR3DView *wxMaracasMPR::GetWxvtkmpr3Dview_BB() _MPR->GetWxvtkmpr3Dview_BB()=NULL"; 00062 } 00063 return _MPR->GetWxvtkmpr3Dview_BB(); 00064 }


| void wxMaracasMPR::RefreshView | ( | ) |
Definition at line 67 of file wxMaracasMPR.cxx.
References _MPR, and wxMPRWidget::RefreshView().
Referenced by wxSTLWidget_02::Refresh(), and wxSTLWidget_03::Refresh().
00068 { 00069 _MPR->RefreshView(); 00070 }


| void wxMaracasMPR::setImageData | ( | vtkImageData * | img, | |
| double | voxelsize | |||
| ) |
Definition at line 72 of file wxMaracasMPR.cxx.
References _MPR, and wxMPRWidget::setImageData().
Referenced by wxSTLWidget_03::setImage().
00072 { 00073 _MPR->setImageData(img, voxelsize); 00074 00075 }


wxMPRWidget* wxMaracasMPR::_MPR [private] |
Definition at line 44 of file wxMaracasMPR.h.
Referenced by ConfigureVTK(), GetVtkMPRBaseData(), GetVtkPlane2DView(), GetWxvtkmpr3Dview_BB(), RefreshView(), setImageData(), wxMaracasMPR(), and ~wxMaracasMPR().
1.5.3