open_iA 2025.6
Loading...
Searching...
No Matches
iAProgress Class Reference

Connects computation with progress listeners through signals. More...

#include <iAProgress.h>

Inheritance diagram for iAProgress:
[legend]
Collaboration diagram for iAProgress:
[legend]

Public Slots

void emitProgress (double p) const
 Trigger a progress event manually.
 
void setStatus (QString const &status) const
 Set additional status information.
 

Signals

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.
 

Public Member Functions

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)
 

Detailed Description

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.

Member Function Documentation

◆ emitProgress

void iAProgress::emitProgress ( double p) const
slot

Trigger a progress event manually.

Parameters
pthe 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
callerthe ITK algorithm to observe

◆ observe() [2/2]

void iAProgress::observe ( vtkAlgorithm * caller) const

observe a VTK algorithm (and pass on its progress report)

Parameters
callerthe 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
pthe current percentage of progress (number between 0 and 100)

◆ setStatus

void iAProgress::setStatus ( QString const & status) const
slot

Set additional status information.

Parameters
statusthe 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
statusthe new status.

The documentation for this class was generated from the following files: