wxSTLWidget_02 Class Reference

#include <wxSTLWidget_02.h>

Collaboration diagram for wxSTLWidget_02:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 wxSTLWidget_02 (wxWindow *parentmar, marInterface *mar)
 ~wxSTLWidget_02 ()
void ConfigureVTK ()
void Refresh ()
void OnOpacity_Res2VolJF (wxScrollEvent &event)
void OnBtnExtractTree2_JF (wxCommandEvent &event)
void OnBtnEraseTree2_JF (wxCommandEvent &event)
void OnSensibility (wxScrollEvent &event)
void OnMaxSphereSize_JF (wxScrollEvent &event)
void OnMinSphereSize_JF (wxScrollEvent &event)
void Reset_vtk_STLFile ()
void OnBtnSTLFileLoad (wxCommandEvent &event)
void OnBtnSTLFileErase (wxCommandEvent &event)
void OnOpacitySTLFile (wxScrollEvent &event)
void generateSTLSurfaces ()
void OnBtnCreateFileSTL (wxCommandEvent &event)
void OnChangeSTLGaussLevel (wxScrollEvent &event)
void OnChangeSTLMarchingCubesLevel (wxScrollEvent &event)
void OnOpacitySTLExternal (wxScrollEvent &event)
void OnOpacitySTLInternal (wxScrollEvent &event)
void OnJoinRegions (wxCommandEvent &event)

Private Member Functions

wxPanel * CreateControlPanel (wxWindow *parent)
wxPanel * CreateViewPanel (wxWindow *parent)
void ResetTree2_JF ()
void ExtractTree2_JF (int x, int y, int z)
void ConfigureSTL ()
void ConfigureJoinRegions ()

Private Attributes

axisExtractor02_2_prgov
vtkPolyDataMapper * _2_mapfinal
vtkActor * _2_stripfinal
vtkPolyDataMapper * _2_isoMapperMC6
vtkActor * _2_isoActorMC6
vtkMarchingCubes * _2_isoMC6
double _sensibility_JF
int _maxSphereSize_JF
int _minSphereSize_JF
vtkPolyDataMapper * _loadSTLMapper
vtkActor * _loadActorSTL
wxSlider * _opacity_Res2VolJF
wxSlider * _sl_sensibility_JF
wxSlider * _sl_maxSphereSize_JF
wxSlider * _sl_minSphereSize_JF
wxVtk3DBaseView_imageviewer3D
marInterface_mar
wxMaracasMPR_wxMaracasMPR
double _stlDeltaGaussLevel
double _stlMarchingCubesLevel
vtkPolyData * stlInterna
vtkPolyData * stlExterna
wxSlider * stlSliderDeltaGauss
wxSlider * stlSliderMarchingCubes
vtkPolyDataMapper * dsm1
vtkActor * actorInternal
wxSlider * stlSliderOpacityInternal
vtkPolyDataMapper * dsm2
vtkActor * actorExternal
wxSlider * stlSliderOpacityExternal
vtkSTLExtractorstlExtractor
wxSlider * _sl_opacity_STL_file
vtkImageData * arteryImageData
vtkJoinerjoiner
vtkMarchingCubes * joinMarchingCubes
vtkPolyDataMapper * joinMapper
vtkActor * joinActor

Detailed Description

Definition at line 39 of file wxSTLWidget_02.h.


Constructor & Destructor Documentation

wxSTLWidget_02::wxSTLWidget_02 ( wxWindow *  parentmar,
marInterface mar 
)

Definition at line 64 of file wxSTLWidget_02.cxx.

References _2_isoActorMC6, _2_isoMapperMC6, _2_isoMC6, _2_mapfinal, _2_prgov, _2_stripfinal, marInterface::_dicom, marInterface::_experiment, _loadActorSTL, _loadSTLMapper, _mar, _maxSphereSize_JF, _minSphereSize_JF, marInterface::_parameters, _sensibility_JF, _stlDeltaGaussLevel, _stlMarchingCubesLevel, arteryImageData, CreateControlPanel(), CreateViewPanel(), marParameters::e_voxel_type, marParameters::e_voxel_x_dimension, marParameters::e_voxel_y_dimension, marParameters::e_voxel_z_dimension, marParameters::getDoubleParam(), marParameters::getRescaleIntercept(), marParameters::getRescaleSlope(), marExperiment::getVOI(), marInterface::initExperiment(), joinActor, joinMapper, joinMarchingCubes, marInterface::SetDicom(), marParameters::setDoubleParam(), marParameters::setIntParam(), marParameters::setRescaleIntercept(), marParameters::setRescaleSlope(), marExperiment::setVOI(), stlExterna, stlInterna, and marParameters::VOX_TYPE_MINIMUM.

00065 : wxPanel( parent, -1) 
00066 {
00067         _sensibility_JF                 = 0.5;
00068         _maxSphereSize_JF               = 30;
00069         _minSphereSize_JF               = 5;
00070 
00071         _stlMarchingCubesLevel  = 128;
00072         _stlDeltaGaussLevel             = 100;
00073 
00074         _mar=new marInterface();        
00075         _mar->_parameters->setRescaleSlope( mar->_parameters->getRescaleSlope() );
00076         _mar->_parameters->setRescaleIntercept( mar->_parameters->getRescaleIntercept() );
00077         _mar->_parameters->setIntParam( marParameters::e_voxel_type, marParameters::VOX_TYPE_MINIMUM );
00078         _mar->_parameters->setDoubleParam( marParameters::e_voxel_x_dimension, mar->_parameters->getDoubleParam(marParameters::e_voxel_x_dimension) );
00079         _mar->_parameters->setDoubleParam( marParameters::e_voxel_y_dimension, mar->_parameters->getDoubleParam(marParameters::e_voxel_y_dimension) );
00080         _mar->_parameters->setDoubleParam( marParameters::e_voxel_z_dimension, mar->_parameters->getDoubleParam(marParameters::e_voxel_z_dimension) );
00081         int voi[6];
00082         mar->_experiment->getVOI( voi );
00083         _mar->_experiment->setVOI( voi );
00084         _mar->SetDicom(mar->_dicom);
00085         _mar->initExperiment( );
00086          
00087 
00088         wxBoxSizer                      *sizer                  = new wxBoxSizer(wxVERTICAL  );
00089     wxSplitterWindow    *pnlSplitter    = new wxSplitterWindow( this , -1);
00090         wxPanel                         *viewPanel              = CreateViewPanel(pnlSplitter);
00091         wxPanel                         *controlPanel   = CreateControlPanel(pnlSplitter);
00092 
00093         sizer           -> Add( pnlSplitter ,1,wxGROW  ,0);
00094         pnlSplitter     -> SetMinimumPaneSize( 150 );
00095     pnlSplitter -> SplitVertically( viewPanel, controlPanel, 600 );
00096         this            -> SetSizer(sizer);
00097 
00098         // Result 2: Volume + Axis
00099         _2_prgov                        = NULL;
00100         _2_mapfinal                     = NULL;
00101         _2_stripfinal           = NULL;
00102         _2_isoMapperMC6         = NULL;
00103         _2_isoActorMC6          = NULL;
00104         _2_isoMC6                       = NULL;
00105 
00106 
00107         //DHC STL SURFACES
00108         stlInterna = NULL;
00109         stlExterna = NULL;
00110 
00111         _loadSTLMapper          = NULL;
00112         _loadActorSTL           = NULL;
00113 
00114         
00115         //JOIN REGIONS
00116         arteryImageData         = NULL;
00117         joinMarchingCubes       = NULL;
00118     joinMapper                  = NULL; 
00119         joinActor                       = NULL;
00120 
00121 
00122 }

