wxPnlSearchStenosisAutomatic Class Reference

#include <wxQuantificationWidget_base.h>

Collaboration diagram for wxPnlSearchStenosisAutomatic:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 wxPnlSearchStenosisAutomatic (wxWindow *parent, wxQuantificationWidget_base *quantificationWidget_base)
void OnBtHealthySlice (wxCommandEvent &event)
void OnBtEndRegion (wxCommandEvent &event)
void OnBtStart (wxCommandEvent &event)
void OnBtPlus (wxCommandEvent &event)
void OnBeginSlider (wxScrollEvent &event)
void OnEndSlider (wxScrollEvent &event)
void OnBtMaxSurf (wxCommandEvent &event)
void OnRbArea (wxCommandEvent &event)
void OnRbDiameter (wxCommandEvent &event)
void OnBtAxisMPR (wxCommandEvent &event)
void SetRange (int min, int max)

Private Attributes

wxQuantificationWidget_base_quantificationWidget_base
wxStaticText * _st1_text1
wxStaticText * _st1_next1
wxStaticText * _st1_next2
wxStaticText * _st1_next3
wxStaticText * _st1_cero
wxStaticText * _st1_one
wxStaticText * _st1_two
wxStaticText * _st1_three
wxButton * _bt1_HealthySlice
wxButton * _bt1_EndRegion
wxButton * _bt1_Start
wxButton * _bt_plus
wxPanel * _panelSpecial
wxStaticText * _st_BeginRegion
wxStaticText * _st_EndRegion
wxSlider * _sl_BeginRegion
wxSlider * _sl_EndRegion
wxRadioButton * _rb_diameter
wxRadioButton * _rb_surface
wxButton * _bt_MaxSurface

Detailed Description

Definition at line 106 of file wxQuantificationWidget_base.h.


Constructor & Destructor Documentation

wxPnlSearchStenosisAutomatic::wxPnlSearchStenosisAutomatic ( wxWindow *  parent,
wxQuantificationWidget_base quantificationWidget_base 
)

Definition at line 179 of file wxQuantificationWidget_base.cxx.

References _bt1_EndRegion, _bt1_HealthySlice, _bt1_Start, _bt_MaxSurface, _bt_plus, _panelSpecial, _quantificationWidget_base, _rb_diameter, _rb_surface, _sl_BeginRegion, _sl_EndRegion, _st1_cero, _st1_next1, _st1_next2, _st1_next3, _st1_one, _st1_text1, _st1_three, _st1_two, _st_BeginRegion, _st_EndRegion, marDictionary::GetString(), OnBeginSlider(), OnBtAxisMPR(), OnBtEndRegion(), OnBtHealthySlice(), OnBtMaxSurf(), OnBtPlus(), OnBtStart(), OnEndSlider(), OnRbArea(), OnRbDiameter(), and wxQuantificationWidget_base::SetAnalysisTypeStenosis().

