SMILX
1.01
|
Object for intercepting progress events triggered by VTK based filters. More...
#include <milxGlobal.h>
Public Member Functions | |
vtkTypeMacro (vtkProgressUpdates, vtkCommand) | |
vtkObject * | GetUpdateObject () |
bool | IsBeingObserved (unsigned long event=vtkCommand::ProgressEvent) |
Static Public Member Functions | |
static vtkProgressUpdates * | New () |
Standard VTK Object Factory. | |
Protected Attributes | |
vtkSmartPointer< vtkObject > | Filter |
Dummy object for passing on events. | |
Object for intercepting progress events triggered by VTK based filters.
Since the milx::Model is unaware of milxQtModel, this vtkCommand object is added as an observer of a filter. Upon a progress event, the Execute member of this class is triggered, which in turn invokes another progress event of a dummy internal object. If this internal object is linked as an observer, the event is effectively passed on.
Link the internal oberver:
Connect the internal observer usig the linkProgressEventOf() member.
Definition at line 311 of file milxGlobal.h.