wxWidgetSliderMinMaxVOI Class Reference

#include <ContourVOIWidget.h>

Collaboration diagram for wxWidgetSliderMinMaxVOI:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 wxWidgetSliderMinMaxVOI (ContourVOIWidget *contourtool, mBarRange *modelBarRange)
 ~wxWidgetSliderMinMaxVOI ()
void onBarrange (wxCommandEvent &event)
void onActualChange_Bar (wxCommandEvent &event)
void onStartChange_Bar (wxCommandEvent &event)
void onEndChange_Bar (wxCommandEvent &event)
void onSelectionEnd (wxCommandEvent &event)
void onMovedBar (wxCommandEvent &event)

Private Attributes

ContourVOIWidgetmcontourtool
mBarRangemodBarRange

Detailed Description

Definition at line 24 of file ContourVOIWidget.h.


Constructor & Destructor Documentation

wxWidgetSliderMinMaxVOI::wxWidgetSliderMinMaxVOI ( ContourVOIWidget contourtool,
mBarRange modelBarRange 
)

Definition at line 8 of file ContourVOIWidget.cxx.

References mcontourtool, modBarRange, onActualChange_Bar(), onBarrange(), onEndChange_Bar(), onMovedBar(), onSelectionEnd(), and onStartChange_Bar().

00010                 :wxEvtHandler()
00011                 {                       
00012                         modBarRange = modelBarRange;
00013                         mcontourtool = contourtool;
00014                         modBarRange->PushEventHandler(this);
00015                         Connect(modBarRange->GetId(),wxEVT_TSBAR,(wxObjectEventFunction) (wxCommandEventFunction) &wxWidgetSliderMinMaxVOI::onBarrange );
00016                         Connect(modBarRange->GetId(),wxEVT_TSBAR_ACTUAL,(wxObjectEventFunction) (wxCommandEventFunction)  &wxWidgetSliderMinMaxVOI::onActualChange_Bar );
00017                         Connect(modBarRange->GetId(),wxEVT_TSBAR_START,(wxObjectEventFunction) (wxCommandEventFunction)  &wxWidgetSliderMinMaxVOI::onStartChange_Bar );
00018                         Connect(modBarRange->GetId(),wxEVT_TSBAR_END,(wxObjectEventFunction) (wxCommandEventFunction)  &wxWidgetSliderMinMaxVOI::onEndChange_Bar );
00019                         Connect(modBarRange->GetId(),wxEVT_SELECTION_END,(wxObjectEventFunction) (wxCommandEventFunction)  &wxWidgetSliderMinMaxVOI::onSelectionEnd );
00020                         Connect(modBarRange->GetId(),wxEVT_TSBAR_MOVED,(wxObjectEventFunction) (wxCommandEventFunction)  &wxWidgetSliderMinMaxVOI::onMovedBar );                
00021                 }

Here is the call graph for this function:

wxWidgetSliderMinMaxVOI::~wxWidgetSliderMinMaxVOI (  ) 

Definition at line 23 of file ContourVOIWidget.cxx.

00024                 {
00025                         
00026                 }


Member Function Documentation

void wxWidgetSliderMinMaxVOI::onActualChange_Bar ( wxCommandEvent &  event  ) 

Definition at line 36 of file ContourVOIWidget.cxx.

References mBarRange::GetActual(), wxVtk2DBaseView::GetVtkBaseData(), ContourVOIWidget::GetWxVtkBaseView(), mcontourtool, modBarRange, wxVtk2DBaseView::Refresh(), and vtkBaseData::SetZ().

Referenced by wxWidgetSliderMinMaxVOI().

00037                 {
00038 std::cout << "wxWidgetSliderMinMaxVOI ::onActualChange_Bar" << std::endl;
00039                         wxVtk2DBaseView *wxvtk2dbaseview = (wxVtk2DBaseView*)mcontourtool->GetWxVtkBaseView();
00040                         wxvtk2dbaseview->GetVtkBaseData()->SetZ(modBarRange->GetActual());
00041                         wxvtk2dbaseview->Refresh();
00042                 }

Here is the call graph for this function:

Here is the caller graph for this function:

void wxWidgetSliderMinMaxVOI::onBarrange ( wxCommandEvent &  event  ) 

Definition at line 32 of file ContourVOIWidget.cxx.

Referenced by wxWidgetSliderMinMaxVOI().

00033                 {
00034 
00035                 }

Here is the caller graph for this function:

void wxWidgetSliderMinMaxVOI::onEndChange_Bar ( wxCommandEvent &  event  ) 

Definition at line 51 of file ContourVOIWidget.cxx.

References mBarRange::GetEnd(), wxVtk2DBaseView::GetVtkBaseData(), ContourVOIWidget::GetWxVtkBaseView(), mcontourtool, modBarRange, wxVtk2DBaseView::Refresh(), and vtkBaseData::SetZ().

Referenced by wxWidgetSliderMinMaxVOI().

00052                 {
00053 std::cout << "wxWidgetSliderMinMaxVOI ::onEndChange_Bar" << std::endl;
00054                         wxVtk2DBaseView *wxvtk2dbaseview = (wxVtk2DBaseView*)mcontourtool->GetWxVtkBaseView();
00055                         wxvtk2dbaseview->GetVtkBaseData()->SetZ(modBarRange->GetEnd());
00056                         wxvtk2dbaseview->Refresh();
00057 //EED                   mcontourtool->ProcessOutputs();
00058                 }

Here is the call graph for this function:

Here is the caller graph for this function:

void wxWidgetSliderMinMaxVOI::onMovedBar ( wxCommandEvent &  event  ) 

Definition at line 62 of file ContourVOIWidget.cxx.

Referenced by wxWidgetSliderMinMaxVOI().

00063                 {
00064 //EED                   mcontourtool->ProcessOutputs();
00065                 }

Here is the caller graph for this function:

void wxWidgetSliderMinMaxVOI::onSelectionEnd ( wxCommandEvent &  event  ) 

Definition at line 59 of file ContourVOIWidget.cxx.

Referenced by wxWidgetSliderMinMaxVOI().

00060                 {
00061                 }

Here is the caller graph for this function:

void wxWidgetSliderMinMaxVOI::onStartChange_Bar ( wxCommandEvent &  event  ) 

Definition at line 43 of file ContourVOIWidget.cxx.

References mBarRange::GetStart(), wxVtk2DBaseView::GetVtkBaseData(), ContourVOIWidget::GetWxVtkBaseView(), mcontourtool, modBarRange, wxVtk2DBaseView::Refresh(), and vtkBaseData::SetZ().

Referenced by wxWidgetSliderMinMaxVOI().

00044                 {
00045 std::cout << "wxWidgetSliderMinMaxVOI ::onStartChange_Bar" << std::endl;
00046                         wxVtk2DBaseView *wxvtk2dbaseview = (wxVtk2DBaseView*)mcontourtool->GetWxVtkBaseView();
00047                         wxvtk2dbaseview->GetVtkBaseData()->SetZ(modBarRange->GetStart());
00048                         wxvtk2dbaseview->Refresh();
00049 //EED                   mcontourtool->ProcessOutputs();
00050                 }

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