Here is the call graph for this function:

wxSTLWidget_02::~wxSTLWidget_02 (  ) 

Definition at line 124 of file wxSTLWidget_02.cxx.

References Reset_vtk_STLFile(), and ResetTree2_JF().

00124                                {
00125         ResetTree2_JF();
00126         Reset_vtk_STLFile();
00127 }

Here is the call graph for this function:


Member Function Documentation

void wxSTLWidget_02::ConfigureJoinRegions (  )  [private]

Definition at line 542 of file wxSTLWidget_02.cxx.

References arteryImageData, and joiner.

Referenced by ConfigureVTK().

00543 {
00544         arteryImageData = NULL;
00545         joiner = new vtkJoiner();
00546 }

Here is the caller graph for this function:

void wxSTLWidget_02::ConfigureSTL (  )  [private]

Definition at line 582 of file wxSTLWidget_02.cxx.

References _wxMaracasMPR, actorExternal, actorInternal, dsm1, dsm2, wxVtk3DBaseView::GetRenderer(), wxVtkMPR3DView::GetWxvtk3Dbaseview(), wxMaracasMPR::GetWxvtkmpr3Dview_BB(), stlExterna, stlExtractor, and stlInterna.

Referenced by ConfigureVTK().

00583 {
00584         stlExterna = vtkPolyData::New();
00585         stlInterna = vtkPolyData::New();
00586 
00587         dsm1 = vtkPolyDataMapper ::New();
00588     dsm1->SetInput (stlInterna); 
00589     dsm1->ScalarVisibilityOff();
00590 
00591     actorInternal = vtkActor::New();
00592     actorInternal->SetMapper (dsm1);
00593     actorInternal->GetProperty()->SetColor (0,1,0);
00594 
00595     dsm2 = vtkPolyDataMapper ::New();
00596     dsm2->SetInput (stlExterna);
00597     dsm2->ScalarVisibilityOff();
00598 
00599     actorExternal= vtkActor::New();
00600     actorExternal->SetMapper (dsm2);
00601     actorExternal->GetProperty()->SetRepresentationToWireframe();
00602 
00603 //    vtkRenderer *ren = _maracasSurfaceWidget->GetVtk3DSurfaceWidget()->GetRenderer();
00604         vtkRenderer *ren = _wxMaracasMPR->GetWxvtkmpr3Dview_BB()->GetWxvtk3Dbaseview()->GetRenderer();
00605     ren->AddActor(actorInternal);
00606     ren->AddActor(actorExternal);
00607 
00608         stlExtractor = new vtkSTLExtractor();  
00609 }

Here is the call graph for this function:

Here is the caller graph for this function:

void wxSTLWidget_02::ConfigureVTK (  ) 

Definition at line 288 of file wxSTLWidget_02.cxx.

References marInterface::_experiment, _mar, ConfigureJoinRegions(), ConfigureSTL(), marExperiment::getDynData(), and marDynData::getVolume().

00289 {
00290     wxBusyCursor wait;
00291         vtkImageData    *imagedata              = _mar->_experiment->getDynData( )->getVolume( )->castVtk();
00292 
00293         //CONFIGURACION ADICIONAL
00294     this->ConfigureSTL();
00295         this->ConfigureJoinRegions();
00296 
00297         
00298 }

Here is the call graph for this function:

wxPanel * wxSTLWidget_02::CreateControlPanel ( wxWindow *  parent  )  [private]

Definition at line 150 of file wxSTLWidget_02.cxx.

References _maxSphereSize_JF, _minSphereSize_JF, _opacity_Res2VolJF, _sensibility_JF, _sl_maxSphereSize_JF, _sl_minSphereSize_JF, _sl_opacity_STL_file, _sl_sensibility_JF, _stlDeltaGaussLevel, _stlMarchingCubesLevel, OnBtnCreateFileSTL(), OnBtnEraseTree2_JF(), OnBtnExtractTree2_JF(), OnBtnSTLFileErase(), OnBtnSTLFileLoad(), OnChangeSTLGaussLevel(), OnChangeSTLMarchingCubesLevel(), OnJoinRegions(), OnMaxSphereSize_JF(), OnMinSphereSize_JF(), OnOpacity_Res2VolJF(), OnOpacitySTLExternal(), OnOpacitySTLFile(), OnOpacitySTLInternal(), OnSensibility(), stlSliderDeltaGauss, stlSliderMarchingCubes, stlSliderOpacityExternal, and stlSliderOpacityInternal.

Referenced by wxSTLWidget_02().

