22 if (
typeid(event) ==
typeid(itk::IterationEvent))
27 if (
typeid(event) ==
typeid(itk::ProgressEvent))
32 if (
typeid(event) ==
typeid(itk::AnyEvent))
37 if (
typeid(event) ==
typeid(itk::StartEvent))
42 if (
typeid(event) ==
typeid(itk::EndEvent))
47 if (
typeid(event) ==
typeid(itk::FunctionEvaluationIterationEvent))
52 if (
typeid(event) ==
typeid(itk::GradientEvaluationIterationEvent))
57 if (
typeid(event) ==
typeid(itk::FunctionAndGradientEvaluationIterationEvent))
81 return m_ProgressValue;
86 m_StopProcessing = value;
void Progress(unsigned int steps=1)
Sets the current amount of progress to current progress + steps.
static ProgressBar * GetInstance()
static method to get the GUI dependent ProgressBar-instance so the methods for steps to do and progre...
void AddStepsToDo(unsigned int steps)
Adds steps to totalSteps.