VTK  9.3.20240424
vtkTransmitPolyDataPiece.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 vtkTransmitPolyDataPiece_h
15#define vtkTransmitPolyDataPiece_h
16
17#include "vtkFiltersParallelModule.h" // For export macro
19
20VTK_ABI_NAMESPACE_BEGIN
22
23class VTKFILTERSPARALLEL_EXPORT vtkTransmitPolyDataPiece : public vtkPolyDataAlgorithm
24{
25public:
28 void PrintSelf(ostream& os, vtkIndent indent) override;
29
31
36 vtkGetObjectMacro(Controller, vtkMultiProcessController);
38
40
43 vtkSetMacro(CreateGhostCells, vtkTypeBool);
44 vtkGetMacro(CreateGhostCells, vtkTypeBool);
45 vtkBooleanMacro(CreateGhostCells, vtkTypeBool);
47
48protected:
51
52 // Data generation method
54 void RootExecute(vtkPolyData* input, vtkPolyData* output, vtkInformation* outInfo);
55 void SatelliteExecute(int procId, vtkPolyData* output, vtkInformation* outInfo);
56
59
60private:
62 void operator=(const vtkTransmitPolyDataPiece&) = delete;
63};
64
65VTK_ABI_NAMESPACE_END
66#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.
Superclass for algorithms that produce only polydata as output.
concrete dataset represents vertices, lines, polygons, and triangle strips
~vtkTransmitPolyDataPiece() override
virtual void SetController(vtkMultiProcessController *)
By default this filter uses the global controller, but this method can be used to set another instead...
void SatelliteExecute(int procId, vtkPolyData *output, vtkInformation *outInfo)
void RootExecute(vtkPolyData *input, vtkPolyData *output, vtkInformation *outInfo)
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkMultiProcessController * Controller
static vtkTransmitPolyDataPiece * New()
int vtkTypeBool
Definition vtkABI.h:64