21 #ifndef vtkSMSourceProxy_h 22 #define vtkSMSourceProxy_h 31 struct vtkSMSourceProxyInternals;
53 virtual void UpdatePipeline();
59 virtual void UpdatePipeline(
double time);
65 vtkGetMacro(OutputPortsCreated,
int);
71 virtual unsigned int GetNumberOfOutputPorts();
94 virtual unsigned int GetOutputPortIndex(
const char* portname);
102 virtual const char* GetOutputPortName(
unsigned int index);
120 virtual void CreateOutputPorts();
158 unsigned int outputIdx,
const char* selector,
const char* assemblyName =
nullptr);
166 unsigned int outputIdx,
unsigned int compositeIndex);
174 return this->GetRankDataInformation(0u, rank);
183 virtual void CreateSelectionProxies();
190 void SetSelectionInput(
unsigned int portIndex,
vtkSMSourceProxy* input,
unsigned int outputPort);
197 unsigned int GetSelectionInputPort(
unsigned int portIndex);
203 void CleanSelectionInputs(
unsigned int portIndex);
211 using Superclass::SaveXMLState;
230 vtkGetMacro(ProcessSupport,
int);
239 vtkGetMacro(MPIRequired,
bool);
245 unsigned int GetNumberOfAlgorithmOutputPorts();
251 virtual unsigned int GetNumberOfAlgorithmRequiredInputPorts();
262 unsigned int GetSelectionId();
263 unsigned int GetSelectionPort();
264 void SetSelectionId(
unsigned int id);
265 void SetSelectionPort(
unsigned int port);
304 vtkSetStringMacro(ExecutiveName);
319 void RemoveAllOutputPorts();
321 void RemoveAllExtractSelectionProxies();
333 const char* name,
bool propagate_to_subproxies,
bool propagate_to_proxylistdomains)
override;
341 vtkSMSourceProxyInternals* PInternals;
345 unsigned int NumberOfAlgorithmOutputPorts;
346 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)
virtual int LoadXMLState(vtkPVXMLElement *element, vtkSMProxyLocator *locator)
Loads the proxy state from the XML element.
proxy for a VTK object(s) on a server
is used to locate proxies referred to in state xmls while loading state files.
reference for an output port of a vtkAlgorithm.
class providing access to the documentation for a vtkSMProxy.
void operator=(const vtkSMProxy &)=delete
virtual vtkPVXMLElement * SaveXMLState(vtkPVXMLElement *root)
Saves the state of the proxy.
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
iterates over the properties of a proxy