![]() |
open_iA
2020.04
A tool for the visual analysis and processing of volumetric datasets, with a focus on industrial computed tomography.
|
Connects computation with progress listeners through signals. More...
#include <iAProgress.h>
Public Types | |
| typedef itk::MemberCommand< iAProgress > | CommandType |
Signals | |
| void | progress (int p) |
| Signal emitted whenever the progress has changed. More... | |
| void | statusChanged (QString const &status) |
| Signal emitted whenever the status has changed. More... | |
Public Member Functions | |
| void | emitProgress (int p) |
| Trigger a progress event manually. More... | |
| void | observe (itk::Object *caller) |
| observe an ITK algorithm (and pass on its progress report) More... | |
| void | observe (vtkAlgorithm *caller) |
| observe a VTK algorithm (and pass on its progress report) More... | |
| void | setStatus (QString const &status) |
| Set additional status information. More... | |
| void | processEvent (itk::Object *caller, const itk::EventObject &event) |
| void | constProcessEvent (const itk::Object *caller, const itk::EventObject &event) |
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.
| typedef itk::MemberCommand< iAProgress > iAProgress::CommandType |
| void iAProgress::constProcessEvent | ( | const itk::Object * | caller, |
| const itk::EventObject & | event | ||
| ) |
| void iAProgress::emitProgress | ( | int | p | ) |
Trigger a progress event manually.
| p | the current percentage of progress (number between 0 and 100) |
| void iAProgress::observe | ( | itk::Object * | caller | ) |
observe an ITK algorithm (and pass on its progress report)
| caller | the ITK algorithm to observe |
| void iAProgress::observe | ( | vtkAlgorithm * | caller | ) |
observe a VTK algorithm (and pass on its progress report)
| caller | the VTK algorithm to observe |
| void iAProgress::processEvent | ( | itk::Object * | caller, |
| const itk::EventObject & | event | ||
| ) |
Event handlers for ITK progress events
|
signal |
Signal emitted whenever the progress has changed.
Connect this to a method that updates the indication of the current progression to the user.
| p | the current percentage of progress (number between 0 and 100) |
| void iAProgress::setStatus | ( | QString const & | status | ) |
Set additional status information.
| status | the new status to report to the user |
|
signal |
Signal emitted whenever the status has changed.
Connect this to a method that updates the output of the status to the user.
| status | the new status. |
1.8.18