13 #ifndef mitkProgressBar_h
14 #define mitkProgressBar_h
16 #include <itkObject.h>
20 class ProgressBarImplementation;
GUI-independent interface for all GUI-dependent implementations of a progress bar.
Sending a message to the application's ProgressBar.
static ProgressBar * m_Instance
static ProgressBar * GetInstance()
Static method to get the singleton ProgressBar instance.
void UnregisterImplementationInstance(ProgressBarImplementation *implementation)
Unregister a previously registered ProgressBar implementation.
void Reset()
Explicitly reset the progress bar.
void SetPercentageVisible(bool visible)
Sets whether the current progress value is displayed as a percentage.
void RegisterImplementationInstance(ProgressBarImplementation *implementation)
Register a GUI-dependent ProgressBar implementation.
void AddStepsToDo(unsigned int steps)
Adds steps to the total number of steps to do.
std::vector< ProgressBarImplementation * > ProgressBarImplementationsList
ProgressBarImplementationsList m_Implementations
void Progress(unsigned int steps=1)
Sets the current amount of progress to current progress + steps.
ProgressBarImplementationsList::iterator ProgressBarImplementationsListIterator
Find image slices visible on a given plane.