|
Computer Assited Medical Intervention Tool Kit
version 5.0
|
|
Go to the documentation of this file.
26 #ifndef ITK_PROGRESS_OBSERVER
27 #define ITK_PROGRESS_OBSERVER
33 #include <itkCommand.h>
34 #include <itkProcessObject.h>
46 class ItkProgressObserver :
public itk::Command {
50 typedef itk::SmartPointer<Self>
Pointer;
57 void Execute(itk::Object* caller,
const itk::EventObject& event);
58 void Execute(
const itk::Object*
object,
const itk::EventObject& event);
79 Execute((
const itk::Object*)caller, event);
83 const itk::ProcessObject* filter =
84 dynamic_cast< const itk::ProcessObject*
>(object);
85 if (! itk::ProgressEvent().CheckEvent(&event)) {
110 #endif //ITK_PROGRESS_OBSERVER
double coef
Definition: ItkProgressObserver.h:111
double startValue
Definition: ItkProgressObserver.h:112
static void setProgressBarValue(int)
set the progress bar value, value should be in [0..100].
Definition: Application.cpp:374
itk::SmartPointer< Self > Pointer
Definition: ItkProgressObserver.h:96
itk::Command Superclass
Definition: ItkProgressObserver.h:95
ItkProgressObserver Self
Definition: ItkProgressObserver.h:94
void Execute(itk::Object *caller, const itk::EventObject &event)
Definition: ItkProgressObserver.h:101
void Reset()
Definition: ItkProgressObserver.h:116
ItkProgressObserver()
Definition: ItkProgressObserver.h:93
void SetStartValue(double startValue)
Definition: ItkProgressObserver.h:127
void SetCoef(double coef)
Definition: ItkProgressObserver.h:123
double compteur
Definition: ItkProgressObserver.h:110
Definition: Action.cpp:35