00151 {
00152         wxPanel *panel                  = new wxPanel(parent,-1);
00153         
00154         _opacity_Res2VolJF              = new wxSlider( panel, -1, 25, 0, 100                            , wxDefaultPosition, wxSize(200,40), wxSL_HORIZONTAL | wxSL_LABELS );
00155         _sl_sensibility_JF              = new wxSlider( panel, -1, 0 , 0, 100                            , wxDefaultPosition, wxSize(200,40), wxSL_HORIZONTAL | wxSL_LABELS );
00156         _sl_maxSphereSize_JF    = new wxSlider( panel, -1, _maxSphereSize_JF, 0, 100 , wxDefaultPosition, wxSize(200,40), wxSL_HORIZONTAL | wxSL_LABELS );
00157         _sl_minSphereSize_JF    = new wxSlider( panel, -1, _minSphereSize_JF , 0, 20 , wxDefaultPosition, wxSize(200,40), wxSL_HORIZONTAL | wxSL_LABELS );
00158 
00159 
00160         int tmp_sensibility= (int)(_sensibility_JF*100.0);
00161         _sl_sensibility_JF->SetValue( tmp_sensibility );
00162 
00163         _opacity_Res2VolJF      ->SetSize(250,20);  // Result 2 Volume JF
00164 
00165         //Extract Tree 2 JF
00166         wxButton *btnExtractTree2_JF    = new wxButton(panel,-1,_T("Extract Tree 2 JF"));
00167         wxButton *btnEraseTree2_JF              = new wxButton(panel,-1,_T("Erase Tree 2 JF"));
00168 
00169 
00170         wxButton *btnReadSTLFile                        = new wxButton(panel,-1,_T("Read STL File"));
00171         wxButton *btnEraseReadSTLFile           = new wxButton(panel,-1,_T("Erase STL File"));
00172         _sl_opacity_STL_file                            = new wxSlider( panel, -1, 100 , 0, 100 , wxDefaultPosition, wxSize(200,40), wxSL_HORIZONTAL | wxSL_LABELS );
00173 
00174 
00175     wxFlexGridSizer *sizer = new wxFlexGridSizer(2);
00176         sizer->Add(new wxStaticText(panel,-1,_T("  ")));
00177         sizer->Add(new wxStaticText(panel,-1,_T("  ")));
00178 
00179 
00180         sizer->Add(new wxStaticText(panel,-1,_T("  - - -  Segmentation - - - ")));
00181         sizer->Add(new wxStaticText(panel,-1,_T("  "))); 
00182         sizer->Add(new wxStaticText(panel,-1,_T(" % Sensibility")));
00183         sizer->Add(_sl_sensibility_JF);
00184         sizer->Add(new wxStaticText(panel,-1,_T(" Biggest radium")));
00185         sizer->Add(_sl_maxSphereSize_JF);
00186         sizer->Add(new wxStaticText(panel,-1,_T(" Minimum radium")));
00187         sizer->Add(_sl_minSphereSize_JF);
00188 
00189 
00190         sizer->Add(btnExtractTree2_JF);
00191         sizer->Add(btnEraseTree2_JF);
00192 
00193         wxButton *btnJoinRegions = new wxButton(panel,-1,_T("Join Regions"));
00194         sizer->Add(btnJoinRegions);
00195         sizer->Add(new wxStaticText(panel,-1,_T("  ")));
00196 
00197 
00198         sizer->Add(new wxStaticText(panel,-1,_T("  ")));
00199         sizer->Add(new wxStaticText(panel,-1,_T("  ")));
00200         sizer->Add(new wxStaticText(panel,-1,_T("Opacity - Result Volume")));
00201         sizer->Add(_opacity_Res2VolJF);
00202         sizer->Add(new wxStaticText(panel,-1,_T("  ")));
00203         sizer->Add(new wxStaticText(panel,-1,_T("  ")));
00204         sizer->Add(new wxStaticText(panel,-1,_T("  ")));
00205         sizer->Add(new wxStaticText(panel,-1,_T("  ")));
00206 
00207 
00208 //-- STL WIDGETS
00209         
00210         sizer->Add(new wxStaticText(panel,-1,_T("  ")));
00211         sizer->Add(new wxStaticText(panel,-1,_T("  ")));
00212     sizer->Add(new wxStaticText(panel,-1,_T("  - - -  STL - - - ")));
00213     sizer->Add(new wxStaticText(panel,-1,_T("  ")));
00214         stlSliderDeltaGauss     = new wxSlider( panel, -1, (int)(_stlDeltaGaussLevel) , 0, 300 , wxDefaultPosition, wxSize(200,40), wxSL_HORIZONTAL | wxSL_LABELS );
00215         stlSliderMarchingCubes= new wxSlider( panel, -1, (int)(_stlMarchingCubesLevel) , 0, 256 , wxDefaultPosition, wxSize(200,40), wxSL_HORIZONTAL | wxSL_LABELS );
00216         
00217 
00218 
00219         sizer->Add(new wxStaticText(panel,-1,_T(" Delta Gauss")));
00220         sizer->Add(stlSliderDeltaGauss);
00221 
00222         sizer->Add(new wxStaticText(panel,-1,_T(" Marching Cubes Level")));
00223         sizer->Add(stlSliderMarchingCubes);
00224 
00225         stlSliderOpacityInternal = new wxSlider(panel, -1, 100,0,100, wxDefaultPosition, wxSize(200,40), wxSL_HORIZONTAL | wxSL_LABELS);
00226         stlSliderOpacityExternal = new wxSlider(panel, -1, 100,0,100, wxDefaultPosition, wxSize(200,40), wxSL_HORIZONTAL | wxSL_LABELS);
00227 
00228         sizer->Add(new wxStaticText(panel, -1,_T(" Opacity STL Internal")));
00229         sizer->Add(stlSliderOpacityInternal);
00230 
00231         sizer->Add(new wxStaticText(panel, -1,_T(" Opacity STL External")));
00232         sizer->Add(stlSliderOpacityExternal);
00233 
00234         wxButton *btnFileSTL = new wxButton(panel,-1,_T("Generate STL files"));
00235         sizer->Add(btnFileSTL);
00236         sizer->Add(new wxStaticText(panel,-1,_T("  ")));
00237 //-- STL WIDGETS
00238         
00239 
00240         sizer->Add(new wxStaticText(panel,-1,_T("  ")));
00241         sizer->Add(new wxStaticText(panel,-1,_T("  ")));
00242         sizer->Add(btnReadSTLFile );
00243         sizer->Add(btnEraseReadSTLFile );
00244         sizer->Add(new wxStaticText(panel, -1,_T(" Opacity STL File")));
00245         sizer->Add(_sl_opacity_STL_file);
00246 
00247         panel->SetSizer(sizer);
00248         panel->SetAutoLayout(true);
00249         panel->SetSize(400,600);
00250         panel->Layout();
00251 
00252         Connect(_opacity_Res2VolJF->GetId()             , wxEVT_COMMAND_SLIDER_UPDATED  , (wxObjectEventFunction) &wxSTLWidget_02::OnOpacity_Res2VolJF  ); 
00253         Connect(_sl_sensibility_JF->GetId()             , wxEVT_COMMAND_SLIDER_UPDATED  , (wxObjectEventFunction) &wxSTLWidget_02::OnSensibility        ); 
00254         Connect(_sl_maxSphereSize_JF->GetId()           , wxEVT_COMMAND_SLIDER_UPDATED  , (wxObjectEventFunction) &wxSTLWidget_02::OnMaxSphereSize_JF   ); 
00255         Connect(_sl_minSphereSize_JF->GetId()           , wxEVT_COMMAND_SLIDER_UPDATED  , (wxObjectEventFunction) &wxSTLWidget_02::OnMinSphereSize_JF   ); 
00256 
00257 
00258         Connect(btnExtractTree2_JF->GetId()             , wxEVT_COMMAND_BUTTON_CLICKED  , (wxObjectEventFunction) &wxSTLWidget_02::OnBtnExtractTree2_JF ); 
00259         Connect(btnEraseTree2_JF->GetId()               , wxEVT_COMMAND_BUTTON_CLICKED  , (wxObjectEventFunction) &wxSTLWidget_02::OnBtnEraseTree2_JF   ); 
00260         Connect(btnJoinRegions->GetId()                 , wxEVT_COMMAND_BUTTON_CLICKED  , (wxObjectEventFunction) &wxSTLWidget_02::OnJoinRegions        ); 
00261 
00262         
00263         Connect(btnReadSTLFile->GetId()                 , wxEVT_COMMAND_BUTTON_CLICKED  , (wxObjectEventFunction) &wxSTLWidget_02::OnBtnSTLFileLoad     ); 
00264         Connect(btnEraseReadSTLFile->GetId()    , wxEVT_COMMAND_BUTTON_CLICKED  , (wxObjectEventFunction) &wxSTLWidget_02::OnBtnSTLFileErase    ); 
00265         Connect(_sl_opacity_STL_file->GetId()   , wxEVT_COMMAND_SLIDER_UPDATED  , (wxObjectEventFunction) &wxSTLWidget_02::OnOpacitySTLFile             ); 
00266 
00267 
00268         // -- STL CONNECT WIDGETS
00269         Connect(btnFileSTL->GetId()                             , wxEVT_COMMAND_BUTTON_CLICKED  , (wxObjectEventFunction) &wxSTLWidget_02::OnBtnCreateFileSTL         );
00270         Connect(stlSliderDeltaGauss->GetId()    , wxEVT_SCROLL_THUMBRELEASE             , (wxObjectEventFunction) &wxSTLWidget_02::OnChangeSTLGaussLevel        );
00271         Connect(stlSliderMarchingCubes->GetId() , wxEVT_SCROLL_THUMBRELEASE             , (wxObjectEventFunction) &wxSTLWidget_02::OnChangeSTLMarchingCubesLevel);
00272         Connect(stlSliderOpacityInternal->GetId(), wxEVT_COMMAND_SLIDER_UPDATED , (wxObjectEventFunction) &wxSTLWidget_02::OnOpacitySTLInternal);
00273         Connect(stlSliderOpacityExternal->GetId(), wxEVT_COMMAND_SLIDER_UPDATED , (wxObjectEventFunction) &wxSTLWidget_02::OnOpacitySTLExternal);
00274         // -- STL CONNECT WIDGETS
00275 
00276         return panel;
00277 }

