VTK  9.4.20241230
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Friends | List of all members
vtkThreadedCompositeDataPipeline Class Reference

Executive that works in parallel. More...

#include <vtkThreadedCompositeDataPipeline.h>

Inheritance diagram for vtkThreadedCompositeDataPipeline:
[legend]
Collaboration diagram for vtkThreadedCompositeDataPipeline:
[legend]

Public Types

typedef vtkCompositeDataPipeline Superclass
 
- Public Types inherited from vtkCompositeDataPipeline
typedef vtkStreamingDemandDrivenPipeline Superclass
 
- Public Types inherited from vtkStreamingDemandDrivenPipeline
enum  NO_PRIOR_TEMPORAL_ACCESS_STATES { NO_PRIOR_TEMPORAL_ACCESS_CONTINUE = 1 , NO_PRIOR_TEMPORAL_ACCESS_RESET = 2 }
 States that the information key NO_PRIOR_TEMPORAL_ACCESS can have. More...
 
typedef vtkDemandDrivenPipeline Superclass
 
- Public Types inherited from vtkDemandDrivenPipeline
typedef vtkExecutive Superclass
 
- Public Types inherited from vtkExecutive
enum  { RequestUpstream , RequestDownstream }
 
enum  { BeforeForward , AfterForward }
 
typedef vtkObject Superclass
 

Public Member Functions

virtual vtkTypeBool IsA (const char *type)
 Return 1 if this class is the same type of (or a subclass of) the named class.
 
vtkThreadedCompositeDataPipelineNewInstance () const
 
void PrintSelf (ostream &os, vtkIndent indent) override
 Methods invoked by print to print information about the object including superclasses.
 
int CallAlgorithm (vtkInformation *request, int direction, vtkInformationVector **inInfo, vtkInformationVector *outInfo) override
 An API to CallAlgorithm that allows you to pass in the info objects to be used.
 
- Public Member Functions inherited from vtkCompositeDataPipeline
virtual vtkTypeBool IsA (const char *type)
 Return 1 if this class is the same type of (or a subclass of) the named class.
 
vtkCompositeDataPipelineNewInstance () const
 
void PrintSelf (ostream &os, vtkIndent indent) override
 Methods invoked by print to print information about the object including superclasses.
 
vtkDataObjectGetCompositeOutputData (int port)
 Returns the data object stored with the DATA_OBJECT() in the output port.
 
vtkDataObjectGetCompositeInputData (int port, int index, vtkInformationVector **inInfoVec)
 Returns the data object stored with the DATA_OBJECT() in the input port.
 
- Public Member Functions inherited from vtkStreamingDemandDrivenPipeline
virtual vtkTypeBool IsA (const char *type)
 Return 1 if this class is the same type of (or a subclass of) the named class.
 
vtkStreamingDemandDrivenPipelineNewInstance () const
 
void PrintSelf (ostream &os, vtkIndent indent) override
 Methods invoked by print to print information about the object including superclasses.
 
vtkTypeBool ProcessRequest (vtkInformation *request, vtkInformationVector **inInfo, vtkInformationVector *outInfo) override
 Generalized interface for asking the executive to fulfill update requests.
 
virtual vtkTypeBool Update (int port, vtkInformationVector *requests)
 This method enables the passing of data requests to the algorithm to be used during execution (in addition to bringing a particular port up-to-date).
 
int PropagateUpdateExtent (int outputPort)
 Propagate the update request from the given output port back through the pipeline.
 
vtkTypeBool Update () override
 Bring the outputs up-to-date.
 
vtkTypeBool Update (int port) override
 Bring the outputs up-to-date.
 
virtual vtkTypeBool UpdateWholeExtent ()
 Bring the outputs up-to-date.
 
int PropagateTime (int outputPort)
 Propagate time through the pipeline.
 
int UpdateTimeDependentInformation (int outputPort)
 Propagate time through the pipeline.
 
int SetRequestExactExtent (int port, int flag)
 This request flag indicates whether the requester can handle more data than requested for the given port.
 
int GetRequestExactExtent (int port)
 This request flag indicates whether the requester can handle more data than requested for the given port.
 
- Public Member Functions inherited from vtkDemandDrivenPipeline
virtual vtkTypeBool IsA (const char *type)
 Return 1 if this class is the same type of (or a subclass of) the named class.
 
vtkDemandDrivenPipelineNewInstance () const
 
void PrintSelf (ostream &os, vtkIndent indent) override
 Methods invoked by print to print information about the object including superclasses.
 
vtkTypeBool ProcessRequest (vtkInformation *request, vtkInformationVector **inInfo, vtkInformationVector *outInfo) override
 Generalized interface for asking the executive to fulfill update requests.
 
