27 #ifndef vtkSMPProgressObserver_h 28 #define vtkSMPProgressObserver_h 30 #include "vtkCommonExecutionModelModule.h" 53 return this->Observers.Local();
a simple class to control print indentation
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
static vtkProgressObserver * New()
Progress observer that is thread safe.
virtual void UpdateProgress(double amount)
The default behavior is to update the Progress data member and invoke a ProgressEvent.
vtkProgressObserver * GetLocalObserver()
Returns the progress observer local to the thread it was called from.
Basic class to optionally replace vtkAlgorithm progress functionality.
vtkSMPThreadLocalObject< vtkProgressObserver > Observers