Connects computation with progress listeners through signals.
More...
#include <iAProgress.h>
|
| void | emitProgress (double p) const |
| | Trigger a progress event manually.
|
| |
| void | setStatus (QString const &status) const |
| | Set additional status information.
|
| |
|
| void | progress (double p) const |
| | Signal emitted whenever the progress has changed.
|
| |
| void | statusChanged (QString const &status) const |
| | Signal emitted whenever the status has changed.
|
| |
|
| void | observe (itk::Object *caller) const |
| | observe an ITK algorithm (and pass on its progress report)
|
| |
| void | observe (vtkAlgorithm *caller) const |
| | observe a VTK algorithm (and pass on its progress report)
|
| |
Connects computation with progress listeners through signals.
Can be used to track progress of vtk and itk filters, and provides an interface for manual progress tracking.
◆ emitProgress
| void iAProgress::emitProgress |
( |
double | p | ) |
const |
|
slot |
Trigger a progress event manually.
- Parameters
-
| p | the current percentage of progress (number between 0 and 100) |
◆ observe() [1/2]
| void iAProgress::observe |
( |
itk::Object * | caller | ) |
const |
observe an ITK algorithm (and pass on its progress report)
- Parameters
-
| caller | the ITK algorithm to observe |
◆ observe() [2/2]
| void iAProgress::observe |
( |
vtkAlgorithm * | caller | ) |
const |
observe a VTK algorithm (and pass on its progress report)
- Parameters
-
| caller | the VTK algorithm to observe |
◆ progress
| void iAProgress::progress |
( |
double | p | ) |
const |
|
signal |
Signal emitted whenever the progress has changed.
Connect this to a method that updates the indication of the current progression to the user.
- Parameters
-
| p | the current percentage of progress (number between 0 and 100) |
◆ setStatus
| void iAProgress::setStatus |
( |
QString const & | status | ) |
const |
|
slot |
Set additional status information.
- Parameters
-
| status | the new status to report to the user |
◆ statusChanged
| void iAProgress::statusChanged |
( |
QString const & | status | ) |
const |
|
signal |
Signal emitted whenever the status has changed.
Connect this to a method that updates the output of the status to the user.
- Parameters
-
The documentation for this class was generated from the following files: