#include <vtkCompositeDataPipeline.h>
vtkCompositeDataPipeline is an executive that supports the processing of composite dataset. It supports algorithms that are aware of composite dataset as well as those that are not. Type checking is performed at run time. Algorithms that are not composite dataset-aware have to support all dataset types contained in the composite dataset. The pipeline execution can be summarized as follows:
REQUEST_INFORMATION: The producers have to provide information about the contents of the composite dataset in this pass. Sources that can produce more than one piece (note that a piece is different than a block; each piece consistes of 0 or more blocks) should set MAXIMUM_NUMBER_OF_PIECES to -1.
REQUEST_UPDATE_EXTENT: This pass is identical to the one implemented in vtkStreamingDemandDrivenPipeline
REQUEST_DATA: This is where the algorithms execute. If the vtkCompositeDataPipeline is assigned to a simple filter, it will invoke the vtkStreamingDemandDrivenPipeline passes in a loop, passing a different block each time and will collect the results in a composite dataset.
Definition at line 59 of file vtkCompositeDataPipeline.h.
Reimplemented from vtkStreamingDemandDrivenPipeline.
Definition at line 63 of file vtkCompositeDataPipeline.h.
vtkCompositeDataPipeline::vtkCompositeDataPipeline | ( | ) | [protected] |
vtkCompositeDataPipeline::~vtkCompositeDataPipeline | ( | ) | [protected] |
static vtkCompositeDataPipeline* vtkCompositeDataPipeline::New | ( | ) | [static] |
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
Reimplemented from vtkStreamingDemandDrivenPipeline.
virtual const char* vtkCompositeDataPipeline::GetClassName | ( | ) | [virtual] |
Reimplemented from vtkStreamingDemandDrivenPipeline.
static int vtkCompositeDataPipeline::IsTypeOf | ( | const char * | name | ) | [static] |
Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeRevisionMacro found in vtkSetGet.h.
Reimplemented from vtkStreamingDemandDrivenPipeline.
virtual int vtkCompositeDataPipeline::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 vtkTypeRevisionMacro found in vtkSetGet.h.
Reimplemented from vtkStreamingDemandDrivenPipeline.
static vtkCompositeDataPipeline* vtkCompositeDataPipeline::SafeDownCast | ( | vtkObject * | o | ) | [static] |
Reimplemented from vtkStreamingDemandDrivenPipeline.
void vtkCompositeDataPipeline::PrintSelf | ( | ostream & | os, | |
vtkIndent | indent | |||
) | [virtual] |
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 vtkStreamingDemandDrivenPipeline.
virtual int vtkCompositeDataPipeline::ProcessRequest | ( | vtkInformation * | request, | |
vtkInformationVector ** | inInfo, | |||
vtkInformationVector * | outInfo | |||
) | [virtual] |
Generalized interface for asking the executive to fullfill update requests.
Reimplemented from vtkStreamingDemandDrivenPipeline.
vtkDataObject* vtkCompositeDataPipeline::GetCompositeOutputData | ( | int | port | ) |
Returns the data object stored with the DATA_OBJECT() in the output port
vtkDataObject* vtkCompositeDataPipeline::GetCompositeInputData | ( | int | port, | |
int | index, | |||
vtkInformationVector ** | inInfoVec | |||
) |
Returns the data object stored with the DATA_OBJECT() in the input port
static vtkInformationIntegerKey* vtkCompositeDataPipeline::REQUIRES_TIME_DOWNSTREAM | ( | ) | [static] |
vtkCompositeDataPipeline specific keys
virtual int vtkCompositeDataPipeline::ForwardUpstream | ( | vtkInformation * | request | ) | [protected, virtual] |
Reimplemented from vtkExecutive.
virtual int vtkCompositeDataPipeline::ForwardUpstream | ( | int | i, | |
int | j, | |||
vtkInformation * | request | |||
) | [protected, virtual] |
virtual void vtkCompositeDataPipeline::CopyDefaultInformation | ( | vtkInformation * | request, | |
int | direction, | |||
vtkInformationVector ** | inInfoVec, | |||
vtkInformationVector * | outInfoVec | |||
) | [protected, virtual] |
Reimplemented from vtkStreamingDemandDrivenPipeline.
virtual void vtkCompositeDataPipeline::CopyFromDataToInformation | ( | vtkDataObject * | dobj, | |
vtkInformation * | inInfo | |||
) | [protected, virtual] |
virtual void vtkCompositeDataPipeline::PushInformation | ( | vtkInformation * | ) | [protected, virtual] |
virtual void vtkCompositeDataPipeline::PopInformation | ( | vtkInformation * | ) | [protected, virtual] |
virtual int vtkCompositeDataPipeline::ExecuteDataObject | ( | vtkInformation * | request, | |
vtkInformationVector ** | inInfo, | |||
vtkInformationVector * | outInfo | |||
) | [protected, virtual] |
Reimplemented from vtkDemandDrivenPipeline.
virtual int vtkCompositeDataPipeline::ExecuteData | ( | vtkInformation * | request, | |
vtkInformationVector ** | inInfoVec, | |||
vtkInformationVector * | outInfoVec | |||
) | [protected, virtual] |
Reimplemented from vtkDemandDrivenPipeline.
virtual void vtkCompositeDataPipeline::ExecuteDataStart | ( | vtkInformation * | request, | |
vtkInformationVector ** | inInfoVec, | |||
vtkInformationVector * | outInfoVec | |||
) | [protected, virtual] |
Reimplemented from vtkStreamingDemandDrivenPipeline.
virtual int vtkCompositeDataPipeline::NeedToExecuteData | ( | int | outputPort, | |
vtkInformationVector ** | inInfoVec, | |||
vtkInformationVector * | outInfoVec | |||
) | [protected, virtual] |
Reimplemented from vtkStreamingDemandDrivenPipeline.
virtual int vtkCompositeDataPipeline::NeedToExecuteBasedOnTime | ( | vtkInformation * | outInfo, | |
vtkDataObject * | dataObject | |||
) | [protected, virtual] |
Reimplemented from vtkStreamingDemandDrivenPipeline.
virtual int vtkCompositeDataPipeline::CheckCompositeData | ( | vtkInformation * | request, | |
int | port, | |||
vtkInformationVector ** | inInfoVec, | |||
vtkInformationVector * | outInfoVec | |||
) | [protected, virtual] |
virtual void vtkCompositeDataPipeline::ExecuteSimpleAlgorithm | ( | vtkInformation * | request, | |
vtkInformationVector ** | inInfoVec, | |||
vtkInformationVector * | outInfoVec, | |||
int | compositePort | |||
) | [protected, virtual] |
virtual void vtkCompositeDataPipeline::ExecuteSimpleAlgorithmTime | ( | vtkInformation * | request, | |
vtkInformationVector ** | inInfoVec, | |||
vtkInformationVector * | outInfoVec | |||
) | [protected, virtual] |
vtkDataObject* vtkCompositeDataPipeline::ExecuteSimpleAlgorithmForBlock | ( | vtkInformationVector ** | inInfoVec, | |
vtkInformationVector * | outInfoVec, | |||
vtkInformation * | inInfo, | |||
vtkInformation * | outInfo, | |||
vtkInformation * | request, | |||
vtkDataObject * | dobj | |||
) | [protected] |
bool vtkCompositeDataPipeline::ShouldIterateOverInput | ( | int & | compositePort | ) | [protected] |
bool vtkCompositeDataPipeline::ShouldIterateTemporalData | ( | vtkInformation * | request, | |
vtkInformationVector ** | inInfoVec, | |||
vtkInformationVector * | outInfoVec | |||
) | [protected] |
virtual int vtkCompositeDataPipeline::InputTypeIsValid | ( | int | port, | |
int | index, | |||
vtkInformationVector ** | inInfoVec | |||
) | [protected, virtual] |
Reimplemented from vtkDemandDrivenPipeline.
virtual void vtkCompositeDataPipeline::ResetPipelineInformation | ( | int | port, | |
vtkInformation * | ||||
) | [protected, virtual] |
Reimplemented from vtkStreamingDemandDrivenPipeline.
vtkCompositeDataSet* vtkCompositeDataPipeline::CreateOutputCompositeDataSet | ( | vtkCompositeDataSet * | input, | |
int | compositePort | |||
) | [protected] |
Tries to create the best possible composite data output for the given input and non-composite algorithm output. Returns a new instance on success. Don't use this method for creating vtkTemporalDataSet. It's main purpose is to determine if vtkHierarchicalBoxDataSet can be propagated as vtkHierarchicalBoxDataSet in the output (if the algorithm can produce vtkUniformGrid given vtkUniformGrid inputs) or if it should be downgraded to a vtkMultiBlockDataSet.
int vtkCompositeDataPipeline::InLocalLoop [protected] |
Definition at line 136 of file vtkCompositeDataPipeline.h.
vtkInformation* vtkCompositeDataPipeline::InformationCache [protected] |
Definition at line 160 of file vtkCompositeDataPipeline.h.
vtkInformation* vtkCompositeDataPipeline::GenericRequest [protected] |
Definition at line 162 of file vtkCompositeDataPipeline.h.
Reimplemented from vtkDemandDrivenPipeline.
Definition at line 163 of file vtkCompositeDataPipeline.h.
Definition at line 164 of file vtkCompositeDataPipeline.h.
Reimplemented from vtkStreamingDemandDrivenPipeline.
Definition at line 165 of file vtkCompositeDataPipeline.h.
vtkInformation* vtkCompositeDataPipeline::DataRequest [protected] |
Reimplemented from vtkDemandDrivenPipeline.
Definition at line 166 of file vtkCompositeDataPipeline.h.
int vtkCompositeDataPipeline::SuppressResetPipelineInformation [protected] |
Definition at line 170 of file vtkCompositeDataPipeline.h.