26 if (
typeid(event) ==
typeid(itk::IterationEvent))
31 if (
typeid(event) ==
typeid(itk::ProgressEvent))
36 if (
typeid(event) ==
typeid(itk::AnyEvent))
41 if (
typeid(event) ==
typeid(itk::StartEvent))
46 if (
typeid(event) ==
typeid(itk::EndEvent))
51 if (
typeid(event) ==
typeid(itk::FunctionEvaluationIterationEvent))
56 if (
typeid(event) ==
typeid(itk::GradientEvaluationIterationEvent))
61 if (
typeid(event) ==
typeid(itk::FunctionAndGradientEvaluationIterationEvent))
85 return m_ProgressValue;
90 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.