wxMaracasMPR Class Reference

#include <wxMaracasMPR.h>

Collaboration diagram for wxMaracasMPR:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 wxMaracasMPR (wxWindow *parent, marImageData *marimagedata=NULL, double voxelSize=-1)
 ~wxMaracasMPR ()
void ConfigureVTK ()
vtkMPRBaseDataGetVtkMPRBaseData ()
vtkPlane2DViewGetVtkPlane2DView ()
wxVtkMPR3DViewGetWxvtkmpr3Dview_BB () throw (char*)
void RefreshView ()
void setImageData (vtkImageData *img, double voxelsize)

Private Attributes

wxMPRWidget_MPR

Detailed Description

Definition at line 30 of file wxMaracasMPR.h.


Constructor & Destructor Documentation

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 (  ) 

Definition at line 35 of file wxMaracasMPR.cxx.

References _MPR.

00036 {
00037         if (_MPR!=NULL) { delete _MPR; }
00038 }


Member Function Documentation

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 }

Here is the call graph for this function:

Here is the caller graph for this function:

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 }

Here is the call graph for this function:

Here is the caller graph for this function:

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 }

Here is the call graph for this function:

Here is the caller graph for this function:

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 }

Here is the call graph for this function:

Here is the caller graph for this function:

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 }

Here is the call graph for this function:

Here is the caller graph for this function:

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 }

Here is the call graph for this function:

Here is the caller graph for this function:


Member Data Documentation


The documentation for this class was generated from the following files:

Generated on 18 Mar 2010 for creaMaracasVisu_lib by  doxygen 1.6.1