 |
VTK
9.0.1
|
Go to the documentation of this file.
27 #ifndef vtkExecutive_h
28 #define vtkExecutive_h
30 #include "vtkCommonExecutionModelModule.h"
35 class vtkAlgorithmToExecutiveFriendship;
37 class vtkExecutiveInternals;
282 vtkExecutiveInternals* ExecutiveInternal;
284 friend class vtkAlgorithmToExecutiveFriendship;
static vtkInformationIntegerKey * ALGORITHM_BEFORE_FORWARD()
Keys to program vtkExecutive::ProcessRequest with the default behavior for unknown requests.
virtual void SetOutputData(int port, vtkDataObject *, vtkInformation *info)
virtual vtkTypeBool ProcessRequest(vtkInformation *request, vtkInformationVector **inInfo, vtkInformationVector *outInfo)
Generalized interface for asking the executive to fulfill pipeline requests.
int InputPortIndexInRange(int port, const char *action)
Superclass for all sources, filters, and sinks in VTK.
virtual void SetAlgorithm(vtkAlgorithm *algorithm)
int GetNumberOfInputPorts()
Get the number of input/output ports for the algorithm associated with this executive.
abstract base class for most VTK objects
static vtkInformationIntegerKey * ALGORITHM_AFTER_FORWARD()
vtkInformationVector * SharedOutputInformation
virtual vtkDataObject * GetInputData(int port, int connection, vtkInformationVector **inInfoVec)
virtual vtkDataObject * GetOutputData(int port)
Get/Set the data object for an output port of the algorithm.
virtual void CopyDefaultInformation(vtkInformation *request, int direction, vtkInformationVector **inInfo, vtkInformationVector *outInfo)
static vtkInformationIntegerKey * FROM_OUTPUT_PORT()
Information key to store the output port number from which a request is made.
Superclass for all pipeline executives in VTK.
virtual int UpdateInformation()
Bring the output information up to date.
static vtkInformationExecutivePortVectorKey * CONSUMERS()
Information key to store the executive/port number pairs consuming an information object.
abstract base class for most VTK objects
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
int OutputPortIndexInRange(int port, const char *action)
void ReportReferences(vtkGarbageCollector *) override
static vtkInformationExecutivePortKey * PRODUCER()
Information key to store the executive/port number producing an information object.
a simple class to control print indentation
void UnRegister(vtkObjectBase *o) override
Decrease the reference count (release by another object).
vtkInformationVector * GetInputInformation(int port)
Get the pipeline information vectors for the given input port.
int GetNumberOfInputConnections(int port)
Get the number of input connections on the given port.
virtual vtkTypeBool Update(int port)
void SetSharedOutputInformation(vtkInformationVector *outInfoVec)
void Register(vtkObjectBase *o) override
Participate in garbage collection.
void SetSharedInputInformation(vtkInformationVector **inInfoVec)
Get the output port that produces the given data object.
Detect and break reference loops.
static vtkInformationKeyVectorKey * KEYS_TO_COPY()
virtual vtkInformation * GetOutputInformation(int port)
Get the pipeline information object for the given output port.
virtual int CallAlgorithm(vtkInformation *request, int direction, vtkInformationVector **inInfo, vtkInformationVector *outInfo)
An API to CallAlgorithm that allows you to pass in the info objects to be used.
virtual int ForwardUpstream(vtkInformation *request)
Proxy object to connect input/output ports.
virtual int ComputePipelineMTime(vtkInformation *request, vtkInformationVector **inInfoVec, vtkInformationVector *outInfoVec, int requestFromOutputPort, vtkMTimeType *mtime)
A special version of ProcessRequest meant specifically for the pipeline modified time request.
static vtkInformationIntegerKey * ALGORITHM_DIRECTION()
virtual vtkDataObject * GetInputData(int port, int connection)
Get the data object for an input port of the algorithm.
vtkInformation * GetInputInformation(int port, int connection)
Get the pipeline information for the given input connection.
vtkInformationVector * GetOutputInformation()
Get the pipeline information object for all output ports.
vtkAlgorithm * GetAlgorithm()
Get the algorithm to which this executive has been assigned.
static vtkInformationIntegerKey * FORWARD_DIRECTION()
vtkInformationVector ** GetInputInformation()
Get the pipeline information vectors for all inputs.
int CheckAlgorithm(const char *method, vtkInformation *request)
virtual void SetOutputData(int port, vtkDataObject *)
general representation of visualization data
int GetNumberOfOutputPorts()
virtual vtkTypeBool Update()
Bring the algorithm's outputs up-to-date.
virtual void ResetPipelineInformation(int port, vtkInformation *)=0
vtkTypeUInt32 vtkMTimeType
vtkExecutive * GetInputExecutive(int port, int connection)
Get the executive managing the given input connection.
virtual int ForwardDownstream(vtkInformation *request)
virtual int UpdateDataObject()=0
vtkInformationVector ** SharedInputInformation