int ComputePipelineMTime (vtkInformation *request, vtkInformationVector **inInfoVec, vtkInformationVector *outInfoVec, int requestFromOutputPort, vtkMTimeType *mtime) override
 Implement the pipeline modified time request.
 
virtual int SetReleaseDataFlag (int port, vtkTypeBool n)
 Set whether the given output port releases data when it is consumed.
 
virtual vtkTypeBool GetReleaseDataFlag (int port)
 Get whether the given output port releases data when it is consumed.
 
virtual int UpdatePipelineMTime ()
 Bring the PipelineMTime up to date.
 
int UpdateDataObject () override
 Bring the output data object's existence up to date.
 
int UpdateInformation () override
 Bring the output information up to date.
 
virtual int UpdateData (int outputPort)
 Bring the output data up to date.
 
virtual vtkMTimeType GetPipelineMTime ()
 Get the PipelineMTime for this exective.
 
- Public Member Functions inherited from vtkExecutive
virtual vtkTypeBool IsA (const char *type)
 Return 1 if this class is the same type of (or a subclass of) the named class.
 
vtkExecutiveNewInstance () const
 
void PrintSelf (ostream &os, vtkIndent indent) override
 Methods invoked by print to print information about the object including superclasses.
 
vtkAlgorithmGetAlgorithm ()
 Get the algorithm to which this executive has been assigned.
 
virtual vtkTypeBool ProcessRequest (vtkInformation *request, vtkInformationVector **inInfo, vtkInformationVector *outInfo)
 Generalized interface for asking the executive to fulfill pipeline requests.
 
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.
 
virtual int UpdateInformation ()
 Bring the output information up to date.
 
int GetNumberOfInputConnections (int port)
 Get the number of input connections on the given port.
 
virtual vtkInformationGetOutputInformation (int port)
 Get the pipeline information object for the given output port.
 
vtkInformationVectorGetOutputInformation ()
 Get the pipeline information object for all output ports.
 
vtkInformationGetInputInformation (int port, int connection)
 Get the pipeline information for the given input connection.
 
vtkInformationVectorGetInputInformation (int port)
 Get the pipeline information vectors for the given input port.
 
vtkInformationVector ** GetInputInformation ()
 Get the pipeline information vectors for all inputs.
 
vtkExecutiveGetInputExecutive (int port, int connection)
 Get the executive managing the given input connection.
 
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.
 
int GetNumberOfInputPorts ()
 Get the number of input/output ports for the algorithm associated with this executive.
 
int GetNumberOfOutputPorts ()
 Get the number of input/output ports for the algorithm associated with this executive.
 
virtual vtkDataObjectGetOutputData (int port)
 Get/Set the data object for an output port of the algorithm.
 
virtual void SetOutputData (int port, vtkDataObject *, vtkInformation *info)
 Get/Set the data object for an output port of the algorithm.
 
virtual void SetOutputData (int port, vtkDataObject *)
 Get/Set the data object for an output port of the algorithm.
 
virtual vtkDataObjectGetInputData (int port, int connection)
 Get the data object for an input port of the algorithm.
 
virtual vtkDataObjectGetInputData (int port, int connection, vtkInformationVector **inInfoVec)
 Get the data object for an input port of the algorithm.
 
void SetSharedInputInformation (vtkInformationVector **inInfoVec)
 Get the output port that produces the given data object.
 
void SetSharedOutputInformation (vtkInformationVector *outInfoVec)
 Get the output port that produces the given data object.
 
bool UsesGarbageCollector () const override
 Participate in garbage collection.
 
- Public Member Functions inherited from vtkObject
 vtkBaseTypeMacro (vtkObject, vtkObjectBase)
 
virtual void DebugOn ()
 Turn debugging output on.
 
virtual void DebugOff ()
 Turn debugging output off.
 
bool GetDebug ()
 Get the value of the debug flag.
 
void SetDebug (bool debugFlag)
 Set the value of the debug flag.
 
virtual void Modified ()
 Update the modification time for this object.
 
virtual vtkMTimeType GetMTime ()
 Return this object's modified time.
 
void PrintSelf (ostream &os, vtkIndent indent) override
 Methods invoked by print to print information about the object including superclasses.
 
void RemoveObserver (unsigned long tag)
 
void RemoveObservers (unsigned long event)
 
void RemoveObservers (const char *event)
 
void RemoveAllObservers ()
 
vtkTypeBool HasObserver (unsigned long event)
 
vtkTypeBool HasObserver (const char *event)
 
vtkTypeBool InvokeEvent (unsigned long event)
 
vtkTypeBool InvokeEvent (const char *event)
 
std::string GetObjectDescription () const override
 The object description printed in messages and PrintSelf output.
 