00180                                                                 :wxPanel(parent,-1){
00181         marDictionary marDict;
00182         char tmp[256];
00183 
00184         _quantificationWidget_base=quantificationWidget_base;
00185         int wx_border = 5;
00186         wxPanel* _panelAutomatic=this;
00187         wxFlexGridSizer *sizerPanelAutomatic1   = new wxFlexGridSizer(7);
00188 
00189 //EEDxx 2.6
00190 //                                      _st1_blank                              = new wxStaticText(_panelAutomatic,-1," ");
00191 
00192         strcpy( tmp , marDict.GetString(275) ); strcat( tmp , "\n" ); strcat( tmp , marDict.GetString(280) );
00193                                         _st1_text1                              = new wxStaticText(_panelAutomatic,-1,wxString(tmp, wxConvUTF8) ); //"Select\n slice"
00194                                         _st1_next1                              = new wxStaticText(_panelAutomatic,-1,_T("    ")); //->
00195                                         _st1_next2                              = new wxStaticText(_panelAutomatic,-1,_T("    ")); //->
00196                                         _st1_next3                              = new wxStaticText(_panelAutomatic,-1,_T("    ")); //->
00197                                         _st1_cero                               = new wxStaticText(_panelAutomatic,-1,wxString(marDict.GetString(273), wxConvUTF8) );//"0"
00198                                         _st1_one                                = new wxStaticText(_panelAutomatic,-1,wxString(marDict.GetString(283), wxConvUTF8) );//"1"
00199                                         _st1_two                                = new wxStaticText(_panelAutomatic,-1,wxString(marDict.GetString(293), wxConvUTF8) );//"2"
00200                                         _st1_three                              = new wxStaticText(_panelAutomatic,-1,wxString(marDict.GetString(303), wxConvUTF8) );//"3"
00201         strcpy( tmp , marDict.GetString(285) ); strcat( tmp , "\n" ); strcat( tmp , marDict.GetString(290) );
00202                                         _bt1_HealthySlice               = new wxButton(_panelAutomatic,-1,wxString(tmp, wxConvUTF8),wxPoint(0,0),wxSize(80,85));//"    Validate\nHealthy Slice"
00203         strcpy( tmp , marDict.GetString(295) ); strcat( tmp , "\n" ); strcat( tmp , marDict.GetString(300) );
00204                                         _bt1_EndRegion                  = new wxButton(_panelAutomatic,-1,wxString(tmp, wxConvUTF8),wxPoint(0,0),wxSize(80,85));//"   Validate\nEnd region"
00205         strcpy( tmp , marDict.GetString(305) ); strcat( tmp , "\n" ); strcat( tmp , marDict.GetString(310) );
00206                                         _bt1_Start                              = new wxButton(_panelAutomatic,-1,wxString(tmp, wxConvUTF8),wxPoint(0,0),wxSize(80,85));//"   Find \nStenosis"
00207         wxStaticText    *title                                  = new wxStaticText(this,-1,wxString(marDict.GetString(270), wxConvUTF8)); //"Automatic stenosis search"
00208 
00209     // SpecialPanel
00210         _panelSpecial                           = new wxPanel(_panelAutomatic,-1,wxDefaultPosition,wxSize(400,200));
00211         _st_BeginRegion                         = new wxStaticText(_panelSpecial,-1,_T("Begin Region : "));
00212         _st_EndRegion                           = new wxStaticText(_panelSpecial,-1,_T("   End Region : "));
00213         _sl_BeginRegion                         = new wxSlider(_panelSpecial, -1, 0, 0, 100, wxDefaultPosition, wxDefaultSize, wxSL_HORIZONTAL | wxSL_LABELS );
00214         _sl_EndRegion                           = new wxSlider(_panelSpecial, -1, 0, 0, 100, wxDefaultPosition, wxDefaultSize, wxSL_HORIZONTAL | wxSL_LABELS );
00215         _rb_surface                                     = new wxRadioButton(_panelSpecial, -1, _T("Stenosis by Surface     "), wxDefaultPosition, wxDefaultSize, wxRB_GROUP   );
00216         _rb_diameter                            = new wxRadioButton(_panelSpecial, -1, _T("Stenosis by Diameter    "), wxDefaultPosition, wxDefaultSize  );
00217         _bt_MaxSurface                          = new wxButton(_panelSpecial,-1,_T("Find Max Surface"));
00218         wxButton *bt_AxisMPR            = new wxButton(_panelSpecial,-1,_T("Axis MPR"));
00219 
00220         _bt_plus                = new wxButton(_panelAutomatic,-1,_T("+"),wxPoint(0,0),wxSize(15,15));
00221         _bt_plus->Show(true);
00222 
00223 
00224         Connect(_bt1_HealthySlice->GetId()      , wxEVT_COMMAND_BUTTON_CLICKED , (wxObjectEventFunction) &wxPnlSearchStenosisAutomatic::OnBtHealthySlice        );
00225         Connect(_bt1_EndRegion->GetId()         , wxEVT_COMMAND_BUTTON_CLICKED , (wxObjectEventFunction) &wxPnlSearchStenosisAutomatic::OnBtEndRegion           );
00226         Connect(_bt1_Start->GetId()                     , wxEVT_COMMAND_BUTTON_CLICKED , (wxObjectEventFunction) &wxPnlSearchStenosisAutomatic::OnBtStart                       );
00227 
00228         Connect(_sl_BeginRegion->GetId()        , wxEVT_COMMAND_SLIDER_UPDATED , (wxObjectEventFunction) &wxPnlSearchStenosisAutomatic::OnBeginSlider );
00229         Connect(_sl_EndRegion->GetId()          , wxEVT_COMMAND_SLIDER_UPDATED , (wxObjectEventFunction) &wxPnlSearchStenosisAutomatic::OnEndSlider   );
00230         Connect(_bt_plus->GetId()                       , wxEVT_COMMAND_BUTTON_CLICKED , (wxObjectEventFunction) &wxPnlSearchStenosisAutomatic::OnBtPlus );     
00231         Connect(_bt_MaxSurface->GetId()         , wxEVT_COMMAND_BUTTON_CLICKED , (wxObjectEventFunction) &wxPnlSearchStenosisAutomatic::OnBtMaxSurf );
00232         Connect(bt_AxisMPR->GetId()                     , wxEVT_COMMAND_BUTTON_CLICKED , (wxObjectEventFunction) &wxPnlSearchStenosisAutomatic::OnBtAxisMPR );
00233 
00234         Connect(_rb_surface->GetId()      , wxEVT_COMMAND_RADIOBUTTON_SELECTED , (wxObjectEventFunction) &wxPnlSearchStenosisAutomatic::OnRbArea );
00235         Connect(_rb_diameter->GetId()     , wxEVT_COMMAND_RADIOBUTTON_SELECTED , (wxObjectEventFunction) &wxPnlSearchStenosisAutomatic::OnRbDiameter );
00236             
00237 
00238         wxFlexGridSizer *sizerPanelSpecial      = new wxFlexGridSizer(1);
00239         wxFlexGridSizer *sizerPanelSpecial1     = new wxFlexGridSizer(2);
00240         wxFlexGridSizer *sizerPanelSpecial2     = new wxFlexGridSizer(2);
00241         wxFlexGridSizer *sizerPanelSpecial3     = new wxFlexGridSizer(3);
00242 
00243         wxFlexGridSizer *sizerPanelAutomatic    = new wxFlexGridSizer(1);
00244 
00245 //EEDxx 2.6
00246 //      _panelAutomatic->SetBackgroundColour(*wxLIGHT_GREY);
00247 
00248 //EEDxx 2.6
00249 //      _st1_blank      ->SetBackgroundColour(*wxLIGHT_GREY);
00250 //      _st1_text1      ->SetBackgroundColour(*wxLIGHT_GREY);
00251 //      _st1_next1      ->SetBackgroundColour(*wxLIGHT_GREY);
00252 //      _st1_next2      ->SetBackgroundColour(*wxLIGHT_GREY);
00253 //      _st1_next3      ->SetBackgroundColour(*wxLIGHT_GREY);
00254 //      _st1_next3      ->SetBackgroundColour(*wxLIGHT_GREY);
00255 //      _st1_cero       ->SetBackgroundColour(*wxLIGHT_GREY);
00256 //      _st1_one        ->SetBackgroundColour(*wxLIGHT_GREY);
00257 //      _st1_two        ->SetBackgroundColour(*wxLIGHT_GREY);
00258 //      _st1_three      ->SetBackgroundColour(*wxLIGHT_GREY);
00259 
00260         wxFont font(12,wxDEFAULT ,wxNORMAL,wxBOLD);
00261         title           ->SetFont(font);
00262 //EEDxx 2.6
00263 //      title           ->SetBackgroundColour(*wxLIGHT_GREY);
00264         _st1_cero       ->SetFont(font);
00265         _st1_one        ->SetFont(font);
00266         _st1_two        ->SetFont(font);
00267         _st1_three      ->SetFont(font);
00268         _st1_next1      ->SetFont(font);
00269         _st1_next2      ->SetFont(font);
00270         _st1_next3      ->SetFont(font);
00271 //    _st1_one  ->Disable();
00272     _st1_two    ->Disable();
00273     _st1_three  ->Disable();
00274 //    bt1_HealthySlice->Disable();
00275     _bt1_EndRegion->Disable();
00276     _bt1_Start->Disable();
00277 
00278 //EEDxx 2.6
00279 //      _panelSpecial   ->SetBackgroundColour(*wxLIGHT_GREY);
00280 //      _st_BeginRegion ->SetBackgroundColour(*wxLIGHT_GREY);
00281 //      _st_EndRegion   ->SetBackgroundColour(*wxLIGHT_GREY);
00282 //      _sl_BeginRegion ->SetBackgroundColour(*wxLIGHT_GREY);
00283 //      _sl_EndRegion   ->SetBackgroundColour(*wxLIGHT_GREY);
00284 //      _rb_diameter    ->SetBackgroundColour(*wxLIGHT_GREY);
00285 //      _rb_surface             ->SetBackgroundColour(*wxLIGHT_GREY);
00286 
00287         _sl_BeginRegion ->SetSize(330,30);
00288         _sl_EndRegion   ->SetSize(330,30);
00289     _st_BeginRegion     ->Disable();
00290     _st_EndRegion       ->Disable();
00291     _sl_BeginRegion     ->Disable();
00292     _sl_EndRegion       ->Disable();
00293     _rb_diameter        ->Disable();
00294     _rb_surface         ->Disable();
00295     _bt_MaxSurface      ->Disable();
00296 
00297         _rb_surface->SetValue(true);
00298         _quantificationWidget_base->SetAnalysisTypeStenosis(2);
00299 
00300         // line cero
00301         sizerPanelAutomatic1->Add(new wxStaticText(_panelAutomatic,-1,_T(" "))                  ,       15, wxALIGN_CENTER_HORIZONTAL, wx_border);
00302         sizerPanelAutomatic1->Add(new wxStaticText(_panelAutomatic,-1,_T(" "))                  ,       15, wxALIGN_CENTER_HORIZONTAL, wx_border);
00303         sizerPanelAutomatic1->Add(new wxStaticText(_panelAutomatic,-1,_T(" "))                  ,       15, wxALIGN_CENTER_HORIZONTAL, wx_border);
00304         sizerPanelAutomatic1->Add(new wxStaticText(_panelAutomatic,-1,_T(" "))                  ,       15, wxALIGN_CENTER_HORIZONTAL, wx_border);
00305         sizerPanelAutomatic1->Add(new wxStaticText(_panelAutomatic,-1,_T(" "))                  ,       15, wxALIGN_CENTER_HORIZONTAL, wx_border);
00306         sizerPanelAutomatic1->Add(new wxStaticText(_panelAutomatic,-1,_T(" "))                  ,       15, wxALIGN_CENTER_HORIZONTAL, wx_border);
00307         sizerPanelAutomatic1->Add(new wxStaticText(_panelAutomatic,-1,_T(" "))                  ,       15, wxALIGN_CENTER_HORIZONTAL, wx_border);
00308 
00309         // fist line
00310         sizerPanelAutomatic1->Add(_st1_cero                             ,       15, wxALIGN_CENTER_HORIZONTAL, wx_border);
00311         sizerPanelAutomatic1->Add(new wxStaticText(_panelAutomatic,-1,_T(" "))                  ,       15, wxALIGN_CENTER_HORIZONTAL, wx_border);
00312         sizerPanelAutomatic1->Add(_st1_one                              ,       15, wxALIGN_CENTER_HORIZONTAL, wx_border);
00313         sizerPanelAutomatic1->Add(new wxStaticText(_panelAutomatic,-1,_T(" "))                  ,       15, wxALIGN_CENTER_HORIZONTAL, wx_border);
00314         sizerPanelAutomatic1->Add(_st1_two                              ,       15, wxALIGN_CENTER_HORIZONTAL, wx_border);
00315         sizerPanelAutomatic1->Add(new wxStaticText(_panelAutomatic,-1,_T(" "))                  ,       15, wxALIGN_CENTER_HORIZONTAL, wx_border);
00316         sizerPanelAutomatic1->Add(_st1_three                    ,       15, wxALIGN_CENTER_HORIZONTAL, wx_border);
00317         // second line
00318         sizerPanelAutomatic1->Add(_st1_text1                    ,       15, wxALIGN_CENTRE_VERTICAL|wxALIGN_CENTER_HORIZONTAL, wx_border);
00319         sizerPanelAutomatic1->Add(_st1_next1                    ,       15, wxALIGN_CENTRE_VERTICAL|wxALIGN_CENTER_HORIZONTAL, wx_border);
00320         sizerPanelAutomatic1->Add(_bt1_HealthySlice             ,       15, wxALIGN_CENTRE_VERTICAL|wxALIGN_CENTER_HORIZONTAL, wx_border);
00321         sizerPanelAutomatic1->Add(_st1_next2                    ,       15, wxALIGN_CENTRE_VERTICAL|wxALIGN_CENTER_HORIZONTAL, wx_border);
00322         sizerPanelAutomatic1->Add(_bt1_EndRegion                ,       15, wxALIGN_CENTRE_VERTICAL|wxALIGN_CENTER_HORIZONTAL, wx_border);
00323         sizerPanelAutomatic1->Add(_st1_next3                    ,       15, wxALIGN_CENTRE_VERTICAL|wxALIGN_CENTER_HORIZONTAL, wx_border);
00324         sizerPanelAutomatic1->Add(_bt1_Start                    ,       15, wxALIGN_CENTRE_VERTICAL|wxALIGN_CENTER_HORIZONTAL, wx_border);
00325 
00326         // Special panel
00327         sizerPanelSpecial1->Add(_rb_surface                     ,1      ,wxALL                  ,0);
00328         sizerPanelSpecial1->Add(_rb_diameter            ,1      ,wxALL                  ,0);
00329         sizerPanelSpecial2->Add(_st_BeginRegion         ,1      ,wxALL                  ,0);
00330         sizerPanelSpecial2->Add(_sl_BeginRegion         ,1      ,wxALL|wxGROW   ,0);
00331         sizerPanelSpecial2->Add(_st_EndRegion           ,1      ,wxALL                  ,0);
00332         sizerPanelSpecial2->Add(_sl_EndRegion           ,1      ,wxALL|wxGROW   ,0);
00333         sizerPanelSpecial3->Add(_bt_MaxSurface          ,1      ,wxALL                  ,0);
00334         sizerPanelSpecial3->Add( bt_AxisMPR                     ,1      ,wxALL                  ,0);
00335 
00336 // EED 27 oct 2007
00337         sizerPanelSpecial2->AddGrowableCol(1);
00338         
00339 
00340         sizerPanelSpecial->Add(sizerPanelSpecial1       ,1      ,wxALL|wxALIGN_RIGHT    , 0 );
00341         sizerPanelSpecial->Add(sizerPanelSpecial2       ,1      ,wxALL|wxGROW                   , 0 );
00342         sizerPanelSpecial->Add(sizerPanelSpecial3       ,1      ,wxALL                                  , 0 );
00343         _panelSpecial->SetSizer(sizerPanelSpecial);
00344         _panelSpecial->SetAutoLayout(true);
00345         _panelSpecial->SetSize( sizerPanelSpecial->GetMinSize() );
00346 
00347         sizerPanelAutomatic->Add(title                                  ,15, wxALL                              , 10);
00348         sizerPanelAutomatic->Add(sizerPanelAutomatic1   ,15, wxALIGN_CENTRE_VERTICAL|wxALIGN_CENTER_HORIZONTAL  , 10);
00349         sizerPanelAutomatic->Add(_bt_plus                               ,15, wxALL                              , 0);
00350         sizerPanelAutomatic->Add(_panelSpecial                  ,15, wxALL|wxGROW               , 0);
00351         _panelAutomatic->SetSizer(sizerPanelAutomatic);
00352         _panelAutomatic->SetAutoLayout(true);
00353 
00354         _panelSpecial->Show(true);
00355 
00356         _panelAutomatic->SetSize(400,270);
00357         _panelAutomatic->SetSize( sizerPanelAutomatic->GetMinSize() );
00358 }

