Medical Imaging Interaction Toolkit  2026.06.00
Medical Imaging Interaction Toolkit
mitkProgressBarImplementation.h
Go to the documentation of this file.
1 /*============================================================================
2 
3 The Medical Imaging Interaction Toolkit (MITK)
4 
5 Copyright (c) German Cancer Research Center (DKFZ)
6 All rights reserved.
7 
8 Use of this source code is governed by a 3-clause BSD license that can be
9 found in the LICENSE file.
10 
11 ============================================================================*/
12 
13 #ifndef mitkProgressBarImplementation_h
14 #define mitkProgressBarImplementation_h
15 #include <MitkCoreExports.h>
16 
17 namespace mitk
18 {
28  {
29  public:
32 
35 
40  virtual void SetPercentageVisible(bool visible) = 0;
41 
43  virtual void Reset() = 0;
44 
49  virtual void AddStepsToDo(unsigned int steps) = 0;
50 
55  virtual void Progress(unsigned int steps) = 0;
56  };
57 
58 } // end namespace mitk
59 
60 #endif
#define MITKCORE_EXPORT
GUI-independent interface for all GUI-dependent implementations of a progress bar.
virtual void SetPercentageVisible(bool visible)=0
Sets whether the current progress percentage is displayed.
virtual void Progress(unsigned int steps)=0
Advances the current progress by the given number of steps.
virtual void Reset()=0
Explicitly resets the progress bar to zero.
virtual void AddStepsToDo(unsigned int steps)=0
Adds steps to the total number of steps to complete.
Find image slices visible on a given plane.