VTK
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Static Protected Member Functions | Protected Attributes | List of all members
vtkStreamingDemandDrivenPipeline Class Reference

Executive supporting partial updates. More...

#include <vtkStreamingDemandDrivenPipeline.h>

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

Public Types

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 int IsA (const char *type)
 Return 1 if this class is the same type of (or a subclass of) the named class. More...
 
vtkStreamingDemandDrivenPipeline * NewInstance () const
 
void PrintSelf (ostream &os, vtkIndent indent) override
 Methods invoked by print to print information about the object including superclasses. More...
 
int ProcessRequest (vtkInformation *request, vtkInformationVector **inInfo, vtkInformationVector *outInfo) override
 Generalized interface for asking the executive to fulfill update requests. More...
 
int Update () override
 Bring the outputs up-to-date. More...
 
int Update (int port) override
 
virtual int UpdateWholeExtent ()
 
virtual int 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). More...
 
int PropagateUpdateExtent (int outputPort)
 Propagate the update request from the given output port back through the pipeline. More...
 
int PropagateTime (int outputPort)
 Propagate time through the pipeline. More...
 
int UpdateTimeDependentInformation (int outputPort)
 
int SetRequestExactExtent (int port, int flag)
 This request flag indicates whether the requester can handle more data than requested for the given port. More...
 
int GetRequestExactExtent (int port)
 
int SetUpdateExtentToWholeExtent (int port)
 If the whole input extent is required to generate the requested output extent, this method can be called to set the input update extent to the whole input extent. More...
 
int SetUpdateExtent (int port, int extent[6])
 Get/Set the update extent for output ports that use 3D extents. More...
 
int SetUpdateExtent (int port, int x0, int x1, int y0, int y1, int z0, int z1)
 
int SetUpdateExtent (int port, int piece, int numPieces, int ghostLevel)
 Set/Get the update piece, update number of pieces, and update number of ghost levels for an output port. More...
 
int SetUpdateTimeStep (int port, double time)
 Get/Set the update extent for output ports that use Temporal Extents. More...
 
- Public Member Functions inherited from vtkDemandDrivenPipeline
vtkDemandDrivenPipeline * NewInstance () const
 
int ComputePipelineMTime (vtkInformation *request, vtkInformationVector **inInfoVec, vtkInformationVector *outInfoVec, int requestFromOutputPort, vtkMTimeType *mtime) override
 Implement the pipeline modified time request. More...
 
virtual vtkMTimeType GetPipelineMTime ()
 Get the PipelineMTime for this exective. More...
 
virtual int SetReleaseDataFlag (int port, int n)
 Set whether the given output port releases data when it is consumed. More...
 
virtual int GetReleaseDataFlag (int port)
 Get whether the given output port releases data when it is consumed. More...
 
virtual int UpdatePipelineMTime ()
 Bring the PipelineMTime up to date. More...
 
int UpdateDataObject () override
 Bring the output data object's existence up to date. More...
 
int UpdateInformation () override
 Bring the output information up to date. More...
 
virtual int UpdateData (int outputPort)
 Bring the output data up to date. More...
 
- Public Member Functions inherited from vtkExecutive
vtkExecutive * NewInstance () const
 
vtkAlgorithm * GetAlgorithm ()
 Get the algorithm to which this executive has been assigned. More...
 
int GetNumberOfInputPorts ()
 Get the number of input/output ports for the algorithm associated with this executive. More...
 
int GetNumberOfOutputPorts ()
 
int GetNumberOfInputConnections (int port)
 Get the number of input connections on the given port. More...
 
virtual vtkInformation * GetOutputInformation (int port)
 Get the pipeline information object for the given output port. More...
 
vtkInformationVector * GetOutputInformation ()
 Get the pipeline information object for all output ports. More...
 
vtkInformation * GetInputInformation (int port, int connection)
 Get the pipeline information for the given input connection. More...
 
vtkInformationVector * GetInputInformation (int port)
 Get the pipeline information vectors for the given input port. More...
 
vtkInformationVector ** GetInputInformation ()
 Get the pipeline information vectors for all inputs. More...
 
vtkExecutive * GetInputExecutive (int port, int connection)
 Get the executive managing the given input connection. More...
 
