22 #ifndef vtkSMTimeKeeperProxy_h 23 #define vtkSMTimeKeeperProxy_h 41 virtual bool AddTimeSource(
vtkSMProxy* proxy,
bool suppress_input);
45 return self ?
self->AddTimeSource(proxy, suppress_input) :
false;
53 virtual bool RemoveTimeSource(
vtkSMProxy* proxy,
bool unsuppress_input);
57 return self ?
self->RemoveTimeSource(proxy, unsuppress_input) :
false;
66 virtual bool IsTimeSourceTracked(
vtkSMProxy* proxy);
70 return self ?
self->IsTimeSourceTracked(proxy) :
false;
80 virtual bool SetSuppressTimeSource(
vtkSMProxy* proxy,
bool suppress);
84 return self ?
self->SetSuppressTimeSource(proxy, suppress) :
false;
93 virtual double GetLowerBoundTimeStep(
double value);
97 return self ?
self->GetLowerBoundTimeStep(value) : value;
106 virtual int GetLowerBoundTimeStepIndex(
double value);
110 return self ?
self->GetLowerBoundTimeStepIndex(value) : 0;
120 virtual void UpdateTimeInformation();
125 self->UpdateTimeInformation();
static int GetLowerBoundTimeStepIndex(vtkSMProxy *timeKeeper, double value)
Returns the index for the lower bound of the time specified in current timestep values, if possible.
static bool IsTimeSourceTracked(vtkSMProxy *timeKeeper, vtkSMProxy *proxy)
Returns true if the proxy has been added to time sources and not suppressed.
static vtkSMTimeKeeperProxy * SafeDownCast(vtkObject *o)
void PrintSelf(ostream &os, vtkIndent indent) override
#define VTKREMOTINGSERVERMANAGER_EXPORT
We simply pass the TimestepValues and TimeRange properties to the client-side vtkSMTimeKeeper instanc...
static void UpdateTimeInformation(vtkSMProxy *timeKeeper)
Iterates over all sources providing time and calls vtkSMSourceProxy::UpdatePipelineInformation on the...
static bool RemoveTimeSource(vtkSMProxy *timeKeeper, vtkSMProxy *proxy, bool unsuppress_input)
Remove a particular time source.
static bool SetSuppressTimeSource(vtkSMProxy *timeKeeper, vtkSMProxy *proxy, bool suppress)
Set whether to suppress a time source that has been added to the time keeper.
static double GetLowerBoundTimeStep(vtkSMProxy *timeKeeper, double value)
Returns a time value after snapping to a lower-bound in the current timesteps.
static vtkSMProxy * New()
virtual void CreateVTKObjects()
Given a class name (by setting VTKClassName) and server ids (by setting ServerIDs), this methods instantiates the objects on the server(s)
proxy for a VTK object(s) on a server
void operator=(const vtkSMProxy &)=delete
static bool AddTimeSource(vtkSMProxy *timeKeeper, vtkSMProxy *proxy, bool suppress_input)
Track timesteps provided by a source.