Here is the call graph for this function:

Here is the caller graph for this function:

wxPanel * wxSTLWidget_02::CreateViewPanel ( wxWindow *  parent  )  [private]

Definition at line 129 of file wxSTLWidget_02.cxx.

References marInterface::_experiment, _mar, marInterface::_parameters, _wxMaracasMPR, wxMaracasMPR::ConfigureVTK(), marExperiment::getDynData(), marDynData::getVolume(), and marParameters::getVoxelSize().

Referenced by wxSTLWidget_02().

00130 {
00131         wxPanel *panel          =       new wxPanel(parent,-1);
00132     wxBoxSizer *sizer   =       new wxBoxSizer(wxVERTICAL);
00133 
00134 
00135    // MPR
00136         vtkImageData *imagedata;
00137         imagedata = _mar->_experiment->getDynData( )->getVolume( )->castVtk();
00138         imagedata->Update();    
00139         _wxMaracasMPR = new wxMaracasMPR( panel, new marImageData(imagedata), _mar->_parameters->getVoxelSize() );
00140         _wxMaracasMPR->ConfigureVTK();
00141         
00142         sizer->Add(     _wxMaracasMPR , 1, wxEXPAND, 0);
00143         panel->SetSizer(sizer);
00144         panel->SetAutoLayout(true);
00145         panel->SetSize(400,400);
00146         panel->Layout();
00147         return panel;
00148 }

Here is the call graph for this function:

Here is the caller graph for this function:

void wxSTLWidget_02::ExtractTree2_JF ( int  x,
int  y,
int  z 
) [private]

Definition at line 336 of file wxSTLWidget_02.cxx.

References _2_isoActorMC6, _2_isoMapperMC6, _2_isoMC6, _2_mapfinal, _2_prgov, _2_stripfinal, marInterface::_experiment, _mar, _maxSphereSize_JF, _minSphereSize_JF, _opacity_Res2VolJF, _sensibility_JF, _wxMaracasMPR, arteryImageData, axisExtractor02::distanciaejes(), marExperiment::getAxis(), marAxis::GetAxisData(), marExperiment::getDynData(), axisExtractor02::GetOutput(), wxVtk3DBaseView::GetRenderer(), marDynData::getVolume(), axisExtractor02::GetVolumen(), wxVtkMPR3DView::GetWxvtk3Dbaseview(), wxMaracasMPR::GetWxvtkmpr3Dview_BB(), vtkJoiner::join(), joiner, axisExtractor02::New(), axisExtractor02::SetInput(), axisExtractor02::SetMaxant(), axisExtractor02::SetMinant(), axisExtractor02::SetParam(), axisExtractor02::SetParam2(), axisExtractor02::SetParam3(), and axisExtractor02::SetPoint().

Referenced by OnBtnExtractTree2_JF().

