Go to the documentation of this file.
10 #ifndef vtkSMTimeKeeperProxy_h
11 #define vtkSMTimeKeeperProxy_h
13 #include "vtkRemotingServerManagerModule.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 vtkSMProxy * New()
static bool IsTimeSourceTracked(vtkSMProxy *timeKeeper, vtkSMProxy *proxy)
Returns true if the proxy has been added to time sources and not suppressed.
virtual void CreateVTKObjects()
Given a class name (by setting VTKClassName) and server ids (by setting ServerIDs),...
static void UpdateTimeInformation(vtkSMProxy *timeKeeper)
Iterates over all sources providing time and calls vtkSMSourceProxy::UpdatePipelineInformation on the...
static int GetLowerBoundTimeStepIndex(vtkSMProxy *timeKeeper, double value)
Returns the index for the lower bound of the time specified in current timestep values,...
proxy for a VTK object(s) on a server
static vtkSMTimeKeeperProxy * SafeDownCast(vtkObject *o)
void operator=(const vtkSMProxy &)=delete
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 bool AddTimeSource(vtkSMProxy *timeKeeper, vtkSMProxy *proxy, bool suppress_input)
Track timesteps provided by a source.
static double GetLowerBoundTimeStep(vtkSMProxy *timeKeeper, double value)
Returns a time value after snapping to a lower-bound in the current timesteps.
static bool RemoveTimeSource(vtkSMProxy *timeKeeper, vtkSMProxy *proxy, bool unsuppress_input)
Remove a particular time source.
void PrintSelf(ostream &os, vtkIndent indent) override