VTK  9.1.0
vtkTransmitStructuredDataPiece.h
Go to the documentation of this file.
1/*=========================================================================
2
3 Program: Visualization Toolkit
4 Module: vtkTransmitStructuredDataPiece.h
5
6 Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7 All rights reserved.
8 See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9
10 This software is distributed WITHOUT ANY WARRANTY; without even
11 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12 PURPOSE. See the above copyright notice for more information.
13
14=========================================================================*/
26#ifndef vtkTransmitStructuredDataPiece_h
27#define vtkTransmitStructuredDataPiece_h
28
29#include "vtkDataSetAlgorithm.h"
30#include "vtkFiltersParallelModule.h" // For export macro
31
33
34class VTKFILTERSPARALLEL_EXPORT vtkTransmitStructuredDataPiece : public vtkDataSetAlgorithm
35{
36public:
39 void PrintSelf(ostream& os, vtkIndent indent) override;
40
42
47 vtkGetObjectMacro(Controller, vtkMultiProcessController);
49
51
54 vtkSetMacro(CreateGhostCells, vtkTypeBool);
55 vtkGetMacro(CreateGhostCells, vtkTypeBool);
56 vtkBooleanMacro(CreateGhostCells, vtkTypeBool);
58
59protected:
62
63 // Data generation method
65 void RootExecute(vtkDataSet* input, vtkDataSet* output, vtkInformation* outInfo);
66 void SatelliteExecute(int procId, vtkDataSet* output, vtkInformation* outInfo);
69
72
73private:
75 void operator=(const vtkTransmitStructuredDataPiece&) = delete;
76};
77
78#endif
Superclass for algorithms that produce output of the same type as input.
abstract class to specify dataset behavior
Definition: vtkDataSet.h:166
a simple class to control print indentation
Definition: vtkIndent.h:113
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
Multiprocessing communication superclass.
int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called within ProcessRequest when a request asks for Information.
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called within ProcessRequest when a request asks the algorithm to do its work.
static vtkTransmitStructuredDataPiece * New()
void SatelliteExecute(int procId, vtkDataSet *output, vtkInformation *outInfo)
~vtkTransmitStructuredDataPiece() override
int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called within ProcessRequest when each filter in the pipeline decides what portion of its inp...
void RootExecute(vtkDataSet *input, vtkDataSet *output, vtkInformation *outInfo)
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
virtual void SetController(vtkMultiProcessController *)
By default this filter uses the global controller, but this method can be used to set another instead...
int vtkTypeBool
Definition: vtkABI.h:69