00337 {
00338         
00339         double opacity_Res2VolJF = ((double)_opacity_Res2VolJF->GetValue())/100;
00340         vtkImageData *imagedata = _mar->_experiment->getDynData( )->getVolume( )->castVtk();
00341 
00342         double  puntoactualprov[3];
00343         double  espprin[3];
00344         int             extprin[6];                             
00345 
00346         puntoactualprov[0]=x;
00347         puntoactualprov[1]=y;
00348         puntoactualprov[2]=z;
00349         
00350         imagedata->GetSpacing(espprin);
00351         imagedata->GetExtent(extprin);
00352 
00353         puntoactualprov[0]=puntoactualprov[0]*espprin[0];
00354         puntoactualprov[1]=puntoactualprov[1]*espprin[1];
00355         puntoactualprov[2]=puntoactualprov[2]*espprin[2];
00356         
00357         _2_prgov= axisExtractor02::New();
00358         _2_prgov->SetParam(1);
00359         _2_prgov->SetParam2(1);
00360         _2_prgov->SetParam3(_sensibility_JF);
00361         _2_prgov->SetMaxant(_maxSphereSize_JF);
00362         _2_prgov->SetMinant(_minSphereSize_JF);
00363         _2_prgov->SetInput(imagedata);
00364         _2_prgov->SetPoint(puntoactualprov);
00365         _2_prgov->Update();
00366 
00367 
00368         //--------------------------------------------------------
00369 
00370         marAxis *maraxis = this->_mar->_experiment->getAxis( );
00371         
00372 
00373         if (maraxis!=NULL) {
00374                 vtkPolyData  *inputAxisRadio    = maraxis->GetAxisData();
00375                 _2_prgov->distanciaejes(inputAxisRadio,_2_prgov->GetOutput());
00376 
00377                         
00378         }
00379 
00380         //--------------------------------------------------------
00381         
00382         
00383         //ADICIONAR SEGMENTO
00384         if (arteryImageData){
00385                 arteryImageData = joiner->join(arteryImageData, _2_prgov->GetVolumen());
00386         }
00387         else{
00388                 arteryImageData = _2_prgov->GetVolumen();
00389         }
00390         
00391         //ADICIONAR SEGMENTO
00392 
00393         
00394                 
00395                 
00396         // Visualisation - result vascular tree
00397         vtkPolyData *polydata   =       _2_prgov->GetOutput();
00398         _2_mapfinal = vtkPolyDataMapper::New();
00399         _2_mapfinal->SetInput(polydata);
00400 
00401         _2_stripfinal = vtkActor::New();
00402         _2_stripfinal->SetMapper(_2_mapfinal);
00403         _2_stripfinal->GetProperty()->SetColor(0.0, 0.0, 1.0);
00404         _2_stripfinal->GetProperty()->SetLineWidth(2);
00405         _2_stripfinal->GetProperty()->BackfaceCullingOff();
00406 
00407         // Visualisation - result volume
00408    
00409     _2_isoMC6 = vtkMarchingCubes::New();
00410     //_2_isoMC6->SetInput(_2_prgov->GetVolumen());
00411         _2_isoMC6->SetInput(arteryImageData);
00412     _2_isoMC6->SetValue(0, 128);
00413         _2_isoMC6->Update();
00414 
00415         _2_isoMapperMC6 = vtkPolyDataMapper::New();
00416     _2_isoMapperMC6->SetInput(_2_isoMC6->GetOutput());
00417     _2_isoMapperMC6->ScalarVisibilityOff();
00418     _2_isoMapperMC6->ImmediateModeRenderingOn();
00419 
00420         _2_isoActorMC6 = vtkActor::New();
00421     _2_isoActorMC6->SetMapper(_2_isoMapperMC6);
00422     _2_isoActorMC6->GetProperty()->SetColor(1.0, 1.0, 0.5);
00423     _2_isoActorMC6->GetProperty()->SetOpacity( opacity_Res2VolJF );
00424     
00425         // Interface Update
00426 
00427         vtkRenderer *ren = _wxMaracasMPR->GetWxvtkmpr3Dview_BB()->GetWxvtk3Dbaseview()->GetRenderer();
00428         ren->AddActor(_2_isoActorMC6);
00429         ren->AddActor(_2_stripfinal);
00430 
00431 }

Here is the call graph for this function:

Here is the caller graph for this function:

void wxSTLWidget_02::generateSTLSurfaces (  ) 
void wxSTLWidget_02::OnBtnCreateFileSTL ( wxCommandEvent &  event  ) 

Definition at line 635 of file wxSTLWidget_02.cxx.

References _mar, marInterface::_parameters, marParameters::e_installation_directory, marParameters::getStringParam(), vtkClosePolyData::New(), marInterface::saveParameters(), marParameters::setStringParam(), stlExterna, and stlInterna.

Referenced by CreateControlPanel().

00636 {
00637 
00638         wxString dirSTL = _mar->_parameters->getStringParam( 
00639     marParameters::e_installation_directory ); 
00640         dirSTL = ( dirSTL == _T("NO_DIRECTORY") ) ? wxGetHomeDir( ) : dirSTL;
00641         wxDirDialog dialog( this, _T("Choose a directory..."), ( !dirSTL.IsEmpty( ) )?
00642         dirSTL: wxGetHomeDir( ) );
00643 
00644         if( dialog.ShowModal( ) == wxID_OK ) 
00645         {
00646            
00647         
00648                 // ------------------------------------------------------------------------
00649                 //  1.  GENERATE STL FILES
00650                 // ------------------------------------------------------------------------
00651 //              const char* fileprefix = "c:\\Creatis\\";
00652                 std::string prefix( dialog.GetPath().mb_str(wxConvUTF8) );
00653                 std::string filename;
00654 
00655                 // 1.1. Se hace un filtro triangular puesto que el stl writer solo recibe poligonos triangulares.
00656 
00657         vtkTriangleFilter *filtro = vtkTriangleFilter::New();
00658                 filtro->SetInput(stlInterna);
00659                 vtkPolyDataConnectivityFilter *pdcf = vtkPolyDataConnectivityFilter::New();
00660         pdcf->SetInput( filtro->GetOutput() );
00661         vtkClosePolyData *cpd = vtkClosePolyData::New();
00662         cpd->SetInput( pdcf->GetOutput() );
00663 
00664                 // 1.2 se escribe a disco el archivo stl de la superficie interna
00665         cpd->Update();
00666         vtkSTLWriter *writerI = vtkSTLWriter::New();
00667         writerI->SetInput( cpd->GetOutput() );
00668 //        prefix = fileprefix;
00669                 filename=prefix+"\\internal.stl";
00670         writerI->SetFileName(filename.c_str());
00671         writerI->SetFileTypeToASCII();
00672         writerI->Write();
00673         writerI->Delete();
00674 
00675                 // 1.3 se escribe a disco el archivo stl de la superficie externa
00676                 filtro->SetInput(stlExterna);
00677         cpd->Update();
00678         vtkSTLWriter *writerE = vtkSTLWriter::New();
00679         writerE->SetInput( cpd->GetOutput() );
00680 //        prefix = fileprefix;
00681                 filename=prefix+"\\external.stl";
00682         writerE->SetFileName( filename.c_str() );
00683         writerE->SetFileTypeToASCII();
00684         writerE->Write();
00685         writerE->Delete();
00686    
00687         filtro->Delete();
00688         cpd->Delete();
00689         pdcf->Delete();
00690         }
00691 
00692         //By default *always* update e_installation_directory:
00693         _mar->_parameters->setStringParam( marParameters::e_installation_directory, dialog.GetPath( ) ); 
00694         _mar->saveParameters( );
00695 }

