Medical Imaging Interaction Toolkit  2024.06.99-60d9b802
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 {
19  //##Documentation
20  //## @brief GUI independent Interface for all Gui dependent implementations of a ProgressBar.
22  {
23  public:
24  //##Documentation
25  //## @brief Constructor
27 
28  //##Documentation
29  //## @brief Destructor
31 
32  //##Documentation
33  //## @brief Sets whether the current progress value is displayed.
34  virtual void SetPercentageVisible(bool visible) = 0;
35 
36  //##Documentation
37  //## @brief Explicitly reset progress bar.
38  virtual void Reset() = 0;
39 
40  //##Documentation
41  //## @brief Adds steps to totalSteps.
42  virtual void AddStepsToDo(unsigned int steps) = 0;
43 
44  //##Documentation
45  //## @brief Sets the current amount of progress to current progress + steps.
46  //## @param steps the number of steps done since last Progress(int steps) call.
47  virtual void Progress(unsigned int steps) = 0;
48  };
49 
50 } // end namespace mitk
51 
52 #endif
mitk::ProgressBarImplementation::~ProgressBarImplementation
virtual ~ProgressBarImplementation()
Destructor.
Definition: mitkProgressBarImplementation.h:30
mitk
Find image slices visible on a given plane.
Definition: RenderingTests.dox:1
MitkCoreExports.h
mitk::ProgressBarImplementation::ProgressBarImplementation
ProgressBarImplementation()
Constructor.
Definition: mitkProgressBarImplementation.h:26
mitk::ProgressBarImplementation
GUI independent Interface for all Gui dependent implementations of a ProgressBar.
Definition: mitkProgressBarImplementation.h:21
MITKCORE_EXPORT
#define MITKCORE_EXPORT
Definition: MitkCoreExports.h:15