virtual vtkDataObject * GetOutputData (int port)
 Get/Set the data object for an output port of the algorithm. More...
 
virtual void SetOutputData (int port, vtkDataObject *, vtkInformation *info)
 
virtual void SetOutputData (int port, vtkDataObject *)
 
virtual vtkDataObject * GetInputData (int port, int connection)
 Get the data object for an input port of the algorithm. More...
 
virtual vtkDataObject * GetInputData (int port, int connection, vtkInformationVector **inInfoVec)
 
void SetSharedInputInformation (vtkInformationVector **inInfoVec)
 Get the output port that produces the given data object. More...
 
void SetSharedOutputInformation (vtkInformationVector *outInfoVec)
 
void Register (vtkObjectBase *o) override
 Participate in garbage collection. More...
 
void UnRegister (vtkObjectBase *o) override
 Decrease the reference count (release by another object). More...
 
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. More...
 
- Public Member Functions inherited from vtkObject
 vtkBaseTypeMacro (vtkObject, vtkObjectBase)
 
virtual void DebugOn ()
 Turn debugging output on. More...
 
virtual void DebugOff ()
 Turn debugging output off. More...
 
bool GetDebug ()
 Get the value of the debug flag. More...
 
void SetDebug (bool debugFlag)
 Set the value of the debug flag. More...
 
virtual void Modified ()
 Update the modification time for this object. More...
 
virtual vtkMTimeType GetMTime ()
 Return this object's modified time. More...
 
unsigned long AddObserver (unsigned long event, vtkCommand *, float priority=0.0f)
 Allow people to add/remove/invoke observers (callbacks) to any VTK object. More...
 
unsigned long AddObserver (const char *event, vtkCommand *, float priority=0.0f)
 
vtkCommand * GetCommand (unsigned long tag)
 
void RemoveObserver (vtkCommand *)
 
void RemoveObservers (unsigned long event, vtkCommand *)
 
void RemoveObservers (const char *event, vtkCommand *)
 
int HasObserver (unsigned long event, vtkCommand *)
 
int HasObserver (const char *event, vtkCommand *)
 
void RemoveObserver (unsigned long tag)
 
void RemoveObservers (unsigned long event)
 
void RemoveObservers (const char *event)
 
void RemoveAllObservers ()
 
int HasObserver (unsigned long event)
 
int HasObserver (const char *event)
 
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. More...
 
