VTK  9.3.1
vtkTransmitStructuredDataPiece.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 vtkTransmitStructuredDataPiece_h
15 #define vtkTransmitStructuredDataPiece_h
16 
17 #include "vtkDataSetAlgorithm.h"
18 #include "vtkFiltersParallelModule.h" // For export macro
19 
20 VTK_ABI_NAMESPACE_BEGIN
22 
23 class VTKFILTERSPARALLEL_EXPORT vtkTransmitStructuredDataPiece : public vtkDataSetAlgorithm
24 {
25 public:
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:
51 
52  // Data generation method
54  void RootExecute(vtkDataSet* input, vtkDataSet* output, vtkInformation* outInfo);
55  void SatelliteExecute(int procId, vtkDataSet* output, vtkInformation* outInfo);
58 
61 
62 private:
64  void operator=(const vtkTransmitStructuredDataPiece&) = delete;
65 };
66 
67 VTK_ABI_NAMESPACE_END
68 #endif
Store vtkAlgorithm input/output information.
abstract class to specify dataset behavior
Definition: vtkDataSet.h:52
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
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called within ProcessRequest when a request asks the algorithm to do its work.
virtual int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called within ProcessRequest when each filter in the pipeline decides what portion of its inp...
virtual int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called within ProcessRequest when a request asks for Information.
Store zero or more vtkInformation instances.
Superclass for algorithms that produce output of the same type as input.
static vtkDataSetAlgorithm * New()
Multiprocessing communication superclass.