vtkPStreamTracer Class Reference

#include <vtkPStreamTracer.h>

Inheritance diagram for vtkPStreamTracer:

vtkStreamTracer vtkDataSetToPolyDataFilter vtkPolyDataSource vtkSource vtkProcessObject vtkObject vtkObjectBase vtkDistributedStreamTracer List of all members.

Detailed Description

Abstract superclass for parallel streamline generators.

This class implements some necessary functionality used by distributed and parallel streamline generators. Note that all processes must have access to the WHOLE seed source, i.e. the source must be identical on all processes.

See also:
vtkStreamTracer vtkDistributedStreamTracer vtkMPIStreamTracer

Definition at line 37 of file vtkPStreamTracer.h.

Public Types

typedef vtkStreamTracer Superclass

Public Member Functions

virtual const char * GetClassName ()
virtual int IsA (const char *type)
virtual void PrintSelf (ostream &os, vtkIndent indent)
virtual void SetController (vtkMultiProcessController *controller)
virtual vtkMultiProcessControllerGetController ()
virtual char * GetInputVectorsSelection ()
void SelectInputVectors (const char *fieldName)

Static Public Member Functions

static int IsTypeOf (const char *type)
static vtkPStreamTracerSafeDownCast (vtkObject *o)

Protected Types

typedef vtkstd::vector< vtkSmartPointer<
vtkPolyData > > 
TmpOutputsType

Protected Member Functions

 vtkPStreamTracer ()
 ~vtkPStreamTracer ()
virtual void Execute ()
virtual void ExecuteInformation ()
virtual void ComputeInputUpdateExtents (vtkDataObject *output)
void SetInterpolator (vtkInterpolatedVelocityField *)
void SendCellPoint (vtkPolyData *data, vtkIdType streamId, vtkIdType idx, int sendToId)
void ReceiveCellPoint (vtkPolyData *tomod, int streamId, vtkIdType idx)
void SendFirstPoints ()
void ReceiveLastPoints ()
void MoveToNextSend ()
virtual void ParallelIntegrate ()=0

Protected Attributes

vtkMultiProcessControllerController
vtkInterpolatedVelocityFieldInterpolator
vtkDataArraySeeds
vtkIdListSeedIds
vtkIntArrayIntegrationDirections
TmpOutputsType TmpOutputs


Member Typedef Documentation

typedef vtkStreamTracer vtkPStreamTracer::Superclass
 

Reimplemented from vtkStreamTracer.

Reimplemented in vtkDistributedStreamTracer.

Definition at line 40 of file vtkPStreamTracer.h.

typedef vtkstd::vector< vtkSmartPointer<vtkPolyData> > vtkPStreamTracer::TmpOutputsType [protected]
 

Definition at line 91 of file vtkPStreamTracer.h.


Constructor & Destructor Documentation

vtkPStreamTracer::vtkPStreamTracer  )  [protected]
 

vtkPStreamTracer::~vtkPStreamTracer  )  [protected]
 


Member Function Documentation

virtual const char* vtkPStreamTracer::GetClassName  )  [virtual]
 

Reimplemented from vtkStreamTracer.

Reimplemented in vtkDistributedStreamTracer.

static int vtkPStreamTracer::IsTypeOf const char *  type  )  [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 vtkStreamTracer.

Reimplemented in vtkDistributedStreamTracer.

virtual int vtkPStreamTracer::IsA const char *  type  )  [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 vtkStreamTracer.

Reimplemented in vtkDistributedStreamTracer.

static vtkPStreamTracer* vtkPStreamTracer::SafeDownCast vtkObject o  )  [static]
 

Reimplemented from vtkStreamTracer.

Reimplemented in vtkDistributedStreamTracer.

virtual void vtkPStreamTracer::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 vtkStreamTracer.

Reimplemented in vtkDistributedStreamTracer.

virtual void vtkPStreamTracer::SetController vtkMultiProcessController controller  )  [virtual]
 

Set/Get the controller use in compositing (set to the global controller by default) If not using the default, this must be called before any other methods.

virtual vtkMultiProcessController* vtkPStreamTracer::GetController  )  [virtual]
 

Set/Get the controller use in compositing (set to the global controller by default) If not using the default, this must be called before any other methods.

virtual char* vtkPStreamTracer::GetInputVectorsSelection  )  [virtual]
 

If you want to generate traces using an arbitrary vector array, then set its name here. By default this in NULL and the filter will use the active vector array.

Reimplemented from vtkStreamTracer.

void vtkPStreamTracer::SelectInputVectors const char *  fieldName  )  [inline]
 

If you want to generate traces using an arbitrary vector array, then set its name here. By default this in NULL and the filter will use the active vector array.

Reimplemented from vtkStreamTracer.

Definition at line 56 of file vtkPStreamTracer.h.

References vtkStreamTracer::SetInputVectorsSelection().

virtual void vtkPStreamTracer::Execute  )  [protected, virtual]
 

This method is the old style execute method

Reimplemented from vtkStreamTracer.

virtual void vtkPStreamTracer::ExecuteInformation  )  [protected, virtual]
 

Reimplemented from vtkSource.

virtual void vtkPStreamTracer::ComputeInputUpdateExtents vtkDataObject output  )  [protected, virtual]
 

Do not let images return more than requested.

Reimplemented from vtkDataSetToPolyDataFilter.

void vtkPStreamTracer::SetInterpolator vtkInterpolatedVelocityField  )  [protected]
 

void vtkPStreamTracer::SendCellPoint vtkPolyData data,
vtkIdType  streamId,
vtkIdType  idx,
int  sendToId
[protected]
 

void vtkPStreamTracer::ReceiveCellPoint vtkPolyData tomod,
int  streamId,
vtkIdType  idx
[protected]
 

void vtkPStreamTracer::SendFirstPoints  )  [protected]
 

void vtkPStreamTracer::ReceiveLastPoints  )  [protected]
 

void vtkPStreamTracer::MoveToNextSend  )  [protected]
 

virtual void vtkPStreamTracer::ParallelIntegrate  )  [protected, pure virtual]
 

Implemented in vtkDistributedStreamTracer.


Member Data Documentation

vtkMultiProcessController* vtkPStreamTracer::Controller [protected]
 

Definition at line 69 of file vtkPStreamTracer.h.

vtkInterpolatedVelocityField* vtkPStreamTracer::Interpolator [protected]
 

Definition at line 71 of file vtkPStreamTracer.h.

vtkDataArray* vtkPStreamTracer::Seeds [protected]
 

Definition at line 86 of file vtkPStreamTracer.h.

vtkIdList* vtkPStreamTracer::SeedIds [protected]
 

Definition at line 87 of file vtkPStreamTracer.h.

vtkIntArray* vtkPStreamTracer::IntegrationDirections [protected]
 

Definition at line 88 of file vtkPStreamTracer.h.

TmpOutputsType vtkPStreamTracer::TmpOutputs [protected]
 

Definition at line 94 of file vtkPStreamTracer.h.


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