SMILX  1.01
Public Member Functions | Static Public Member Functions | Protected Attributes | List of all members
itk::ProgressUpdates Class Reference

Object for intercepting progress events triggered by ITK based filters and converting them to VTK progress events. More...

#include <milxGlobal.h>

Inheritance diagram for itk::ProgressUpdates:

Public Member Functions

 itkTypeMacro (ProgressUpdates, Command)
 
vtkObject * GetUpdateObject ()
 

Static Public Member Functions

static ProgressUpdatesNew ()
 Standard ITK Object Factory.
 

Protected Attributes

vtkSmartPointer< vtkObject > Filter
 Dummy object for passing on events.
 

Detailed Description

Object for intercepting progress events triggered by ITK based filters and converting them to VTK progress events.

Since the milx::Image is unaware of milxQtImage, this Command object is added as an observer of ITK filters. Upon a progress event, the Execute member of this class is triggered, which in turn invokes a VTK progress event of a dummy internal object. If this internal object is linked as an VTK observer, the event is effectively passed on.

Link the internal oberver:

linkProgressEventOf(milx::ProgressUpdates->GetUpdateObject()); //link itk observer propagator

Connect the internal observer usig the linkProgressEventOf() member.

Definition at line 257 of file milxGlobal.h.


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