template<class U , class T >
unsigned long AddObserver (unsigned long event, U observer, void(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f)
 
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. More...
 
int InvokeEvent (unsigned long event, void *callData)
 This method invokes an event and return whether the event was aborted or not. More...
 
int InvokeEvent (const char *event, void *callData)
 
int InvokeEvent (unsigned long event)
 
int InvokeEvent (const char *event)
 
- Public Member Functions inherited from vtkObjectBase
const char * GetClassName () const
 Return the class name as a string. More...
 
virtual void Delete ()
 Delete a VTK object. More...
 
virtual void FastDelete ()
 Delete a reference to this object. More...
 
void InitializeObjectBase ()
 
void Print (ostream &os)
 Print an object to an ostream. More...
 
virtual void PrintHeader (ostream &os, vtkIndent indent)
 
virtual void PrintTrailer (ostream &os, vtkIndent indent)
 
int GetReferenceCount ()
 Return the current reference count of this object. More...
 
void SetReferenceCount (int)
 Sets the reference count. More...
 
void PrintRevisions (ostream &)
 Legacy. More...
 

Static Public Member Functions

static vtkStreamingDemandDrivenPipeline * New ()
 
static int IsTypeOf (const char *type)
 
static vtkStreamingDemandDrivenPipeline * SafeDownCast (vtkObjectBase *o)
 
static int SetWholeExtent (vtkInformation *, int extent[6])
 Set/Get the whole extent of an output port. More...
 
static void GetWholeExtent (vtkInformation *, int extent[6])
 
static int * GetWholeExtent (vtkInformation *)
 
static vtkInformationRequestKey * REQUEST_UPDATE_EXTENT ()
 Key defining a request to propagate the update extent upstream. More...
 
static vtkInformationRequestKey * REQUEST_UPDATE_TIME ()
 Key defining a request to propagate the update extent upstream. More...
 
static vtkInformationRequestKey * REQUEST_TIME_DEPENDENT_INFORMATION ()
 Key defining a request to make sure the meta information is up to date. More...
 
static vtkInformationIntegerKey * CONTINUE_EXECUTING ()
 Key for an algorithm to store in a request to tell this executive to keep executing it. More...
 
static vtkInformationIntegerKey * UPDATE_EXTENT_INITIALIZED ()
 Keys to store an update request in pipeline information. More...
 
static vtkInformationIntegerVectorKey * UPDATE_EXTENT ()
 
static vtkInformationIntegerKey * UPDATE_PIECE_NUMBER ()
 
static vtkInformationIntegerKey * UPDATE_NUMBER_OF_PIECES ()
 
static vtkInformationIntegerKey * UPDATE_NUMBER_OF_GHOST_LEVELS ()
 
static vtkInformationIntegerVectorKey * COMBINED_UPDATE_EXTENT ()
 Key for combining the update extents requested by all consumers, so that the final extent that is produced satisfies all consumers. More...
 
static vtkInformationIntegerVectorKey * WHOLE_EXTENT ()
 Key to store the whole extent provided in pipeline information. More...
 
static vtkInformationIntegerKey * UNRESTRICTED_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. More...
 
static vtkInformationIntegerKey * EXACT_EXTENT ()
 Key to specify the request for exact extent in pipeline information. More...
 
static vtkInformationDoubleVectorKey * TIME_STEPS ()
 Key to store available time steps. More...
 
static vtkInformationDoubleVectorKey * TIME_RANGE ()
 Key to store available time range for continuous sources. More...
 
static vtkInformationDoubleKey * UPDATE_TIME_STEP ()
 Update time steps requested by the pipeline. More...
 
static vtkInformationIntegerKey * TIME_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. More...
 
static vtkInformationDoubleVectorKey * BOUNDS ()
 key to record the bounds of a dataset. More...
 
static int SetUpdateExtentToWholeExtent (vtkInformation *)
 
static int SetUpdateExtent (vtkInformation *, int extent[6])
 
static void GetUpdateExtent (vtkInformation *, int extent[6])
 
static int * GetUpdateExtent (vtkInformation *)
 
static int SetUpdateExtent (vtkInformation *, int piece, int numPieces, int ghostLevel)
 
static int SetUpdatePiece (vtkInformation *, int piece)
 
static int GetUpdatePiece (vtkInformation *)
 
static int SetUpdateNumberOfPieces (vtkInformation *, int n)
 
static int GetUpdateNumberOfPieces (vtkInformation *)
 
static int SetUpdateGhostLevel (vtkInformation *, int n)
 
static int GetUpdateGhostLevel (vtkInformation *)
 
static int SetUpdateTimeStep (vtkInformation *, double time)
 
- Static Public Member Functions inherited from vtkDemandDrivenPipeline
static vtkDemandDrivenPipeline * New ()
 
static int IsTypeOf (const char *type)
 
static vtkDemandDrivenPipeline * SafeDownCast (vtkObjectBase *o)
 
static vtkInformationRequestKey * REQUEST_DATA_OBJECT ()
 Key defining a request to make sure the output data objects exist. More...
 
static vtkInformationRequestKey * REQUEST_INFORMATION ()
 Key defining a request to make sure the output information is up to date. More...
 
static vtkInformationRequestKey * REQUEST_DATA ()
 Key defining a request to make sure the output data are up to date. More...
 
static vtkInformationRequestKey * REQUEST_DATA_NOT_GENERATED ()
 Key defining a request to mark outputs that will NOT be generated during a REQUEST_DATA. More...
 
static vtkInformationIntegerKey * RELEASE_DATA ()
 Key to specify in pipeline information the request that data be released after it is used. More...
 
static vtkInformationIntegerKey * DATA_NOT_GENERATED ()
 Key to store a mark for an output that will not be generated. More...
 
static vtkDataObject * NewDataObject (const char *type)
 Create (New) and return a data object of the given type. More...
 
- Static Public Member Functions inherited from vtkExecutive
static int IsTypeOf (const char *type)
 
static vtkExecutive * SafeDownCast (vtkObjectBase *o)
 
static vtkInformationExecutivePortKey * PRODUCER ()
 Information key to store the executive/port number producing an information object. More...
 
static vtkInformationExecutivePortVectorKey * CONSUMERS ()
 Information key to store the executive/port number pairs consuming an information object. More...
 
static vtkInformationIntegerKey * FROM_OUTPUT_PORT ()
 Information key to store the output port number from which a request is made. More...
 
static vtkInformationIntegerKey * ALGORITHM_BEFORE_FORWARD ()
 Keys to program vtkExecutive::ProcessRequest with the default behavior for unknown requests. More...
 
static vtkInformationIntegerKey * ALGORITHM_AFTER_FORWARD ()
 
static vtkInformationIntegerKey * ALGORITHM_DIRECTION ()
 
static vtkInformationIntegerKey * FORWARD_DIRECTION ()
 
static vtkInformationKeyVectorKey * KEYS_TO_COPY ()
 
- Static Public Member Functions inherited from vtkObject
static vtkObject * New ()
 Create an object with Debug turned off, modified time initialized to zero, and reference counting on. More...
 
static void BreakOnError ()
 This method is called when vtkErrorMacro executes. More...
 
static void SetGlobalWarningDisplay (int val)
 This is a global flag that controls whether any debug, warning or error messages are displayed. More...
 
static void GlobalWarningDisplayOn ()
 
static void GlobalWarningDisplayOff ()
 
static int GetGlobalWarningDisplay ()
 
- 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. More...
 
static vtkObjectBase * New ()
 Create an object with Debug turned off, modified time initialized to zero, and reference counting on. More...
 

Protected Member Functions

virtual vtkObjectBase * NewInstanceInternal () 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
 vtkDemandDrivenPipeline ()
 
 ~vtkDemandDrivenPipeline () override
 
virtual int ExecuteDataObject (vtkInformation *request, vtkInformationVector **inInfo, vtkInformationVector *outInfo)
 
virtual int ExecuteData (vtkInformation *request, vtkInformationVector **inInfo, vtkInformationVector *outInfo)
 
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)
 
