VTK
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Friends
vtkThreadedCompositeDataPipeline Class Reference

Executive that works in parallel. More...

#include <vtkThreadedCompositeDataPipeline.h>

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

List of all members.

Public Types

typedef vtkCompositeDataPipeline Superclass

Public Member Functions

virtual int IsA (const char *type)
vtkThreadedCompositeDataPipelineNewInstance () const
void PrintSelf (ostream &os, vtkIndent indent)
virtual int CallAlgorithm (vtkInformation *request, int direction, vtkInformationVector **inInfo, vtkInformationVector *outInfo)

Static Public Member Functions

static
vtkThreadedCompositeDataPipeline
New ()
static int IsTypeOf (const char *type)
static
vtkThreadedCompositeDataPipeline
SafeDownCast (vtkObjectBase *o)

Protected Member Functions

virtual vtkObjectBaseNewInstanceInternal () const
 vtkThreadedCompositeDataPipeline ()
 ~vtkThreadedCompositeDataPipeline ()
virtual void ExecuteEach (vtkCompositeDataIterator *iter, vtkInformationVector **inInfoVec, vtkInformationVector *outInfoVec, int compositePort, int connection, vtkInformation *request, vtkCompositeDataSet *compositeOutput)

Friends

class ProcessBlock

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 39 of file vtkThreadedCompositeDataPipeline.h.


Member Typedef Documentation

Reimplemented from vtkCompositeDataPipeline.

Definition at line 43 of file vtkThreadedCompositeDataPipeline.h.


Constructor & Destructor Documentation


Member Function Documentation

Create an object with Debug turned off, modified time initialized to zero, and reference counting on.

Reimplemented from vtkCompositeDataPipeline.

static int vtkThreadedCompositeDataPipeline::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 vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkCompositeDataPipeline.

virtual int 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.

Reimplemented from vtkCompositeDataPipeline.

Reimplemented from vtkCompositeDataPipeline.

Reimplemented from vtkCompositeDataPipeline.

void vtkThreadedCompositeDataPipeline::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 vtkCompositeDataPipeline.

virtual int vtkThreadedCompositeDataPipeline::CallAlgorithm ( vtkInformation request,
int  direction,
vtkInformationVector **  inInfo,
vtkInformationVector outInfo 
) [virtual]

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

Reimplemented from vtkExecutive.

virtual void vtkThreadedCompositeDataPipeline::ExecuteEach ( vtkCompositeDataIterator iter,
vtkInformationVector **  inInfoVec,
vtkInformationVector outInfoVec,
int  compositePort,
int  connection,
vtkInformation request,
vtkCompositeDataSet compositeOutput 
) [protected, virtual]

Reimplemented from vtkCompositeDataPipeline.


Friends And Related Function Documentation

friend class ProcessBlock [friend]

Definition at line 68 of file vtkThreadedCompositeDataPipeline.h.


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