VTK
|
Executive that works in parallel. More...
#include <vtkThreadedCompositeDataPipeline.h>
Public Types | |
typedef vtkCompositeDataPipeline | Superclass |
Public Member Functions | |
virtual int | IsA (const char *type) |
vtkThreadedCompositeDataPipeline * | NewInstance () 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 vtkObjectBase * | NewInstanceInternal () const |
vtkThreadedCompositeDataPipeline () | |
~vtkThreadedCompositeDataPipeline () | |
virtual void | ExecuteEach (vtkCompositeDataIterator *iter, vtkInformationVector **inInfoVec, vtkInformationVector *outInfoVec, int compositePort, int connection, vtkInformation *request, vtkCompositeDataSet *compositeOutput) |
Friends | |
class | ProcessBlock |
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.
Definition at line 39 of file vtkThreadedCompositeDataPipeline.h.
Reimplemented from vtkCompositeDataPipeline.
Definition at line 43 of file vtkThreadedCompositeDataPipeline.h.
static vtkThreadedCompositeDataPipeline* vtkThreadedCompositeDataPipeline::New | ( | ) | [static] |
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.
static vtkThreadedCompositeDataPipeline* vtkThreadedCompositeDataPipeline::SafeDownCast | ( | vtkObjectBase * | o | ) | [static] |
Reimplemented from vtkCompositeDataPipeline.
virtual vtkObjectBase* vtkThreadedCompositeDataPipeline::NewInstanceInternal | ( | ) | const [protected, virtual] |
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.
friend class ProcessBlock [friend] |
Definition at line 68 of file vtkThreadedCompositeDataPipeline.h.