- Protected Member Functions inherited from vtkExecutive
 vtkExecutive ()
 
 ~vtkExecutive () override
 
int InputPortIndexInRange (int port, const char *action)
 
int OutputPortIndexInRange (int port, const char *action)
 
int CheckAlgorithm (const char *method, vtkInformation *request)
 
virtual int ForwardDownstream (vtkInformation *request)
 
virtual int ForwardUpstream (vtkInformation *request)
 
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=NULL)
 These methods allow a command to exclusively grab all events. More...
 
void InternalReleaseFocus ()
 
- Protected Member Functions inherited from vtkObjectBase
 vtkObjectBase ()
 
virtual ~vtkObjectBase ()
 
virtual void CollectRevisions (ostream &)
 
 vtkObjectBase (const vtkObjectBase &)
 
void operator= (const vtkObjectBase &)
 

Static Protected Member Functions

static vtkInformationDoubleKey * PREVIOUS_UPDATE_TIME_STEP ()
 Keep track of the update time request corresponding to the previous executing. More...
 

Protected Attributes

int ContinueExecuting
 
vtkInformation * UpdateExtentRequest
 
int LastPropogateUpdateExtentShortCircuited
 
- Protected Attributes inherited from vtkDemandDrivenPipeline
vtkMTimeType PipelineMTime
 
vtkTimeStamp DataObjectTime
 
vtkTimeStamp InformationTime
 
vtkTimeStamp DataTime
 
vtkInformation * InfoRequest
 
vtkInformation * DataObjectRequest
 
vtkInformation * DataRequest
 
- Protected Attributes inherited from vtkExecutive
vtkAlgorithm * Algorithm
 
int InAlgorithm
 
vtkInformationVector ** SharedInputInformation
 
vtkInformationVector * SharedOutputInformation
 
- Protected Attributes inherited from vtkObject
bool Debug
 
vtkTimeStamp MTime
 
vtkSubjectHelper * SubjectHelper
 
- Protected Attributes inherited from vtkObjectBase
vtkAtomicInt32 ReferenceCount
 
vtkWeakPointerBase ** WeakPointers
 