unsigned long AddObserver (unsigned long event, vtkCommand *, float priority=0.0f)
 Allow people to add/remove/invoke observers (callbacks) to any VTK object.
 
unsigned long AddObserver (const char *event, vtkCommand *, float priority=0.0f)
 Allow people to add/remove/invoke observers (callbacks) to any VTK object.
 
vtkCommandGetCommand (unsigned long tag)
 Allow people to add/remove/invoke observers (callbacks) to any VTK object.
 
void RemoveObserver (vtkCommand *)
 Allow people to add/remove/invoke observers (callbacks) to any VTK object.
 
void RemoveObservers (unsigned long event, vtkCommand *)
 Allow people to add/remove/invoke observers (callbacks) to any VTK object.
 
void RemoveObservers (const char *event, vtkCommand *)
 Allow people to add/remove/invoke observers (callbacks) to any VTK object.
 
vtkTypeBool HasObserver (unsigned long event, vtkCommand *)
 Allow people to add/remove/invoke observers (callbacks) to any VTK object.
 
vtkTypeBool HasObserver (const char *event, vtkCommand *)
 Allow people to add/remove/invoke observers (callbacks) to any VTK object.
 
template<class U , class T >
unsigned long AddObserver (unsigned long event, U observer, void(T::*callback)(), float priority=0.0f)
 Overloads to AddObserver that allow developers to add class member functions as callbacks for events.
 
