VTK  9.3.1
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:
26  static vtkTransmitPolyDataPiece* New();
28  void PrintSelf(ostream& os, vtkIndent indent) override;
29 
31 
35  virtual void SetController(vtkMultiProcessController*);
36  vtkGetObjectMacro(Controller, vtkMultiProcessController);
38 
40 
43  vtkSetMacro(CreateGhostCells, vtkTypeBool);
44  vtkGetMacro(CreateGhostCells, vtkTypeBool);
45  vtkBooleanMacro(CreateGhostCells, vtkTypeBool);
47 
48 protected:
50  ~vtkTransmitPolyDataPiece() override;
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
Store vtkAlgorithm input/output information.
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.
concrete dataset represents vertices, lines, polygons, and triangle strips
Definition: vtkPolyData.h:79
static vtkPolyDataAlgorithm * New()
int vtkTypeBool
Definition: vtkABI.h:64
Superclass for algorithms that produce only polydata as output.
a simple class to control print indentation
Definition: vtkIndent.h:28
Store zero or more vtkInformation instances.
vtkMultiProcessController * Controller
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
Multiprocessing communication superclass.