Detailed Description

Executive supporting partial updates.

vtkStreamingDemandDrivenPipeline is an executive that supports updating only a portion of the data set in the pipeline. This is the style of pipeline update that is provided by the old-style VTK 4.x pipeline. Instead of always updating an entire data set, this executive supports asking for pieces or sub-extents.

Examples:
vtkStreamingDemandDrivenPipeline (Examples)
Tests:
vtkStreamingDemandDrivenPipeline (Tests)

Definition at line 51 of file vtkStreamingDemandDrivenPipeline.h.

Member Typedef Documentation

◆ Superclass

Definition at line 55 of file vtkStreamingDemandDrivenPipeline.h.

Constructor & Destructor Documentation

◆ vtkStreamingDemandDrivenPipeline()

vtkStreamingDemandDrivenPipeline::vtkStreamingDemandDrivenPipeline ( )
protected

◆ ~vtkStreamingDemandDrivenPipeline()

vtkStreamingDemandDrivenPipeline::~vtkStreamingDemandDrivenPipeline ( )
overrideprotected

Member Function Documentation

◆ New()

static vtkStreamingDemandDrivenPipeline* vtkStreamingDemandDrivenPipeline::New ( )
static

◆ IsTypeOf()

static int vtkStreamingDemandDrivenPipeline::IsTypeOf ( const char *  type)
static

◆ IsA()

virtual int vtkStreamingDemandDrivenPipeline::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 vtkDemandDrivenPipeline.

Reimplemented in vtkImageImportExecutive, vtkThreadedCompositeDataPipeline, vtkCompositeDataPipeline, and vtkCachedStreamingDemandDrivenPipeline.

◆ SafeDownCast()

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

◆ NewInstanceInternal()

virtual vtkObjectBase* vtkStreamingDemandDrivenPipeline::NewInstanceInternal ( ) const
protectedvirtual

◆ NewInstance()

vtkStreamingDemandDrivenPipeline* vtkStreamingDemandDrivenPipeline::NewInstance ( ) const

◆ PrintSelf()

void vtkStreamingDemandDrivenPipeline::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 vtkDemandDrivenPipeline.

Reimplemented in vtkThreadedCompositeDataPipeline.

◆ ProcessRequest()

int vtkStreamingDemandDrivenPipeline::ProcessRequest ( vtkInformation *  request,
vtkInformationVector **  inInfo,
vtkInformationVector *  outInfo 
)
overridevirtual

Generalized interface for asking the executive to fulfill update requests.

Reimplemented from vtkDemandDrivenPipeline.

Reimplemented in vtkImageImportExecutive.

◆ Update() [1/3]

int vtkStreamingDemandDrivenPipeline::Update ( )
overridevirtual

Bring the outputs up-to-date.

Reimplemented from vtkDemandDrivenPipeline.

◆ Update() [2/3]

int vtkStreamingDemandDrivenPipeline::Update ( int  port)
overridevirtual

Reimplemented from vtkDemandDrivenPipeline.

◆ UpdateWholeExtent()

virtual int vtkStreamingDemandDrivenPipeline::UpdateWholeExtent ( )
virtual

◆ Update() [3/3]

virtual int vtkStreamingDemandDrivenPipeline::Update ( int  port,
vtkInformationVector *  requests 
)
virtual

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).

The requests argument should contain an information object for each port that requests need to be passed. For each of those, the pipeline will copy all keys to the output information before execution. This is equivalent to:

* executive->UpdateInformation();
* for (int i=0; i<executive->GetNumberOfOutputPorts(); i++)
* {
* vtkInformation* portRequests = requests->GetInformationObject(i);
* if (portRequests)
* {
* executive->GetOutputInformation(i)->Append(portRequests);
* }
* }
* executive->Update();
* 

Available requests include UPDATE_PIECE_NUMBER(), UPDATE_NUMBER_OF_PIECES() UPDATE_EXTENT() etc etc.

◆ PropagateUpdateExtent()

int vtkStreamingDemandDrivenPipeline::PropagateUpdateExtent ( int  outputPort)

Propagate the update request from the given output port back through the pipeline.

Should be called only when information is up to date.

◆ PropagateTime()

int vtkStreamingDemandDrivenPipeline::PropagateTime ( int  outputPort)

Propagate time through the pipeline.

this is a special pass only necessary if there is temporal meta data that must be updated

◆ UpdateTimeDependentInformation()

int vtkStreamingDemandDrivenPipeline::UpdateTimeDependentInformation ( int  outputPort)

◆ SetWholeExtent()

static int vtkStreamingDemandDrivenPipeline::SetWholeExtent ( vtkInformation *  ,
int  extent[6] 
)
static

Set/Get the whole extent of an output port.

The whole extent is meta data for structured data sets. It gets set by the algorithm during the update information pass.

◆ GetWholeExtent() [1/2]

static void vtkStreamingDemandDrivenPipeline::GetWholeExtent ( vtkInformation *  ,
int  extent[6] 
)
static

◆ GetWholeExtent() [2/2]

static int* vtkStreamingDemandDrivenPipeline::GetWholeExtent ( vtkInformation *  )
static

◆ SetRequestExactExtent()

int vtkStreamingDemandDrivenPipeline::SetRequestExactExtent ( int  port,
int  flag 
)

This request flag indicates whether the requester can handle more data than requested for the given port.

Right now it is used in vtkImageData. Image filters can return more data than requested. The the consumer cannot handle this (i.e. DataSetToDataSetFitler) the image will crop itself. This functionality used to be in ImageToStructuredPoints.

◆ GetRequestExactExtent()

int vtkStreamingDemandDrivenPipeline::GetRequestExactExtent ( int  port)

◆ SetUpdateExtentToWholeExtent() [1/2]

int vtkStreamingDemandDrivenPipeline::SetUpdateExtentToWholeExtent ( int  port)

If the whole input extent is required to generate the requested output extent, this method can be called to set the input update extent to the whole input extent.

This method assumes that the whole extent is known (that UpdateInformation has been called)

◆ SetUpdateExtentToWholeExtent() [2/2]

static int vtkStreamingDemandDrivenPipeline::SetUpdateExtentToWholeExtent ( vtkInformation *  )
static

◆ SetUpdateExtent() [1/5]

int vtkStreamingDemandDrivenPipeline::SetUpdateExtent ( int  port,
int  extent[6] 
)

Get/Set the update extent for output ports that use 3D extents.

◆ SetUpdateExtent() [2/5]

int vtkStreamingDemandDrivenPipeline::SetUpdateExtent ( int  port,
int  x0,
int  x1,
int  y0,
int  y1,
int  z0,
int  z1 
)

◆ SetUpdateExtent() [3/5]

static int vtkStreamingDemandDrivenPipeline::SetUpdateExtent ( vtkInformation *  ,
int  extent[6] 
)
static

◆ GetUpdateExtent() [1/2]

static void vtkStreamingDemandDrivenPipeline::GetUpdateExtent ( vtkInformation *  ,
int  extent[6] 
)
static

◆ GetUpdateExtent() [2/2]

static int* vtkStreamingDemandDrivenPipeline::GetUpdateExtent ( vtkInformation *  )
static

◆ SetUpdateExtent() [4/5]

int vtkStreamingDemandDrivenPipeline::SetUpdateExtent ( int  port,
int  piece,
int  numPieces,
int  ghostLevel 
)

Set/Get the update piece, update number of pieces, and update number of ghost levels for an output port.

Similar to update extent in 3D.

◆ SetUpdateExtent() [5/5]

static int vtkStreamingDemandDrivenPipeline::SetUpdateExtent ( vtkInformation *  ,
int  piece,
int  numPieces,
int  ghostLevel 
)
static

◆ SetUpdatePiece()

static int vtkStreamingDemandDrivenPipeline::SetUpdatePiece ( vtkInformation *  ,
int  piece 
)
static

◆ GetUpdatePiece()

static int vtkStreamingDemandDrivenPipeline::GetUpdatePiece ( vtkInformation *  )
static

◆ SetUpdateNumberOfPieces()

static int vtkStreamingDemandDrivenPipeline::SetUpdateNumberOfPieces ( vtkInformation *  ,
int  n 
)
static

◆ GetUpdateNumberOfPieces()

static int vtkStreamingDemandDrivenPipeline::GetUpdateNumberOfPieces ( vtkInformation *  )
static