template<class U , class T >
unsigned long AddObserver (unsigned long event, U observer, void(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f)
 Overloads to AddObserver that allow developers to add class member functions as callbacks for events.
 
template<class U , class T >
unsigned long AddObserver (unsigned long event, U observer, bool(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f)
 Allow user to set the AbortFlagOn() with the return value of the callback method.
 
vtkTypeBool InvokeEvent (unsigned long event, void *callData)
 This method invokes an event and return whether the event was aborted or not.
 
vtkTypeBool InvokeEvent (const char *event, void *callData)
 This method invokes an event and return whether the event was aborted or not.
 
virtual void SetObjectName (const std::string &objectName)
 Set/get the name of this object for reporting purposes.
 
virtual std::string GetObjectName () const
 Set/get the name of this object for reporting purposes.
 
- Public Member Functions inherited from vtkObjectBase
const char * GetClassName () const
 Return the class name as a string.
 
virtual std::string GetObjectDescription () const
 The object description printed in messages and PrintSelf output.
 
virtual vtkTypeBool IsA (const char *name)
 Return 1 if this class is the same type of (or a subclass of) the named class.
 
virtual vtkIdType GetNumberOfGenerationsFromBase (const char *name)
 Given the name of a base class of this class type, return the distance of inheritance between this class type and the named class (how many generations of inheritance are there between this class and the named class).
 
virtual void Delete ()
 Delete a VTK object.
 
virtual void FastDelete ()
 Delete a reference to this object.
 
void InitializeObjectBase ()
 
void Print (ostream &os)
 Print an object to an ostream.
 
void Register (vtkObjectBase *o)
 Increase the reference count (mark as used by another object).
 
virtual void UnRegister (vtkObjectBase *o)
 Decrease the reference count (release by another object).
 
int GetReferenceCount ()
 Return the current reference count of this object.
 
void SetReferenceCount (int)
 Sets the reference count.
 
bool GetIsInMemkind () const
 A local state flag that remembers whether this object lives in the normal or extended memory space.
 
virtual void PrintHeader (ostream &os, vtkIndent indent)
 Methods invoked by print to print information about the object including superclasses.
 
virtual void PrintTrailer (ostream &os, vtkIndent indent)
 Methods invoked by print to print information about the object including superclasses.
 

Static Public Member Functions

static vtkThreadedCompositeDataPipelineNew ()
 
static vtkTypeBool IsTypeOf (const char *type)
 
static vtkThreadedCompositeDataPipelineSafeDownCast (vtkObjectBase *o)
 
- Static Public Member Functions inherited from vtkCompositeDataPipeline
static vtkCompositeDataPipelineNew ()
 
static vtkTypeBool IsTypeOf (const char *type)
 
static vtkCompositeDataPipelineSafeDownCast (vtkObjectBase *o)
 
static vtkInformationIntegerKeyLOAD_REQUESTED_BLOCKS ()
 An integer key that indicates to the source to load all requested blocks specified in UPDATE_COMPOSITE_INDICES.
 
static vtkInformationObjectBaseKeyCOMPOSITE_DATA_META_DATA ()
 COMPOSITE_DATA_META_DATA is a key placed in the output-port information by readers/sources producing composite datasets.
 
static vtkInformationIntegerVectorKeyUPDATE_COMPOSITE_INDICES ()
 UPDATE_COMPOSITE_INDICES is a key placed in the request to request a set of composite indices from a reader/source producing composite dataset.
 
static vtkInformationDoubleKeyBLOCK_AMOUNT_OF_DETAIL ()
 BLOCK_AMOUNT_OF_DETAIL is a key placed in the information about a multi-block dataset that indicates how complex the block is.
 
- Static Public Member Functions inherited from vtkStreamingDemandDrivenPipeline
static vtkStreamingDemandDrivenPipelineNew ()
 
static vtkTypeBool IsTypeOf (const char *type)
 
static vtkStreamingDemandDrivenPipelineSafeDownCast (vtkObjectBase *o)
 
static vtkInformationRequestKeyREQUEST_UPDATE_EXTENT ()
 Key defining a request to propagate the update extent upstream.
 
static vtkInformationRequestKeyREQUEST_UPDATE_TIME ()
 Key defining a request to propagate the update extent upstream.
 
static vtkInformationRequestKeyREQUEST_TIME_DEPENDENT_INFORMATION ()
 Key defining a request to make sure the meta information is up to date.
 
static vtkInformationIntegerKeyCONTINUE_EXECUTING ()
 Key for an algorithm to store in a request to tell this executive to keep executing it.
 
static vtkInformationIntegerKeyUPDATE_EXTENT_INITIALIZED ()
 Keys to store an update request in pipeline information.
 
static vtkInformationIntegerVectorKeyUPDATE_EXTENT ()
 
static vtkInformationIntegerKeyUPDATE_PIECE_NUMBER ()
 
static vtkInformationIntegerKeyUPDATE_NUMBER_OF_PIECES ()
 
static vtkInformationIntegerKeyUPDATE_NUMBER_OF_GHOST_LEVELS ()
 
static vtkInformationIntegerVectorKeyCOMBINED_UPDATE_EXTENT ()
 Key for combining the update extents requested by all consumers, so that the final extent that is produced satisfies all consumers.
 
static vtkInformationIntegerVectorKeyWHOLE_EXTENT ()
 Key to store the whole extent provided in pipeline information.
 
static vtkInformationIntegerKeyUNRESTRICTED_UPDATE_EXTENT ()
 This is set if the update extent is not restricted to the whole extent, for sources that can generate an extent of any requested size.
 
static vtkInformationIntegerKeyEXACT_EXTENT ()
 Key to specify the request for exact extent in pipeline information.
 
static vtkInformationDoubleVectorKeyTIME_STEPS ()
 Key to store available time steps.
 
static vtkInformationDoubleVectorKeyTIME_RANGE ()
 Key to store available time range for continuous sources.
 
static vtkInformationDoubleKeyUPDATE_TIME_STEP ()
 Update time steps requested by the pipeline.
 
static vtkInformationIntegerKeyTIME_DEPENDENT_INFORMATION ()
 Whether there are time dependent meta information if there is, the pipeline will perform two extra passes to gather the time dependent information.
 
static vtkInformationDoubleVectorKeyBOUNDS ()
 key to record the bounds of a dataset.
 
static vtkInformationIntegerKeyNO_PRIOR_TEMPORAL_ACCESS ()
 Key to tell whether the data has all its time steps generated.
 
static int SetWholeExtent (vtkInformation *, int extent[6])
 Set/Get the whole extent of an output port.
 
static void GetWholeExtent (vtkInformation *, int extent[6])
 Set/Get the whole extent of an output port.
 
static int * GetWholeExtent (vtkInformation *)
 Set/Get the whole extent of an output port.
 
static void GetUpdateExtent (vtkInformation *, int extent[6])
 Get/Set the update extent for output ports that use 3D extents.
 
static int * GetUpdateExtent (vtkInformation *)
 Get/Set the update extent for output ports that use 3D extents.
 
static int GetUpdatePiece (vtkInformation *)
 Set/Get the update piece, update number of pieces, and update number of ghost levels for an output port.
 
static int GetUpdateNumberOfPieces (vtkInformation *)
 Set/Get the update piece, update number of pieces, and update number of ghost levels for an output port.
 
static int GetUpdateGhostLevel (vtkInformation *)
 Set/Get the update piece, update number of pieces, and update number of ghost levels for an output port.
 
- Static Public Member Functions inherited from vtkDemandDrivenPipeline
static vtkDemandDrivenPipelineNew ()
 
static vtkTypeBool IsTypeOf (const char *type)
 
static vtkDemandDrivenPipelineSafeDownCast (vtkObjectBase *o)
 
static vtkInformationRequestKeyREQUEST_DATA_OBJECT ()
 Key defining a request to make sure the output data objects exist.
 
static vtkInformationRequestKeyREQUEST_INFORMATION ()
 Key defining a request to make sure the output information is up to date.
 
static vtkInformationRequestKeyREQUEST_DATA ()
 Key defining a request to make sure the output data are up to date.
 
static vtkInformationRequestKeyREQUEST_DATA_NOT_GENERATED ()
 Key defining a request to mark outputs that will NOT be generated during a REQUEST_DATA.
 
static vtkInformationIntegerKeyRELEASE_DATA ()
 Key to specify in pipeline information the request that data be released after it is used.
 
static vtkInformationIntegerKeyDATA_NOT_GENERATED ()
 Key to store a mark for an output that will not be generated.
 
static vtkDataObjectNewDataObject (const char *type)
 Create (New) and return a data object of the given type.
 
- Static Public Member Functions inherited from vtkExecutive
static vtkTypeBool IsTypeOf (const char *type)
 
static vtkExecutiveSafeDownCast (vtkObjectBase *o)
 
static vtkInformationExecutivePortKeyPRODUCER ()
 Information key to store the executive/port number producing an information object.
 
static vtkInformationExecutivePortVectorKeyCONSUMERS ()
 Information key to store the executive/port number pairs consuming an information object.
 
static vtkInformationIntegerKeyFROM_OUTPUT_PORT ()
 Information key to store the output port number from which a request is made.
 
static vtkInformationIntegerKeyALGORITHM_BEFORE_FORWARD ()
 Keys to program vtkExecutive::ProcessRequest with the default behavior for unknown requests.
 
static vtkInformationIntegerKeyALGORITHM_AFTER_FORWARD ()
 Keys to program vtkExecutive::ProcessRequest with the default behavior for unknown requests.
 
static vtkInformationIntegerKeyALGORITHM_DIRECTION ()
 Keys to program vtkExecutive::ProcessRequest with the default behavior for unknown requests.
 
static vtkInformationIntegerKeyFORWARD_DIRECTION ()
 Keys to program vtkExecutive::ProcessRequest with the default behavior for unknown requests.
 
static vtkInformationKeyVectorKeyKEYS_TO_COPY ()
 Keys to program vtkExecutive::ProcessRequest with the default behavior for unknown requests.
 
- Static Public Member Functions inherited from vtkObject
static vtkObjectNew ()
 Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
 
static void BreakOnError ()
 This method is called when vtkErrorMacro executes.
 
static void SetGlobalWarningDisplay (vtkTypeBool val)
 This is a global flag that controls whether any debug, warning or error messages are displayed.
 
static void GlobalWarningDisplayOn ()
 This is a global flag that controls whether any debug, warning or error messages are displayed.
 
static void GlobalWarningDisplayOff ()
 This is a global flag that controls whether any debug, warning or error messages are displayed.
 
static vtkTypeBool GetGlobalWarningDisplay ()
 This is a global flag that controls whether any debug, warning or error messages are displayed.
 
- Static Public Member Functions inherited from vtkObjectBase
static vtkTypeBool IsTypeOf (const char *name)
 Return 1 if this class type is the same type of (or a subclass of) the named class.
 
static vtkIdType GetNumberOfGenerationsFromBaseType (const char *name)
 Given a the name of a base class of this class type, return the distance of inheritance between this class type and the named class (how many generations of inheritance are there between this class and the named class).
 
static vtkObjectBaseNew ()
 Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
 
static void SetMemkindDirectory (const char *directoryname)
 The name of a directory, ideally mounted -o dax, to memory map an extended memory space within.
 
static bool GetUsingMemkind ()
 A global state flag that controls whether vtkObjects are constructed in the usual way (the default) or within the extended memory space.
 

Protected Member Functions

virtual vtkObjectBaseNewInstanceInternal () const
 
 vtkThreadedCompositeDataPipeline ()
 
 ~vtkThreadedCompositeDataPipeline () override
 
void ExecuteEach (vtkCompositeDataIterator *iter, vtkInformationVector **inInfoVec, vtkInformationVector *outInfoVec, int compositePort, int connection, vtkInformation *request, std::vector< vtkSmartPointer< vtkCompositeDataSet > > &compositeOutput) override
 
- Protected Member Functions inherited from vtkCompositeDataPipeline
virtual vtkObjectBaseNewInstanceInternal () const
 
 vtkCompositeDataPipeline ()
 
 ~vtkCompositeDataPipeline () override
 
int ForwardUpstream (vtkInformation *request) override
 
virtual int ForwardUpstream (int i, int j, vtkInformation *request)
 
void CopyDefaultInformation (vtkInformation *request, int direction, vtkInformationVector **inInfoVec, vtkInformationVector *outInfoVec) override
 
virtual void PushInformation (vtkInformation *)
 
virtual void PopInformation (vtkInformation *)
 
int ExecuteDataObject (vtkInformation *request, vtkInformationVector **inInfo, vtkInformationVector *outInfo) override
 
int ExecuteData (vtkInformation *request, vtkInformationVector **inInfoVec, vtkInformationVector *outInfoVec) override
 
void ExecuteDataStart (vtkInformation *request, vtkInformationVector **inInfoVec, vtkInformationVector *outInfoVec) override
 
int NeedToExecuteData (int outputPort, vtkInformationVector **inInfoVec, vtkInformationVector *outInfoVec) override
 
virtual int CheckCompositeData (vtkInformation *request, vtkInformationVector **inInfoVec, vtkInformationVector *outInfoVec)
 
virtual void ExecuteSimpleAlgorithm (vtkInformation *request, vtkInformationVector **inInfoVec, vtkInformationVector *outInfoVec, int compositePort)
 
virtual void ExecuteEach (vtkCompositeDataIterator *iter, vtkInformationVector **inInfoVec, vtkInformationVector *outInfoVec, int compositePort, int connection, vtkInformation *request, std::vector< vtkSmartPointer< vtkCompositeDataSet > > &compositeOutput)
 
std::vector< vtkDataObject * > ExecuteSimpleAlgorithmForBlock (vtkInformationVector **inInfoVec, vtkInformationVector *outInfoVec, vtkInformation *inInfo, vtkInformation *request, vtkDataObject *dobj)
 
bool ShouldIterateOverInput (vtkInformationVector **inInfoVec, int &compositePort)
 
int InputTypeIsValid (int port, int index, vtkInformationVector **inInfoVec) override
 
void ResetPipelineInformation (int port, vtkInformation *) override
 
std::vector< vtkSmartPointer< vtkDataObject > > CreateOutputCompositeDataSet (vtkCompositeDataSet *input, int compositePort, int numOutputPorts)
 Tries to create the best possible composite data output for the given input and non-composite algorithm output.
 
void MarkOutputsGenerated (vtkInformation *request, vtkInformationVector **inInfoVec, vtkInformationVector *outInfoVec) override
 
int NeedToExecuteBasedOnCompositeIndices (vtkInformation *outInfo)
 
- Protected Member Functions inherited from vtkStreamingDemandDrivenPipeline
virtual vtkObjectBaseNewInstanceInternal () const
 
 vtkStreamingDemandDrivenPipeline ()
 
 ~vtkStreamingDemandDrivenPipeline () override
 
virtual int NeedToExecuteBasedOnTime (vtkInformation *outInfo, vtkDataObject *dataObject)
 
int ExecuteInformation (vtkInformation *request, vtkInformationVector **inInfoVec, vtkInformationVector *outInfoVec) override
 
void CopyDefaultInformation (vtkInformation *request, int direction, vtkInformationVector **inInfoVec, vtkInformationVector *outInfoVec) override
 
virtual int VerifyOutputInformation (int outputPort, vtkInformationVector **inInfoVec, vtkInformationVector *outInfoVec)
 
int NeedToExecuteData (int outputPort, vtkInformationVector **inInfoVec, vtkInformationVector *outInfoVec) override
 
void ExecuteDataStart (vtkInformation *request, vtkInformationVector **inInfoVec, vtkInformationVector *outInfoVec) override
 
void ExecuteDataEnd (vtkInformation *request, vtkInformationVector **inInfoVec, vtkInformationVector *outInfoVec) override
 
void MarkOutputsGenerated (vtkInformation *request, vtkInformationVector **inInfoVec, vtkInformationVector *outInfoVec) override
 
void ResetPipelineInformation (int port, vtkInformation *) override
 
- Protected Member Functions inherited from vtkDemandDrivenPipeline
virtual vtkObjectBaseNewInstanceInternal () const
 
 vtkDemandDrivenPipeline ()
 
 ~vtkDemandDrivenPipeline () override
 
virtual int ExecuteDataObject (vtkInformation *request, vtkInformationVector **inInfo, vtkInformationVector *outInfo)
 
virtual int ExecuteInformation (vtkInformation *request, vtkInformationVector **inInfo, vtkInformationVector *outInfo)
 
virtual int ExecuteData (vtkInformation *request, vtkInformationVector **inInfo, vtkInformationVector *outInfo)
 
void ResetPipelineInformation (int, vtkInformation *) override
 
virtual int CheckDataObject (int port, vtkInformationVector *outInfo)
 
int InputCountIsValid (vtkInformationVector **)
 
int InputCountIsValid (int port, vtkInformationVector **)
 
int InputTypeIsValid (vtkInformationVector **)
 
int InputTypeIsValid (int port, vtkInformationVector **)
 
virtual int InputTypeIsValid (int port, int index, vtkInformationVector **)
 
int InputFieldsAreValid (vtkInformationVector **)
 
int InputFieldsAreValid (int port, vtkInformationVector **)
 
virtual int InputFieldsAreValid (int port, int index, vtkInformationVector **)
 
int DataSetAttributeExists (vtkDataSetAttributes *dsa, vtkInformation *field)
 
int FieldArrayExists (vtkFieldData *data, vtkInformation *field)
 
int ArrayIsValid (vtkAbstractArray *array, vtkInformation *field)
 
int InputIsOptional (int port)
 
int InputIsRepeatable (int port)
 
virtual int NeedToExecuteData (int outputPort, vtkInformationVector **inInfoVec, vtkInformationVector *outInfoVec)
 
virtual void ExecuteDataStart (vtkInformation *request, vtkInformationVector **inInfoVec, vtkInformationVector *outInfoVec)
 
virtual void ExecuteDataEnd (vtkInformation *request, vtkInformationVector **inInfoVec, vtkInformationVector *outInfoVec)
 
virtual void MarkOutputsGenerated (vtkInformation *request, vtkInformationVector **inInfoVec, vtkInformationVector *outInfoVec)
 
- Protected Member Functions inherited from vtkExecutive
virtual vtkObjectBaseNewInstanceInternal () const
 
 vtkExecutive ()
 
 ~vtkExecutive () override
 
int InputPortIndexInRange (int port, const char *action)
 
int OutputPortIndexInRange (int port, const char *action)
 
int CheckAlgorithm (const char *method, vtkInformation *request)
 
bool CheckAbortedInput (vtkInformationVector **inInfoVec)
 Checks to see if an inputs have ABORTED set.
 
virtual int ForwardDownstream (vtkInformation *request)
 
virtual int ForwardUpstream (vtkInformation *request)
 
virtual void CopyDefaultInformation (vtkInformation *request, int direction, vtkInformationVector **inInfo, vtkInformationVector *outInfo)
 
virtual void ResetPipelineInformation (int port, vtkInformation *)=0
 
virtual int UpdateDataObject ()=0
 
void ReportReferences (vtkGarbageCollector *) override
 
virtual void SetAlgorithm (vtkAlgorithm *algorithm)
 
- Protected Member Functions inherited from vtkObject
 vtkObject ()
 
 ~vtkObject () override
 
void RegisterInternal (vtkObjectBase *, vtkTypeBool check) override
 
void UnRegisterInternal (vtkObjectBase *, vtkTypeBool check) override
 
void InternalGrabFocus (vtkCommand *mouseEvents, vtkCommand *keypressEvents=nullptr)
 These methods allow a command to exclusively grab all events.
 
void InternalReleaseFocus ()
 These methods allow a command to exclusively grab all events.
 
- Protected Member Functions inherited from vtkObjectBase
 vtkObjectBase ()
 
virtual ~vtkObjectBase ()
 
virtual void RegisterInternal (vtkObjectBase *, vtkTypeBool check)
 
virtual void UnRegisterInternal (vtkObjectBase *, vtkTypeBool check)
 
virtual void ReportReferences (vtkGarbageCollector *)
 
virtual void ObjectFinalize ()
 
 vtkObjectBase (const vtkObjectBase &)
 
void operator= (const vtkObjectBase &)
 

Friends

class ProcessBlock
 

Additional Inherited Members

- Static Protected Member Functions inherited from vtkCompositeDataPipeline
static vtkInformationIntegerKeySUPPRESS_RESET_PI ()
 
static vtkInformationIntegerVectorKeyDATA_COMPOSITE_INDICES ()
 COMPOSITE_INDICES() is put in the output information by the executive if the request has UPDATE_COMPOSITE_INDICES() using the generated composite dataset's structure.
 
- Static Protected Member Functions inherited from vtkStreamingDemandDrivenPipeline
static vtkInformationDoubleKeyPREVIOUS_UPDATE_TIME_STEP ()
 Keep track of the update time request corresponding to the previous executing.
 
- Static Protected Member Functions inherited from vtkObjectBase
static vtkMallocingFunction GetCurrentMallocFunction ()
 
static vtkReallocingFunction GetCurrentReallocFunction ()
 
static vtkFreeingFunction GetCurrentFreeFunction ()
 
static vtkFreeingFunction GetAlternateFreeFunction ()
 
- Protected Attributes inherited from vtkCompositeDataPipeline
int InLocalLoop
 
vtkInformationInformationCache
 
vtkInformationGenericRequest
 
vtkInformationInformationRequest
 
- Protected Attributes inherited from vtkStreamingDemandDrivenPipeline
int ContinueExecuting
 
vtkInformationUpdateExtentRequest
 
vtkInformationUpdateTimeRequest
 
vtkInformationTimeDependentInformationRequest
 
vtkInformationIteratorInformationIterator
 
int LastPropogateUpdateExtentShortCircuited
 
- Protected Attributes inherited from vtkDemandDrivenPipeline
vtkMTimeType PipelineMTime
 
vtkTimeStamp DataObjectTime
 
vtkTimeStamp InformationTime
 
vtkTimeStamp DataTime
 
vtkInformationInfoRequest
 
vtkInformationDataObjectRequest
 
vtkInformationDataRequest
 
- Protected Attributes inherited from vtkExecutive
vtkAlgorithmAlgorithm
 
int InAlgorithm
 
vtkInformationVector ** SharedInputInformation
 
vtkInformationVectorSharedOutputInformation
 
- Protected Attributes inherited from vtkObject
bool Debug
 
vtkTimeStamp MTime
 
vtkSubjectHelper * SubjectHelper
 
std::string ObjectName
 
- Protected Attributes inherited from vtkObjectBase
std::atomic< int32_t > ReferenceCount
 
vtkWeakPointerBase ** WeakPointers
 

Detailed Description

Executive that works in parallel.

vtkThreadedCompositeDataPipeline processes a composite data object in parallel using the SMP framework. It does this by creating a vector of data objects (the pieces of the composite data) and processing them using vtkSMPTools::For. Note that this requires that the algorithm implement all pipeline passes in a re-entrant way. It should store/retrieve all state changes using input and output information objects, which are unique to each thread.

Tests:
vtkThreadedCompositeDataPipeline (Tests)

Definition at line 29 of file vtkThreadedCompositeDataPipeline.h.

Member Typedef Documentation

◆ Superclass

Definition at line 34 of file vtkThreadedCompositeDataPipeline.h.

Constructor & Destructor Documentation

◆ vtkThreadedCompositeDataPipeline()

vtkThreadedCompositeDataPipeline::vtkThreadedCompositeDataPipeline ( )
protected

◆ ~vtkThreadedCompositeDataPipeline()

vtkThreadedCompositeDataPipeline::~vtkThreadedCompositeDataPipeline ( )
overrideprotected

Member Function Documentation

◆ New()

static vtkThreadedCompositeDataPipeline * vtkThreadedCompositeDataPipeline::New ( )
static

◆ IsTypeOf()

static vtkTypeBool vtkThreadedCompositeDataPipeline::IsTypeOf ( const char *  type)
static

◆ IsA()

virtual vtkTypeBool vtkThreadedCompositeDataPipeline::IsA ( const char *  name)
virtual

Return 1 if this class is the same type of (or a subclass of) the named class.

Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkCompositeDataPipeline.

◆ SafeDownCast()

static vtkThreadedCompositeDataPipeline * vtkThreadedCompositeDataPipeline::SafeDownCast ( vtkObjectBase o)
static

◆ NewInstanceInternal()

virtual vtkObjectBase * vtkThreadedCompositeDataPipeline::NewInstanceInternal ( ) const
protectedvirtual

Reimplemented from vtkCompositeDataPipeline.

◆ NewInstance()

vtkThreadedCompositeDataPipeline * vtkThreadedCompositeDataPipeline::NewInstance ( ) const

◆ PrintSelf()

void vtkThreadedCompositeDataPipeline::PrintSelf ( ostream &  os,
vtkIndent  indent 
)
overridevirtual

Methods invoked by print to print information about the object including superclasses.

Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.

Reimplemented from vtkCompositeDataPipeline.

◆ CallAlgorithm()

int vtkThreadedCompositeDataPipeline::CallAlgorithm ( vtkInformation request,
int  direction,
vtkInformationVector **  inInfo,
vtkInformationVector outInfo 
)
overridevirtual

An API to CallAlgorithm that allows you to pass in the info objects to be used.

Reimplemented from vtkExecutive.

◆ ExecuteEach()

void vtkThreadedCompositeDataPipeline::ExecuteEach ( vtkCompositeDataIterator iter,
vtkInformationVector **  inInfoVec,
vtkInformationVector outInfoVec,
int  compositePort,
int  connection,
vtkInformation request,
std::vector< vtkSmartPointer< vtkCompositeDataSet > > &  compositeOutput 
)
overrideprotectedvirtual

Reimplemented from vtkCompositeDataPipeline.

Friends And Related Symbol Documentation

◆ ProcessBlock

friend class ProcessBlock
friend

Definition at line 54 of file vtkThreadedCompositeDataPipeline.h.


The documentation for this class was generated from the following file: