20 #include <itkCommand.h>
21 #include <itkObjectFactory.h>
22 #include <itkOutputWindow.h>
42 if ((*iter) !=
nullptr)
44 (*iter)->Progress(steps);
61 if ((*iter) !=
nullptr)
80 if ((*iter) !=
nullptr)
82 (*iter)->AddStepsToDo(steps);
99 if ((*iter) !=
nullptr)
101 (*iter)->SetPercentageVisible(visible);
void Progress(unsigned int steps=1)
Sets the current amount of progress to current progress + steps.
void RegisterImplementationInstance(ProgressBarImplementation *implementation)
Supply a GUI- dependent ProgressBar. Has to be set by the application to connect the application depe...
GUI indepentent Interface for all Gui depentent implementations of a ProgressBar. ...
Sending a message to the applications ProgressBar.
ProgressBarImplementationsList m_Implementations
DataCollection - Class to facilitate loading/accessing structured data.
void Reset()
Explicitly reset progress bar.
static ProgressBar * GetInstance()
static method to get the GUI dependent ProgressBar-instance so the methods for steps to do and progre...
ProgressBarImplementationsList::iterator ProgressBarImplementationsListIterator
void UnregisterImplementationInstance(ProgressBarImplementation *implementation)
void SetPercentageVisible(bool visible)
Sets whether the current progress value is displayed.
void AddStepsToDo(unsigned int steps)
Adds steps to totalSteps.
static ProgressBar * m_Instance