SMILX  1.01
Public Member Functions | Static Public Member Functions | Protected Attributes | List of all members
vtkProgressUpdates Class Reference

Object for intercepting progress events triggered by VTK based filters. More...

#include <milxGlobal.h>

Inheritance diagram for vtkProgressUpdates:

Public Member Functions

 vtkTypeMacro (vtkProgressUpdates, vtkCommand)
 
vtkObject * GetUpdateObject ()
 
bool IsBeingObserved (unsigned long event=vtkCommand::ProgressEvent)
 

Static Public Member Functions

static vtkProgressUpdatesNew ()
 Standard VTK Object Factory.
 

Protected Attributes

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

Detailed Description

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:

linkProgressEventOf(model.GetObserverObject()); //link internal observer

Connect the internal observer usig the linkProgressEventOf() member.

Definition at line 311 of file milxGlobal.h.


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