16 #include <itkCommand.h> 17 #include <itkObjectFactory.h> 18 #include <itkOutputWindow.h> 38 if ((*iter) !=
nullptr)
40 (*iter)->Progress(steps);
57 if ((*iter) !=
nullptr)
76 if ((*iter) !=
nullptr)
78 (*iter)->AddStepsToDo(steps);
95 if ((*iter) !=
nullptr)
97 (*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