33 #ifndef vtkSMSourceProxy_h 34 #define vtkSMSourceProxy_h 43 struct vtkSMSourceProxyInternals;
65 virtual void UpdatePipeline();
71 virtual void UpdatePipeline(
double time);
77 vtkGetMacro(OutputPortsCreated,
int);
83 virtual unsigned int GetNumberOfOutputPorts();
106 virtual unsigned int GetOutputPortIndex(
const char* portname);
114 virtual const char* GetOutputPortName(
unsigned int index);
132 virtual void CreateOutputPorts();
160 unsigned int outputIdx,
const char* selector,
const char* assemblyName =
nullptr);
168 unsigned int outputIdx,
unsigned int compositeIndex);
176 return this->GetRankDataInformation(0u, rank);
185 virtual void CreateSelectionProxies();
192 void SetSelectionInput(
unsigned int portIndex,
vtkSMSourceProxy* input,
unsigned int outputPort);
199 unsigned int GetSelectionInputPort(
unsigned int portIndex);
205 void CleanSelectionInputs(
unsigned int portIndex);
223 vtkGetMacro(ProcessSupport,
int);
232 vtkGetMacro(MPIRequired,
bool);
238 unsigned int GetNumberOfAlgorithmOutputPorts();
244 virtual unsigned int GetNumberOfAlgorithmRequiredInputPorts();
287 vtkSetStringMacro(ExecutiveName);
302 void RemoveAllOutputPorts();
304 void RemoveAllExtractSelectionProxies();
316 const char* name,
bool propagate_to_subproxies,
bool propagate_to_proxylistdomains)
override;
324 vtkSMSourceProxyInternals* PInternals;
328 unsigned int NumberOfAlgorithmOutputPorts;
329 unsigned int NumberOfAlgorithmRequiredInputPorts;
virtual void PostUpdateData(bool using_cache)
This method is called after the algorithm(s) (if any) associated with this proxy execute.
virtual void UpdatePipelineInformation()
This method simply iterates over subproxies and calls UpdatePipelineInformation() on them...
friend class vtkSMSourceProxy
These classes have been declared as friends to minimize the public interface exposed by vtkSMProxy...
bool DisableSelectionProxies
void PrintSelf(ostream &os, vtkIndent indent) override
#define VTKREMOTINGSERVERMANAGER_EXPORT
virtual int ReadXMLAttributes(vtkSMSessionProxyManager *pm, vtkPVXMLElement *element)
Read attributes from an XML element.
superclass for all SM properties
virtual void InvalidateDataInformation()
Mark data information as invalid.
virtual void MarkDirty(vtkSMProxy *modifiedProxy)
Dirty means this algorithm will execute during next update.
virtual void SetLogNameInternal(const char *name, bool propagate_to_subproxies, bool propagate_to_proxylistdomains)
Internal method used by SetLogName
vtkPVDataInformation * GetRankDataInformation(int rank)
Get rank-specific data information.
proxy for a VTK source on a server
The vtkSMSessionProxyManager is esponsible for creating and managing proxies for a given session...
vtkPVDataInformation * GetDataInformation()
DataInformation is used by the source proxy to obtain information on the output(s) from the server...
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
reference for an output port of a vtkAlgorithm.
class providing access to the documentation for a vtkSMProxy.
void operator=(const vtkSMProxy &)=delete
This is used by vtkPVXMLParser to represent an XML document starting at the root element.
virtual vtkTypeUInt32 GetGlobalID()
Get the global unique id for this object.
bool SelectionProxiesCreated