SMILX
1.01
|
Object for intercepting progress events triggered by ITK based filters and converting them to VTK progress events. More...
#include <milxGlobal.h>
Public Member Functions | |
itkTypeMacro (ProgressUpdates, Command) | |
vtkObject * | GetUpdateObject () |
Static Public Member Functions | |
static ProgressUpdates * | New () |
Standard ITK Object Factory. | |
Protected Attributes | |
vtkSmartPointer< vtkObject > | Filter |
Dummy object for passing on events. | |
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:
Connect the internal observer usig the linkProgressEventOf() member.
Definition at line 257 of file milxGlobal.h.