Here is the call graph for this function:


Member Function Documentation

void wxPnlSearchStenosisAutomatic::OnBeginSlider ( wxScrollEvent &  event  ) 
void wxPnlSearchStenosisAutomatic::OnBtAxisMPR ( wxCommandEvent &  event  ) 

Definition at line 413 of file wxQuantificationWidget_base.cxx.

References _quantificationWidget_base, _sl_BeginRegion, _sl_EndRegion, wxMaracasMPR::ConfigureVTK(), wxQuantificationWidget_base::GetVolumeAxisExtended(), wxMaracasMPR::GetVtkPlane2DView(), and vtkPlane2DView::SetImgSize().

Referenced by wxPnlSearchStenosisAutomatic().

00413                                                                    {
00414         wxBusyCursor wait;
00415         wxFrame *frame = new wxFrame(this,-1,_T("MPR Axe"),wxDefaultPosition,wxDefaultSize,wxDEFAULT_FRAME_STYLE|wxSTAY_ON_TOP);
00416         int wz1 = _sl_BeginRegion->GetValue();
00417         int wz2 = _sl_EndRegion->GetValue();
00418         if (wz2<wz1)
00419         {
00420                 int tmp = wz1;
00421                 wz1 = wz2;
00422                 wz2 = tmp;
00423         }
00424 
00425         kVolume *vol = _quantificationWidget_base->GetVolumeAxisExtended(wz1,wz2);
00426 
00427 
00428         wxMaracasMPR *wxmaracasMPR = new wxMaracasMPR( frame , new marImageData( vol->castVtk() ) , 1);
00429 //      wxMaracasMPR *wxmaracasMPR = new wxMaracasMPR( frame , vol->castVtk() , getVoxelSize???? );
00430 
00431 
00432         vtkPlane2DView *planeView = wxmaracasMPR->GetVtkPlane2DView();
00433         planeView->SetImgSize(100);
00434         wxmaracasMPR->ConfigureVTK();
00435         frame->SetSize(600,600);
00436         frame->Show();
00437 }

Here is the call graph for this function:

Here is the caller graph for this function:

void wxPnlSearchStenosisAutomatic::OnBtEndRegion ( wxCommandEvent &  event  ) 
void wxPnlSearchStenosisAutomatic::OnBtHealthySlice ( wxCommandEvent &  event  ) 

Definition at line 370 of file wxQuantificationWidget_base.cxx.

References _bt1_EndRegion, _panelSpecial, _quantificationWidget_base, _sl_BeginRegion, _st1_two, _st_BeginRegion, wxQuantificationWidget_base::GetActualSlice(), wxQuantificationWidget_base::GetSliceLimites(), wxQuantificationWidget_base::RefreshAxis(), wxQuantificationWidget_base::Set3DStartRegionSliceActor(), wxQuantificationWidget_base::SetHealthySlice(), and wxQuantificationWidget_base::Show3DStartRegionSliceActor().

Referenced by wxPnlSearchStenosisAutomatic().

00370                                                                         {
00371         // Automatique panel
00372     _st1_two            -> Enable();
00373     _bt1_EndRegion      -> Enable();
00374     _st_BeginRegion     -> Enable();
00375     _sl_BeginRegion     -> Enable();
00376         int slice=_quantificationWidget_base->GetActualSlice();
00377         _quantificationWidget_base->SetHealthySlice(slice);
00378 
00379         int startSlice,endSlice;
00380         _quantificationWidget_base->GetSliceLimites(0,startSlice,endSlice);
00381         if ((_panelSpecial->IsShown()==false) || (startSlice==-1)){
00382                 _quantificationWidget_base->Set3DStartRegionSliceActor( 0, slice );
00383                 _quantificationWidget_base->Show3DStartRegionSliceActor(0);
00384                 _sl_BeginRegion ->SetValue(slice);
00385                 _quantificationWidget_base->RefreshAxis();
00386         }
00387 }