Here is the call graph for this function:

Here is the caller graph for this function:

void wxSTLWidget_02::OnBtnEraseTree2_JF ( wxCommandEvent &  event  ) 

Definition at line 471 of file wxSTLWidget_02.cxx.

References Refresh(), and ResetTree2_JF().

Referenced by CreateControlPanel().

00472 {
00473         ResetTree2_JF();
00474         Refresh();
00475 }

Here is the call graph for this function:

Here is the caller graph for this function:

void wxSTLWidget_02::OnBtnExtractTree2_JF ( wxCommandEvent &  event  ) 

Definition at line 458 of file wxSTLWidget_02.cxx.

References _wxMaracasMPR, ExtractTree2_JF(), generateSTLSurfaces(), wxMaracasMPR::GetVtkMPRBaseData(), vtkMPRBaseData::GetX(), vtkMPRBaseData::GetY(), vtkBaseData::GetZ(), and Refresh().

Referenced by CreateControlPanel().

00459 {
00460         wxBusyCursor wait;              
00461         double px=_wxMaracasMPR->GetVtkMPRBaseData()->GetX();
00462         double py=_wxMaracasMPR->GetVtkMPRBaseData()->GetY();
00463         double pz=_wxMaracasMPR->GetVtkMPRBaseData()->GetZ();
00464         ExtractTree2_JF( (int)(px) , (int)(py) , (int)(pz) );
00465         //------------------------------------
00466         generateSTLSurfaces(); //DHC: AFTER EXTRACTING THE TREE, THE STL SURFACES ARE CALCULATED.
00467         //------------------------------------
00468         Refresh();
00469 }

Here is the call graph for this function:

Here is the caller graph for this function:

void wxSTLWidget_02::OnBtnSTLFileErase ( wxCommandEvent &  event  ) 

Definition at line 505 of file wxSTLWidget_02.cxx.

References Refresh(), and Reset_vtk_STLFile().

Referenced by CreateControlPanel().

00506 {
00507         Reset_vtk_STLFile();
00508         Refresh();
00509 }

Here is the call graph for this function:

Here is the caller graph for this function:

void wxSTLWidget_02::OnBtnSTLFileLoad ( wxCommandEvent &  event  ) 

Definition at line 511 of file wxSTLWidget_02.cxx.

References _loadActorSTL, _loadSTLMapper, _mar, marInterface::_parameters, _wxMaracasMPR, marParameters::e_installation_directory, wxVtk3DBaseView::GetRenderer(), marParameters::getStringParam(), wxVtkMPR3DView::GetWxvtk3Dbaseview(), wxMaracasMPR::GetWxvtkmpr3Dview_BB(), Reset_vtk_STLFile(), marInterface::saveParameters(), and marParameters::setStringParam().

Referenced by CreateControlPanel().

00512 {
00513         wxString dirSTL = _mar->_parameters->getStringParam( 
00514     marParameters::e_installation_directory ); 
00515         dirSTL = ( dirSTL == _T("NO_DIRECTORY") ) ? wxGetHomeDir( ) : dirSTL;
00516         wxFileDialog dialog( this, _T("Choose a directory..."), ( !dirSTL.IsEmpty( ) )?
00517         dirSTL: wxGetHomeDir( ) );
00518 
00519         if( dialog.ShowModal( ) == wxID_OK ) 
00520         {
00521                 Reset_vtk_STLFile();
00522                 vtkSTLReader *imgReader= vtkSTLReader::New();
00523                 imgReader->SetFileName( dialog.GetPath().mb_str(wxConvUTF8) );  
00524                 _loadSTLMapper = vtkPolyDataMapper::New();
00525                 _loadSTLMapper->SetInput(imgReader->GetOutput());
00526                 _loadActorSTL = vtkActor::New();
00527                 _loadActorSTL->SetMapper(_loadSTLMapper);
00528                 _loadActorSTL->GetProperty()->SetColor( 1, 0, 0);
00529                 _loadActorSTL->GetProperty()->SetOpacity( 0.5 );
00530                 vtkRenderer *ren = _wxMaracasMPR->GetWxvtkmpr3Dview_BB()->GetWxvtk3Dbaseview()->GetRenderer();
00531                 ren->AddActor(_loadActorSTL);
00532                 imgReader->Delete();
00533         }
00534         //By default *always* update e_installation_directory:
00535         _mar->_parameters->setStringParam( marParameters::e_installation_directory, dialog.GetPath( ) ); 
00536         _mar->saveParameters( );
00537 }

Here is the call graph for this function:

Here is the caller graph for this function:

void wxSTLWidget_02::OnChangeSTLGaussLevel ( wxScrollEvent &  event  ) 

Definition at line 698 of file wxSTLWidget_02.cxx.

References _stlDeltaGaussLevel, generateSTLSurfaces(), Refresh(), and stlSliderDeltaGauss.

Referenced by CreateControlPanel().

00699 {
00700         wxBusyCursor wait;
00701         _stlDeltaGaussLevel  = ((double)stlSliderDeltaGauss->GetValue())/100;
00702         generateSTLSurfaces();
00703         Refresh();
00704 }

Here is the call graph for this function:

Here is the caller graph for this function:

void wxSTLWidget_02::OnChangeSTLMarchingCubesLevel ( wxScrollEvent &  event  ) 

Definition at line 707 of file wxSTLWidget_02.cxx.

References _stlMarchingCubesLevel, generateSTLSurfaces(), Refresh(), and stlSliderMarchingCubes.

Referenced by CreateControlPanel().

00708 {
00709         wxBusyCursor wait;
00710         _stlMarchingCubesLevel = ((double)stlSliderMarchingCubes->GetValue());
00711         generateSTLSurfaces();
00712         Refresh();
00713         
00714 }

Here is the call graph for this function:

Here is the caller graph for this function:

void wxSTLWidget_02::OnJoinRegions ( wxCommandEvent &  event  ) 

Definition at line 549 of file wxSTLWidget_02.cxx.

References _wxMaracasMPR, arteryImageData, wxVtk3DBaseView::GetRenderer(), wxVtkMPR3DView::GetWxvtk3Dbaseview(), wxMaracasMPR::GetWxvtkmpr3Dview_BB(), joinActor, joinMapper, and joinMarchingCubes.

Referenced by CreateControlPanel().

