VTK
|
For parallel processing, restrict IO to the first process in the cluste.r. More...
#include <vtkTransmitImageDataPiece.h>
For parallel processing, restrict IO to the first process in the cluste.r.
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.
Definition at line 36 of file vtkTransmitImageDataPiece.h.
Reimplemented from vtkImageAlgorithm.
Definition at line 40 of file vtkTransmitImageDataPiece.h.
vtkTransmitImageDataPiece::vtkTransmitImageDataPiece | ( | ) | [protected] |
vtkTransmitImageDataPiece::~vtkTransmitImageDataPiece | ( | ) | [protected] |
static vtkTransmitImageDataPiece* vtkTransmitImageDataPiece::New | ( | ) | [static] |
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
Reimplemented from vtkAlgorithm.
static int vtkTransmitImageDataPiece::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 vtkImageAlgorithm.
virtual int vtkTransmitImageDataPiece::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 vtkImageAlgorithm.
static vtkTransmitImageDataPiece* vtkTransmitImageDataPiece::SafeDownCast | ( | vtkObjectBase * | o | ) | [static] |
Reimplemented from vtkImageAlgorithm.
virtual vtkObjectBase* vtkTransmitImageDataPiece::NewInstanceInternal | ( | ) | const [protected, virtual] |
Reimplemented from vtkImageAlgorithm.
Reimplemented from vtkImageAlgorithm.
void vtkTransmitImageDataPiece::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 vtkImageAlgorithm.
virtual void vtkTransmitImageDataPiece::SetController | ( | vtkMultiProcessController * | ) | [virtual] |
By defualt this filter uses the global controller, but this method can be used to set another instead.
virtual vtkMultiProcessController* vtkTransmitImageDataPiece::GetController | ( | ) | [virtual] |
By defualt this filter uses the global controller, but this method can be used to set another instead.
virtual void vtkTransmitImageDataPiece::SetCreateGhostCells | ( | int | ) | [virtual] |
Turn on/off creating ghost cells (on by default).
virtual int vtkTransmitImageDataPiece::GetCreateGhostCells | ( | ) | [virtual] |
Turn on/off creating ghost cells (on by default).
virtual void vtkTransmitImageDataPiece::CreateGhostCellsOn | ( | ) | [virtual] |
Turn on/off creating ghost cells (on by default).
virtual void vtkTransmitImageDataPiece::CreateGhostCellsOff | ( | ) | [virtual] |
Turn on/off creating ghost cells (on by default).
virtual int vtkTransmitImageDataPiece::RequestData | ( | vtkInformation * | request, |
vtkInformationVector ** | inputVector, | ||
vtkInformationVector * | outputVector | ||
) | [protected, virtual] |
This is called in response to a REQUEST_DATA request from the executive. Subclasses should override either this method or the ExecuteDataWithInformation method in order to generate data for their outputs. For images, the output arrays will already be allocated, so all that is necessary is to fill in the voxel values.
Reimplemented from vtkImageAlgorithm.
void vtkTransmitImageDataPiece::RootExecute | ( | vtkImageData * | input, |
vtkImageData * | output, | ||
vtkInformation * | outInfo | ||
) | [protected] |
void vtkTransmitImageDataPiece::SatelliteExecute | ( | int | procId, |
vtkImageData * | output, | ||
vtkInformation * | outInfo | ||
) | [protected] |
virtual int vtkTransmitImageDataPiece::RequestInformation | ( | vtkInformation * | request, |
vtkInformationVector ** | inputVector, | ||
vtkInformationVector * | outputVector | ||
) | [protected, virtual] |
Subclasses can reimplement this method to collect information from their inputs and set information for their outputs.
Reimplemented from vtkImageAlgorithm.
virtual int vtkTransmitImageDataPiece::RequestUpdateExtent | ( | vtkInformation * | , |
vtkInformationVector ** | , | ||
vtkInformationVector * | |||
) | [protected, virtual] |
Subclasses can reimplement this method to translate the update extent requests from each output port into update extent requests for the input connections.
Reimplemented from vtkImageAlgorithm.
int vtkTransmitImageDataPiece::CreateGhostCells [protected] |
Definition at line 70 of file vtkTransmitImageDataPiece.h.
Definition at line 71 of file vtkTransmitImageDataPiece.h.