Here is the call graph for this function:

Here is the caller graph for this function:

void wxPnlSearchStenosisAutomatic::OnBtMaxSurf ( wxCommandEvent &  event  ) 

Definition at line 472 of file wxQuantificationWidget_base.cxx.

References _quantificationWidget_base, and wxQuantificationWidget_base::DetectHealthySickSlice().

Referenced by wxPnlSearchStenosisAutomatic().

00472                                                                    {
00473         _quantificationWidget_base->DetectHealthySickSlice( false, true );
00474 }

Here is the call graph for this function:

Here is the caller graph for this function:

void wxPnlSearchStenosisAutomatic::OnBtPlus ( wxCommandEvent &  event  ) 

Definition at line 440 of file wxQuantificationWidget_base.cxx.

References _bt_plus, _panelSpecial, _quantificationWidget_base, _sl_BeginRegion, _sl_EndRegion, wxQuantificationWidget_base::GetMaxActualSlice(), wxQuantificationWidget_base::GetSliceLimites(), and wxQuantificationWidget_base::RefreshAxis().

Referenced by wxPnlSearchStenosisAutomatic().

00440                                                                 {
00441         if (_panelSpecial->IsShown()==true){
00442                 _bt_plus->SetLabel(_T("+"));
00443                 _panelSpecial->Show(false);
00444         } else {
00445                 _bt_plus->SetLabel(_T("-"));
00446                 // Sliders
00447                 int startSlice,endSlice;
00448                 _quantificationWidget_base->GetSliceLimites(0,startSlice,endSlice);
00449                 int maxSlices   = _quantificationWidget_base->GetMaxActualSlice();
00450                 _sl_BeginRegion->SetRange(0,maxSlices);
00451                 _sl_BeginRegion->SetValue(startSlice);
00452                 _sl_EndRegion->SetRange(0,maxSlices);
00453                 _sl_EndRegion->SetValue(endSlice);
00454                 _quantificationWidget_base->RefreshAxis();
00455                 //Show panel
00456                 _panelSpecial->Show(true);
00457         }
00458 }