◆ SetUpdateGhostLevel()

static int vtkStreamingDemandDrivenPipeline::SetUpdateGhostLevel ( vtkInformation *  ,
int  n 
)
static

◆ GetUpdateGhostLevel()

static int vtkStreamingDemandDrivenPipeline::GetUpdateGhostLevel ( vtkInformation *  )
static

◆ SetUpdateTimeStep() [1/2]

int vtkStreamingDemandDrivenPipeline::SetUpdateTimeStep ( int  port,
double  time 
)

Get/Set the update extent for output ports that use Temporal Extents.

◆ SetUpdateTimeStep() [2/2]

static int vtkStreamingDemandDrivenPipeline::SetUpdateTimeStep ( vtkInformation *  ,
double  time 
)
static

◆ NeedToExecuteBasedOnTime()

virtual int vtkStreamingDemandDrivenPipeline::NeedToExecuteBasedOnTime ( vtkInformation *  outInfo,
vtkDataObject *  dataObject 
)
protectedvirtual

◆ ExecuteInformation()

int vtkStreamingDemandDrivenPipeline::ExecuteInformation ( vtkInformation *  request,
vtkInformationVector **  inInfoVec,
vtkInformationVector *  outInfoVec 
)
overrideprotectedvirtual

Reimplemented from vtkDemandDrivenPipeline.

◆ CopyDefaultInformation()

void vtkStreamingDemandDrivenPipeline::CopyDefaultInformation ( vtkInformation *  request,
int  direction,
vtkInformationVector **  inInfoVec,
vtkInformationVector *  outInfoVec 
)
overrideprotectedvirtual

Reimplemented from vtkExecutive.

◆ VerifyOutputInformation()

virtual int vtkStreamingDemandDrivenPipeline::VerifyOutputInformation ( int  outputPort,
vtkInformationVector **  inInfoVec,
vtkInformationVector *  outInfoVec 
)
protectedvirtual

◆ NeedToExecuteData()

int vtkStreamingDemandDrivenPipeline::NeedToExecuteData ( int  outputPort,
vtkInformationVector **  inInfoVec,
vtkInformationVector *  outInfoVec 
)
overrideprotectedvirtual

Reimplemented from vtkDemandDrivenPipeline.

◆ ExecuteDataStart()

void vtkStreamingDemandDrivenPipeline::ExecuteDataStart ( vtkInformation *  request,
vtkInformationVector **  inInfoVec,
vtkInformationVector *  outInfoVec 
)
overrideprotectedvirtual

Reimplemented from vtkDemandDrivenPipeline.

◆ ExecuteDataEnd()

void vtkStreamingDemandDrivenPipeline::ExecuteDataEnd ( vtkInformation *  request,
vtkInformationVector **  inInfoVec,
vtkInformationVector *  outInfoVec 
)
overrideprotectedvirtual

Reimplemented from vtkDemandDrivenPipeline.

◆ MarkOutputsGenerated()

void vtkStreamingDemandDrivenPipeline::MarkOutputsGenerated ( vtkInformation *  request,
vtkInformationVector **  inInfoVec,
vtkInformationVector *  outInfoVec 
)
overrideprotectedvirtual

Reimplemented from vtkDemandDrivenPipeline.

◆ ResetPipelineInformation()

void vtkStreamingDemandDrivenPipeline::ResetPipelineInformation ( int  port,
vtkInformation *   
)
overrideprotectedvirtual

Reimplemented from vtkDemandDrivenPipeline.

Member Data Documentation

◆ ContinueExecuting

int vtkStreamingDemandDrivenPipeline::ContinueExecuting
protected

Definition at line 353 of file vtkStreamingDemandDrivenPipeline.h.

◆ UpdateExtentRequest

vtkInformation* vtkStreamingDemandDrivenPipeline::UpdateExtentRequest
protected

Definition at line 355 of file vtkStreamingDemandDrivenPipeline.h.

◆ LastPropogateUpdateExtentShortCircuited

int vtkStreamingDemandDrivenPipeline::LastPropogateUpdateExtentShortCircuited
protected

Definition at line 358 of file vtkStreamingDemandDrivenPipeline.h.


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