VTK
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
vtkTransmitStructuredGridPiece Class Reference

For parallel processing, restrict IO to the first process in the cluster. More...

#include <vtkTransmitStructuredGridPiece.h>

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

List of all members.

Public Types

typedef vtkStructuredGridAlgorithm Superclass

Public Member Functions

virtual int IsA (const char *type)
vtkTransmitStructuredGridPieceNewInstance () const
void PrintSelf (ostream &os, vtkIndent indent)
virtual void SetController (vtkMultiProcessController *)
virtual vtkMultiProcessControllerGetController ()
virtual void SetCreateGhostCells (int)
virtual int GetCreateGhostCells ()
virtual void CreateGhostCellsOn ()
virtual void CreateGhostCellsOff ()

Static Public Member Functions

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

Protected Member Functions

virtual vtkObjectBaseNewInstanceInternal () const
 vtkTransmitStructuredGridPiece ()
 ~vtkTransmitStructuredGridPiece ()
virtual int RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *)
void RootExecute (vtkStructuredGrid *input, vtkStructuredGrid *output, vtkInformation *outInfo)
void SatelliteExecute (int procId, vtkStructuredGrid *output, vtkInformation *outInfo)
virtual int RequestInformation (vtkInformation *, vtkInformationVector **, vtkInformationVector *)
virtual int RequestUpdateExtent (vtkInformation *, vtkInformationVector **, vtkInformationVector *)

Protected Attributes

int CreateGhostCells
vtkMultiProcessControllerController

Detailed Description

For parallel processing, restrict IO to the first process in the cluster.

This filter updates the appropriate piece by requesting the piece from process 0. Process 0 always updates all of the data. It is important that Execute get called on all processes, otherwise the filter will deadlock.

Tests:
vtkTransmitStructuredGridPiece (Tests)

Definition at line 36 of file vtkTransmitStructuredGridPiece.h.


Member Typedef Documentation

Reimplemented from vtkStructuredGridAlgorithm.

Definition at line 40 of file vtkTransmitStructuredGridPiece.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 vtkStructuredGridAlgorithm.

static int vtkTransmitStructuredGridPiece::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 vtkStructuredGridAlgorithm.

virtual int vtkTransmitStructuredGridPiece::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 vtkStructuredGridAlgorithm.

Reimplemented from vtkStructuredGridAlgorithm.

virtual vtkObjectBase* vtkTransmitStructuredGridPiece::NewInstanceInternal ( ) const [protected, virtual]

Reimplemented from vtkStructuredGridAlgorithm.

Reimplemented from vtkStructuredGridAlgorithm.

void vtkTransmitStructuredGridPiece::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 vtkStructuredGridAlgorithm.

By defualt this filter uses the global controller, but this method can be used to set another instead.

By defualt this filter uses the global controller, but this method can be used to set another instead.

Turn on/off creating ghost cells (on by default).

Turn on/off creating ghost cells (on by default).

Turn on/off creating ghost cells (on by default).

Turn on/off creating ghost cells (on by default).

virtual int vtkTransmitStructuredGridPiece::RequestData ( vtkInformation request,
vtkInformationVector **  inputVector,
vtkInformationVector outputVector 
) [protected, virtual]

This is called by the superclass. This is the method you should override.

Reimplemented from vtkStructuredGridAlgorithm.

void vtkTransmitStructuredGridPiece::RootExecute ( vtkStructuredGrid input,
vtkStructuredGrid output,
vtkInformation outInfo 
) [protected]
void vtkTransmitStructuredGridPiece::SatelliteExecute ( int  procId,
vtkStructuredGrid output,
vtkInformation outInfo 
) [protected]

Reimplemented from vtkStructuredGridAlgorithm.

This is called by the superclass. This is the method you should override.

Reimplemented from vtkStructuredGridAlgorithm.


Member Data Documentation

Definition at line 70 of file vtkTransmitStructuredGridPiece.h.

Definition at line 71 of file vtkTransmitStructuredGridPiece.h.


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