Here is the call graph for this function:

Here is the caller graph for this function:

void wxPnlSearchStenosisAutomatic::OnBtStart ( wxCommandEvent &  event  ) 

Definition at line 405 of file wxQuantificationWidget_base.cxx.

References _quantificationWidget_base, and wxQuantificationWidget_base::DetectHealthySickSlice().

Referenced by wxPnlSearchStenosisAutomatic().

00406 {
00407         _quantificationWidget_base->DetectHealthySickSlice( true, false );
00408 }

Here is the call graph for this function:

Here is the caller graph for this function:

void wxPnlSearchStenosisAutomatic::OnEndSlider ( wxScrollEvent &  event  ) 
void wxPnlSearchStenosisAutomatic::OnRbArea ( wxCommandEvent &  event  ) 

Definition at line 476 of file wxQuantificationWidget_base.cxx.

References _quantificationWidget_base, and wxQuantificationWidget_base::SetAnalysisTypeStenosis().

Referenced by wxPnlSearchStenosisAutomatic().

Here is the call graph for this function:

Here is the caller graph for this function:

void wxPnlSearchStenosisAutomatic::OnRbDiameter ( wxCommandEvent &  event  ) 

Definition at line 480 of file wxQuantificationWidget_base.cxx.

References _quantificationWidget_base, and wxQuantificationWidget_base::SetAnalysisTypeStenosis().

Referenced by wxPnlSearchStenosisAutomatic().

Here is the call graph for this function:

Here is the caller graph for this function:

void wxPnlSearchStenosisAutomatic::SetRange ( int  min,
int  max 
)

Definition at line 362 of file wxQuantificationWidget_base.cxx.

References _sl_BeginRegion, and _sl_EndRegion.

Referenced by wxQuantificationWidget::ShowMARACASData().

00363 {
00364         _sl_BeginRegion->SetRange(min,max);
00365         _sl_EndRegion->SetRange(min,max);
00366 }

Here is the caller graph for this function:


Member Data Documentation

Definition at line 134 of file wxQuantificationWidget_base.h.

Referenced by wxPnlSearchStenosisAutomatic().

Definition at line 136 of file wxQuantificationWidget_base.h.

Referenced by OnBtEndRegion(), and wxPnlSearchStenosisAutomatic().

Definition at line 147 of file wxQuantificationWidget_base.h.

Referenced by OnBtEndRegion(), and wxPnlSearchStenosisAutomatic().

Definition at line 139 of file wxQuantificationWidget_base.h.

Referenced by OnBtPlus(), and wxPnlSearchStenosisAutomatic().

Definition at line 145 of file wxQuantificationWidget_base.h.

Referenced by OnBtEndRegion(), and wxPnlSearchStenosisAutomatic().

Definition at line 146 of file wxQuantificationWidget_base.h.

Referenced by OnBtEndRegion(), and wxPnlSearchStenosisAutomatic().

wxStaticText* wxPnlSearchStenosisAutomatic::_st1_cero [private]

Definition at line 130 of file wxQuantificationWidget_base.h.

Referenced by wxPnlSearchStenosisAutomatic().

Definition at line 127 of file wxQuantificationWidget_base.h.

Referenced by wxPnlSearchStenosisAutomatic().

Definition at line 128 of file wxQuantificationWidget_base.h.

Referenced by wxPnlSearchStenosisAutomatic().

Definition at line 129 of file wxQuantificationWidget_base.h.

Referenced by wxPnlSearchStenosisAutomatic().

wxStaticText* wxPnlSearchStenosisAutomatic::_st1_one [private]

Definition at line 131 of file wxQuantificationWidget_base.h.

Referenced by wxPnlSearchStenosisAutomatic().

Definition at line 126 of file wxQuantificationWidget_base.h.

Referenced by wxPnlSearchStenosisAutomatic().

Definition at line 133 of file wxQuantificationWidget_base.h.

Referenced by OnBtEndRegion(), and wxPnlSearchStenosisAutomatic().

wxStaticText* wxPnlSearchStenosisAutomatic::_st1_two [private]

Definition at line 142 of file wxQuantificationWidget_base.h.

Referenced by OnBtEndRegion(), and wxPnlSearchStenosisAutomatic().


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

Generated on 18 Mar 2010 for creaMaracasVisu_lib by  doxygen 1.6.1