vtkCompositeDataPipeline Class Reference

#include <vtkCompositeDataPipeline.h>

Inheritance diagram for vtkCompositeDataPipeline:

Inheritance graph
[legend]
Collaboration diagram for vtkCompositeDataPipeline:

Collaboration graph
[legend]

List of all members.


Detailed Description

Executive supporting composite datasets.

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.

See also:
vtkCompositeDataSet
Tests:
vtkCompositeDataPipeline (Tests)

Definition at line 59 of file vtkCompositeDataPipeline.h.


Public Types

typedef
vtkStreamingDemandDrivenPipeline 
Superclass

Public Member Functions

virtual const char * GetClassName ()
virtual int IsA (const char *type)
void PrintSelf (ostream &os, vtkIndent indent)
vtkDataObjectGetCompositeOutputData (int port)
virtual int ProcessRequest (vtkInformation *request, vtkInformationVector **inInfo, vtkInformationVector *outInfo)
vtkDataObjectGetCompositeInputData (int port, int index, vtkInformationVector **inInfoVec)

Static Public Member Functions

static vtkCompositeDataPipelineNew ()
static int IsTypeOf (const char *type)
static vtkCompositeDataPipelineSafeDownCast (vtkObject *o)
static vtkInformationIntegerKeyREQUIRES_TIME_DOWNSTREAM ()

Protected Member Functions

 vtkCompositeDataPipeline ()
 ~vtkCompositeDataPipeline ()
virtual int ForwardUpstream (vtkInformation *request)
virtual int ForwardUpstream (int i, int j, vtkInformation *request)
virtual void CopyDefaultInformation (vtkInformation *request, int direction, vtkInformationVector **inInfoVec, vtkInformationVector *outInfoVec)
virtual void CopyFromDataToInformation (vtkDataObject *dobj, vtkInformation *inInfo)
virtual void PushInformation (vtkInformation *)
virtual void PopInformation (vtkInformation *)
virtual int ExecuteDataObject (vtkInformation *request, vtkInformationVector **inInfo, vtkInformationVector *outInfo)
virtual int ExecuteData (vtkInformation *request, vtkInformationVector **inInfoVec, vtkInformationVector *outInfoVec)
virtual void ExecuteDataStart (vtkInformation *request, vtkInformationVector **inInfoVec, vtkInformationVector *outInfoVec)
virtual int NeedToExecuteData (int outputPort, vtkInformationVector **inInfoVec, vtkInformationVector *outInfoVec)
virtual int NeedToExecuteBasedOnTime (vtkInformation *outInfo, vtkDataObject *dataObject)
virtual int CheckCompositeData (vtkInformation *request, int port, vtkInformationVector **inInfoVec, vtkInformationVector *outInfoVec)
virtual void ExecuteSimpleAlgorithm (vtkInformation *request, vtkInformationVector **inInfoVec, vtkInformationVector *outInfoVec, int compositePort)
virtual void ExecuteSimpleAlgorithmTime (vtkInformation *request, vtkInformationVector **inInfoVec, vtkInformationVector *outInfoVec)
vtkDataObjectExecuteSimpleAlgorithmForBlock (vtkInformationVector **inInfoVec, vtkInformationVector *outInfoVec, vtkInformation *inInfo, vtkInformation *outInfo, vtkInformation *request, vtkDataObject *dobj)
bool ShouldIterateOverInput (int &compositePort)
bool ShouldIterateTemporalData (vtkInformation *request, vtkInformationVector **inInfoVec, vtkInformationVector *outInfoVec)
virtual int InputTypeIsValid (int port, int index, vtkInformationVector **inInfoVec)
virtual void ResetPipelineInformation (int port, vtkInformation *)
vtkCompositeDataSetCreateOutputCompositeDataSet (vtkCompositeDataSet *input, int compositePort)

Protected Attributes

int InLocalLoop
vtkInformationInformationCache
vtkInformationGenericRequest
vtkInformationDataObjectRequest
vtkInformationInformationRequest
vtkInformationUpdateExtentRequest
vtkInformationDataRequest
int SuppressResetPipelineInformation

Member Typedef Documentation

Reimplemented from vtkStreamingDemandDrivenPipeline.

Definition at line 63 of file vtkCompositeDataPipeline.h.


Constructor & Destructor Documentation

vtkCompositeDataPipeline::vtkCompositeDataPipeline (  )  [protected]

vtkCompositeDataPipeline::~vtkCompositeDataPipeline (  )  [protected]


Member Function Documentation

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.


Member Data Documentation

Definition at line 136 of file vtkCompositeDataPipeline.h.

Definition at line 160 of file vtkCompositeDataPipeline.h.

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.

Reimplemented from vtkDemandDrivenPipeline.

Definition at line 166 of file vtkCompositeDataPipeline.h.

Definition at line 170 of file vtkCompositeDataPipeline.h.


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

Generated on Wed Jun 3 18:57:37 2009 for VTK by  doxygen 1.5.6