VTK  9.3.1
vtkTransmitUnstructuredGridPiece.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2 // SPDX-License-Identifier: BSD-3-Clause
14 #ifndef vtkTransmitUnstructuredGridPiece_h
15 #define vtkTransmitUnstructuredGridPiece_h
16 
17 #include "vtkFiltersParallelModule.h" // For export macro
19 
20 VTK_ABI_NAMESPACE_BEGIN
22 
23 class VTKFILTERSPARALLEL_EXPORT vtkTransmitUnstructuredGridPiece
25 {
26 public:
29  void PrintSelf(ostream& os, vtkIndent indent) override;
30 
32 
36  virtual void SetController(vtkMultiProcessController*);
37  vtkGetObjectMacro(Controller, vtkMultiProcessController);
39 
41 
44  vtkSetMacro(CreateGhostCells, vtkTypeBool);
45  vtkGetMacro(CreateGhostCells, vtkTypeBool);
46  vtkBooleanMacro(CreateGhostCells, vtkTypeBool);
48 
49 protected:
52 
53  // Data generation method
55  void RootExecute(
56  vtkUnstructuredGrid* input, vtkUnstructuredGrid* output, vtkInformation* outInfo);
57  void SatelliteExecute(int procId, vtkUnstructuredGrid* output, vtkInformation* outInfo);
58 
61 
62 private:
64  void operator=(const vtkTransmitUnstructuredGridPiece&) = delete;
65 };
66 
67 VTK_ABI_NAMESPACE_END
68 #endif
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.
Store vtkAlgorithm input/output information.
static vtkUnstructuredGridAlgorithm * New()
int vtkTypeBool
Definition: vtkABI.h:64
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
a simple class to control print indentation
Definition: vtkIndent.h:28
dataset represents arbitrary combinations of all possible cell types
Superclass for algorithms that produce only unstructured grid as output.
Store zero or more vtkInformation instances.
Multiprocessing communication superclass.