VTK  9.3.20240419
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 
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
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
a simple class to control print indentation
Definition: vtkIndent.h:108
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
Multiprocessing communication superclass.
virtual void SetController(vtkMultiProcessController *)
By default this filter uses the global controller, but this method can be used to set another instead...
static vtkTransmitUnstructuredGridPiece * New()
void SatelliteExecute(int procId, vtkUnstructuredGrid *output, vtkInformation *outInfo)
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
void RootExecute(vtkUnstructuredGrid *input, vtkUnstructuredGrid *output, vtkInformation *outInfo)
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
Superclass for algorithms that produce only unstructured grid as output.
dataset represents arbitrary combinations of all possible cell types
int vtkTypeBool
Definition: vtkABI.h:64