10 #ifndef vtkSMTimeKeeperProxy_h 11 #define vtkSMTimeKeeperProxy_h 29 virtual bool AddTimeSource(
vtkSMProxy* proxy,
bool suppress_input);
33 return self ?
self->AddTimeSource(proxy, suppress_input) :
false;
41 virtual bool RemoveTimeSource(
vtkSMProxy* proxy,
bool unsuppress_input);
45 return self ?
self->RemoveTimeSource(proxy, unsuppress_input) :
false;
54 virtual bool IsTimeSourceTracked(
vtkSMProxy* proxy);
58 return self ?
self->IsTimeSourceTracked(proxy) :
false;
68 virtual bool SetSuppressTimeSource(
vtkSMProxy* proxy,
bool suppress);
72 return self ?
self->SetSuppressTimeSource(proxy, suppress) :
false;
81 virtual double GetLowerBoundTimeStep(
double value);
85 return self ?
self->GetLowerBoundTimeStep(value) : value;
94 virtual int GetLowerBoundTimeStepIndex(
double value);
98 return self ?
self->GetLowerBoundTimeStepIndex(value) : 0;
108 virtual void UpdateTimeInformation();
113 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.