VTK  9.3.0
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
18 #include "vtkPolyDataAlgorithm.h"
19 
20 VTK_ABI_NAMESPACE_BEGIN
22 
23 class VTKFILTERSPARALLEL_EXPORT vtkTransmitPolyDataPiece : public vtkPolyDataAlgorithm
24 {
25 public:
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 
48 protected:
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 
60 private:
62  void operator=(const vtkTransmitPolyDataPiece&) = delete;
63 };
64 
65 VTK_ABI_NAMESPACE_END
66 #endif
a simple class to control print indentation
Definition: vtkIndent.h:29
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
Definition: vtkPolyData.h:80
static vtkTransmitPolyDataPiece * New()
~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
int vtkTypeBool
Definition: vtkABI.h:64