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 ProgressBar.
Sending a message to the applications ProgressBar.
static ProgressBar * m_Instance
static ProgressBar * GetInstance()
static method to get the GUI dependent ProgressBar-instance so the methods for steps to do and progre...
void UnregisterImplementationInstance(ProgressBarImplementation *implementation)
void Reset()
Explicitly reset progress bar.
void SetPercentageVisible(bool visible)
Sets whether the current progress value is displayed.
void RegisterImplementationInstance(ProgressBarImplementation *implementation)
Supply a GUI- dependent ProgressBar. Has to be set by the application to connect the application depe...
void AddStepsToDo(unsigned int steps)
Adds steps to totalSteps.
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.