00550 {
00551         
00552    
00553     joinMarchingCubes= vtkMarchingCubes::New();
00554     joinMarchingCubes->SetInput(arteryImageData);
00555     joinMarchingCubes->SetValue(0, 128);
00556         joinMarchingCubes->Update();
00557 
00558         joinMapper = vtkPolyDataMapper::New();
00559     joinMapper->SetInput(joinMarchingCubes->GetOutput());
00560     joinMapper->ScalarVisibilityOff();
00561     joinMapper->ImmediateModeRenderingOn();
00562 
00563         joinActor = vtkActor::New();
00564     joinActor->SetMapper(joinMapper);
00565     joinActor->GetProperty()->SetColor(1.0, 0.3, 1.0);
00566     joinActor->GetProperty()->SetOpacity( 0.9 );
00567     
00568         // Interface Update
00569 //      vtkRenderer *ren = _maracasSurfaceWidget->GetVtk3DSurfaceWidget()->GetRenderer();
00570         vtkRenderer *ren = _wxMaracasMPR->GetWxvtkmpr3Dview_BB()->GetWxvtk3Dbaseview()->GetRenderer();
00571         ren->AddActor(joinActor);
00572 
00573 }

Here is the call graph for this function:

Here is the caller graph for this function:

void wxSTLWidget_02::OnMaxSphereSize_JF ( wxScrollEvent &  event  ) 

Definition at line 448 of file wxSTLWidget_02.cxx.

References _maxSphereSize_JF, and _sl_maxSphereSize_JF.

Referenced by CreateControlPanel().

00449 {
00450         _maxSphereSize_JF = _sl_maxSphereSize_JF->GetValue();
00451 }

Here is the caller graph for this function:

void wxSTLWidget_02::OnMinSphereSize_JF ( wxScrollEvent &  event  ) 

Definition at line 453 of file wxSTLWidget_02.cxx.

References _minSphereSize_JF, and _sl_minSphereSize_JF.

Referenced by CreateControlPanel().

00454 {
00455         _minSphereSize_JF = _sl_minSphereSize_JF->GetValue();
00456 }

Here is the caller graph for this function:

void wxSTLWidget_02::OnOpacity_Res2VolJF ( wxScrollEvent &  event  ) 

Definition at line 439 of file wxSTLWidget_02.cxx.

References _2_isoActorMC6, _opacity_Res2VolJF, and Refresh().

Referenced by CreateControlPanel().

00440 {
00441         if (_2_isoActorMC6!=NULL){
00442                 double value = ((double)_opacity_Res2VolJF->GetValue())/100;
00443                 _2_isoActorMC6->GetProperty( )->SetOpacity( value );
00444                 Refresh();
00445         }
00446 }

Here is the call graph for this function:

Here is the caller graph for this function:

void wxSTLWidget_02::OnOpacitySTLExternal ( wxScrollEvent &  event  ) 

Definition at line 622 of file wxSTLWidget_02.cxx.

References actorExternal, Refresh(), and stlSliderOpacityExternal.

Referenced by CreateControlPanel().

00622                                                              {
00623         double value = ((double)stlSliderOpacityExternal->GetValue())/100;
00624     actorExternal->GetProperty( )->SetOpacity( value );
00625         Refresh();
00626 }

Here is the call graph for this function:

Here is the caller graph for this function:

void wxSTLWidget_02::OnOpacitySTLFile ( wxScrollEvent &  event  ) 

Definition at line 477 of file wxSTLWidget_02.cxx.

References _loadActorSTL, _sl_opacity_STL_file, and Refresh().

Referenced by CreateControlPanel().

00478 {
00479         if (_loadActorSTL!=NULL)
00480         {
00481                 double value = ((double)_sl_opacity_STL_file->GetValue())/100;
00482                 _loadActorSTL->GetProperty( )->SetOpacity( value );
00483                 Refresh();
00484         }
00485 }

Here is the call graph for this function:

Here is the caller graph for this function:

void wxSTLWidget_02::OnOpacitySTLInternal ( wxScrollEvent &  event  ) 

Definition at line 629 of file wxSTLWidget_02.cxx.

References actorInternal, Refresh(), and stlSliderOpacityInternal.

Referenced by CreateControlPanel().

00629                                                              {
00630         double value = ((double)stlSliderOpacityInternal->GetValue())/100;
00631     actorInternal->GetProperty( )->SetOpacity( value );
00632         Refresh();
00633 }

Here is the call graph for this function:

Here is the caller graph for this function:

void wxSTLWidget_02::OnSensibility ( wxScrollEvent &  event  ) 

Definition at line 434 of file wxSTLWidget_02.cxx.

References _sensibility_JF, and _sl_sensibility_JF.

Referenced by CreateControlPanel().

00435 {
00436         _sensibility_JF = (double)(_sl_sensibility_JF->GetValue())/100;
00437 }

Here is the caller graph for this function:

void wxSTLWidget_02::Refresh (  ) 

Definition at line 281 of file wxSTLWidget_02.cxx.

References _wxMaracasMPR, and wxMaracasMPR::RefreshView().

Referenced by OnBtnEraseTree2_JF(), OnBtnExtractTree2_JF(), OnBtnSTLFileErase(), OnChangeSTLGaussLevel(), OnChangeSTLMarchingCubesLevel(), OnOpacity_Res2VolJF(), OnOpacitySTLExternal(), OnOpacitySTLFile(), and OnOpacitySTLInternal().

00282 {
00283         _wxMaracasMPR->RefreshView();
00284 }

Here is the call graph for this function:

Here is the caller graph for this function:

void wxSTLWidget_02::Reset_vtk_STLFile (  ) 

Definition at line 487 of file wxSTLWidget_02.cxx.

References _loadActorSTL, _loadSTLMapper, _wxMaracasMPR, wxVtk3DBaseView::GetRenderer(), wxVtkMPR3DView::GetWxvtk3Dbaseview(), and wxMaracasMPR::GetWxvtkmpr3Dview_BB().

Referenced by OnBtnSTLFileErase(), OnBtnSTLFileLoad(), and ~wxSTLWidget_02().

00488 {
00489         // Remove
00490         vtkRenderer *ren = _wxMaracasMPR->GetWxvtkmpr3Dview_BB()->GetWxvtk3Dbaseview()->GetRenderer();
00491     if (_loadActorSTL){
00492                 ren->RemoveActor(_loadActorSTL);
00493         }
00494 
00495         // Delete 
00496         if (_loadSTLMapper              ) {     _loadSTLMapper          -> Delete(); }
00497         if (_loadActorSTL               ) {     _loadActorSTL           -> Delete(); }
00498 
00499         // Init
00500         _loadSTLMapper          = NULL;
00501         _loadActorSTL           = NULL;
00502 
00503 }

Here is the call graph for this function:

Here is the caller graph for this function:

void wxSTLWidget_02::ResetTree2_JF (  )  [private]

