ParaView
|
a time keeper is used to keep track of the pipeline time. More...
#include <vtkSMTimeKeeper.h>
Inherits vtkObject.
Public Types | |
typedef vtkObject | Superclass |
Public Member Functions | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
void | PrintSelf (ostream &os, vtkIndent indent) |
void | SetTime (double time) |
Get/Set the pipeline time. More... | |
virtual double | GetTime () |
Get/Set the pipeline time. More... | |
void | AddView (vtkSMProxy *) |
Add/Remove view proxy linked to this time keeper. More... | |
void | RemoveView (vtkSMProxy *) |
Add/Remove view proxy linked to this time keeper. More... | |
void | RemoveAllViews () |
Add/Remove view proxy linked to this time keeper. More... | |
void | AddTimeSource (vtkSMSourceProxy *) |
List of proxies that provide time. More... | |
void | RemoveTimeSource (vtkSMSourceProxy *) |
List of proxies that provide time. More... | |
void | RemoveAllTimeSources () |
List of proxies that provide time. More... | |
void | AddSuppressedTimeSource (vtkSMSourceProxy *) |
List of proxies that provide time. More... | |
void | RemoveSuppressedTimeSource (vtkSMSourceProxy *) |
List of proxies that provide time. More... | |
Static Public Member Functions | |
static vtkSMTimeKeeper * | New () |
static int | IsTypeOf (const char *type) |
static vtkSMTimeKeeper * | SafeDownCast (vtkObject *o) |
Protected Member Functions | |
vtkSMTimeKeeper () | |
~vtkSMTimeKeeper () | |
void | SetTimestepValuesProperty (vtkSMProperty *) |
void | SetTimeRangeProperty (vtkSMProperty *) |
void | SetTimeLabelProperty (vtkSMProperty *) |
void | UpdateTimeSteps () |
Protected Attributes | |
vtkSMProperty * | TimeLabelProperty |
vtkSMProperty * | TimeRangeProperty |
vtkSMProperty * | TimestepValuesProperty |
double | Time |
Friends | |
class | vtkSMTimeKeeperProxy |
a time keeper is used to keep track of the pipeline time.
TimeKeeper can be thought of as a application wide clock. In ParaView, all views are registered with the TimeKeeper (using AddView()) so that all the views render data at the same global time.
TimeKeeper also keeps track of time steps and continuous time ranges provided by sources/readers/filters. This expects that the readers have a "TimestepValues" and/or "TimeRange" properties from which the time steps and time ranges provided by the reader can be obtained. All sources whose time steps/time ranges must be noted by the time keeper need to be registered with the time keeper using AddTimeSource(). ParaView automatically registers all created sources/filters/readers with the time keeper. The time steps and time ranges are made accessible by two information properties "TimestepValues" and "TimeRange" on the TimeKeeper proxy.
To change the time shown by all the views, simply change the "Time" property on the time keeper proxy (don't directly call SetTime() since otherwise undo/redo, state etc. will not work as expected).
This proxy has no VTK objects that it creates on the server.
Definition at line 51 of file vtkSMTimeKeeper.h.
typedef vtkObject vtkSMTimeKeeper::Superclass |
Definition at line 55 of file vtkSMTimeKeeper.h.
|
protected |
|
protected |
|
static |
|
virtual |
|
static |
|
virtual |
|
static |
void vtkSMTimeKeeper::PrintSelf | ( | ostream & | os, |
vtkIndent | indent | ||
) |
void vtkSMTimeKeeper::SetTime | ( | double | time | ) |
Get/Set the pipeline time.
|
virtual |
Get/Set the pipeline time.
void vtkSMTimeKeeper::AddView | ( | vtkSMProxy * | ) |
Add/Remove view proxy linked to this time keeper.
void vtkSMTimeKeeper::RemoveView | ( | vtkSMProxy * | ) |
Add/Remove view proxy linked to this time keeper.
void vtkSMTimeKeeper::RemoveAllViews | ( | ) |
Add/Remove view proxy linked to this time keeper.
void vtkSMTimeKeeper::AddTimeSource | ( | vtkSMSourceProxy * | ) |
List of proxies that provide time.
TimestepValues property has a set of timesteps provided by all the sources added to this property alone.
void vtkSMTimeKeeper::RemoveTimeSource | ( | vtkSMSourceProxy * | ) |
List of proxies that provide time.
TimestepValues property has a set of timesteps provided by all the sources added to this property alone.
void vtkSMTimeKeeper::RemoveAllTimeSources | ( | ) |
List of proxies that provide time.
TimestepValues property has a set of timesteps provided by all the sources added to this property alone.
void vtkSMTimeKeeper::AddSuppressedTimeSource | ( | vtkSMSourceProxy * | ) |
List of proxies that provide time.
TimestepValues property has a set of timesteps provided by all the sources added to this property alone.
void vtkSMTimeKeeper::RemoveSuppressedTimeSource | ( | vtkSMSourceProxy * | ) |
List of proxies that provide time.
TimestepValues property has a set of timesteps provided by all the sources added to this property alone.
|
protected |
|
protected |
|
protected |
|
protected |
|
friend |
Definition at line 98 of file vtkSMTimeKeeper.h.
|
protected |
Definition at line 105 of file vtkSMTimeKeeper.h.
|
protected |
Definition at line 106 of file vtkSMTimeKeeper.h.
|
protected |
Definition at line 107 of file vtkSMTimeKeeper.h.
|
protected |
Definition at line 108 of file vtkSMTimeKeeper.h.