32#ifndef vtkExecutionTimer_h
33#define vtkExecutionTimer_h
35#include "vtkFiltersCoreModule.h"
70 vtkGetMacro(ElapsedCPUTime,
double);
79 vtkGetMacro(ElapsedWallClockTime,
double);
125 vtkObject* caller,
unsigned long eventId,
void* clientData,
void* callData);
Superclass for all sources, filters, and sinks in VTK.
supports function callbacks
~vtkExecutionTimer() override
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
static void EventRelay(vtkObject *caller, unsigned long eventId, void *clientData, void *callData)
This is the callback that VTK will invoke when it sees StartEvent and EndEvent.
double WallClockStartTime
static vtkExecutionTimer * New()
Construct a new timer with no attached filter.
void SetFilter(vtkAlgorithm *filter)
Set/get the filter to be monitored.
vtkCallbackCommand * Callback
virtual void TimerFinished()
This is where you can do anything you want with the progress event.
double ElapsedWallClockTime
void StopTimer()
Convenience functions – StartTimer clears out the elapsed times and records start times; StopTimer re...
void StartTimer()
Convenience functions – StartTimer clears out the elapsed times and records start times; StopTimer re...
a simple class to control print indentation
abstract base class for most VTK objects