Definition at line 301 of file wxSTLWidget_02.cxx.

References _2_isoActorMC6, _2_isoMapperMC6, _2_isoMC6, _2_mapfinal, _2_prgov, _2_stripfinal, _wxMaracasMPR, wxVtk3DBaseView::GetRenderer(), wxVtkMPR3DView::GetWxvtk3Dbaseview(), and wxMaracasMPR::GetWxvtkmpr3Dview_BB().

Referenced by OnBtnEraseTree2_JF(), and ~wxSTLWidget_02().

00302 {
00303         // Remove 
00304         vtkRenderer *ren = _wxMaracasMPR->GetWxvtkmpr3Dview_BB()->GetWxvtk3Dbaseview()->GetRenderer();
00305 
00306     if (_2_isoActorMC6){
00307                 ren->RemoveActor(_2_isoActorMC6);
00308         }
00309     if (_2_stripfinal){
00310                 ren->RemoveActor(_2_stripfinal);
00311         }
00312 
00313         // Delete 
00314         if (_2_prgov            ) {     _2_prgov                -> Delete(); }
00315         if (_2_mapfinal         ) {     _2_mapfinal             -> Delete(); }
00316         if (_2_stripfinal       ) {     _2_stripfinal   -> Delete(); }
00317         if (_2_isoMapperMC6     ) {     _2_isoMapperMC6 -> Delete(); }
00318         if (_2_isoActorMC6      ) {     _2_isoActorMC6  -> Delete(); }
00319         if (_2_isoMC6           ) {     _2_isoMC6               -> Delete(); }
00320 
00321         // Init
00322         _2_prgov                = NULL;
00323         _2_mapfinal             = NULL;
00324         _2_stripfinal   = NULL;
00325         _2_isoMapperMC6 = NULL;
00326         _2_isoActorMC6  = NULL;
00327         _2_isoMC6               = NULL;
00328 }

Here is the call graph for this function:

Here is the caller graph for this function:


Member Data Documentation

vtkActor* wxSTLWidget_02::_2_isoActorMC6 [private]
vtkPolyDataMapper* wxSTLWidget_02::_2_isoMapperMC6 [private]

Definition at line 92 of file wxSTLWidget_02.h.

Referenced by ExtractTree2_JF(), ResetTree2_JF(), and wxSTLWidget_02().

vtkMarchingCubes* wxSTLWidget_02::_2_isoMC6 [private]

Definition at line 94 of file wxSTLWidget_02.h.

Referenced by ExtractTree2_JF(), ResetTree2_JF(), and wxSTLWidget_02().

vtkPolyDataMapper* wxSTLWidget_02::_2_mapfinal [private]

Definition at line 90 of file wxSTLWidget_02.h.

Referenced by ExtractTree2_JF(), ResetTree2_JF(), and wxSTLWidget_02().

vtkActor* wxSTLWidget_02::_2_stripfinal [private]

Definition at line 91 of file wxSTLWidget_02.h.

Referenced by ExtractTree2_JF(), ResetTree2_JF(), and wxSTLWidget_02().

Definition at line 109 of file wxSTLWidget_02.h.

vtkActor* wxSTLWidget_02::_loadActorSTL [private]
vtkPolyDataMapper* wxSTLWidget_02::_loadSTLMapper [private]

Definition at line 100 of file wxSTLWidget_02.h.

Referenced by OnBtnSTLFileLoad(), Reset_vtk_STLFile(), and wxSTLWidget_02().

Definition at line 104 of file wxSTLWidget_02.h.

Referenced by CreateControlPanel(), ExtractTree2_JF(), and OnOpacity_Res2VolJF().

Definition at line 106 of file wxSTLWidget_02.h.

Referenced by CreateControlPanel(), and OnMaxSphereSize_JF().

Definition at line 107 of file wxSTLWidget_02.h.

Referenced by CreateControlPanel(), and OnMinSphereSize_JF().

Definition at line 146 of file wxSTLWidget_02.h.

Referenced by CreateControlPanel(), and OnOpacitySTLFile().

Definition at line 105 of file wxSTLWidget_02.h.

Referenced by CreateControlPanel(), and OnSensibility().

vtkActor* wxSTLWidget_02::actorExternal [private]

Definition at line 141 of file wxSTLWidget_02.h.

Referenced by ConfigureSTL(), and OnOpacitySTLExternal().

vtkActor* wxSTLWidget_02::actorInternal [private]

Definition at line 137 of file wxSTLWidget_02.h.

Referenced by ConfigureSTL(), and OnOpacitySTLInternal().

vtkImageData* wxSTLWidget_02::arteryImageData [private]
vtkPolyDataMapper* wxSTLWidget_02::dsm1 [private]

Definition at line 136 of file wxSTLWidget_02.h.

Referenced by ConfigureSTL().

vtkPolyDataMapper* wxSTLWidget_02::dsm2 [private]

Definition at line 140 of file wxSTLWidget_02.h.

Referenced by ConfigureSTL().

vtkActor* wxSTLWidget_02::joinActor [private]

Definition at line 159 of file wxSTLWidget_02.h.

Referenced by OnJoinRegions(), and wxSTLWidget_02().

Definition at line 156 of file wxSTLWidget_02.h.

Referenced by ConfigureJoinRegions(), and ExtractTree2_JF().

vtkPolyDataMapper* wxSTLWidget_02::joinMapper [private]

Definition at line 158 of file wxSTLWidget_02.h.

Referenced by OnJoinRegions(), and wxSTLWidget_02().

vtkMarchingCubes* wxSTLWidget_02::joinMarchingCubes [private]

Definition at line 157 of file wxSTLWidget_02.h.

Referenced by OnJoinRegions(), and wxSTLWidget_02().

vtkPolyData* wxSTLWidget_02::stlExterna [private]

Definition at line 144 of file wxSTLWidget_02.h.

Referenced by ConfigureSTL(), and generateSTLSurfaces().

vtkPolyData* wxSTLWidget_02::stlInterna [private]

Definition at line 133 of file wxSTLWidget_02.h.

Referenced by CreateControlPanel(), and OnChangeSTLGaussLevel().

Definition at line 134 of file wxSTLWidget_02.h.

Referenced by CreateControlPanel(), and OnChangeSTLMarchingCubesLevel().

Definition at line 142 of file wxSTLWidget_02.h.

Referenced by CreateControlPanel(), and OnOpacitySTLExternal().

Definition at line 138 of file wxSTLWidget_02.h.

Referenced by CreateControlPanel(), and OnOpacitySTLInternal().


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

Generated on 18 Mar 2010 for creaMaracasVisu_lib by  doxygen 1.6.1