VTK  9.3.20240420
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
20VTK_ABI_NAMESPACE_BEGIN
22
23class VTKFILTERSPARALLEL_EXPORT vtkTransmitStructuredDataPiece : public vtkDataSetAlgorithm
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(vtkDataSet* input, vtkDataSet* output, vtkInformation* outInfo);
55 void SatelliteExecute(int procId, vtkDataSet* output, vtkInformation* outInfo);
58
61
62private:
64 void operator=(const vtkTransmitStructuredDataPiece&) = delete;
65};
66
67VTK_ABI_NAMESPACE_END
68#endif
Superclass for algorithms that produce output of the same type as input.
abstract class to specify dataset behavior
Definition vtkDataSet.h:166
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.
int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called within ProcessRequest when a request asks for Information.
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called within ProcessRequest when a request asks the algorithm to do its work.
static vtkTransmitStructuredDataPiece * New()
void SatelliteExecute(int procId, vtkDataSet *output, vtkInformation *outInfo)
~vtkTransmitStructuredDataPiece() override
int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called within ProcessRequest when each filter in the pipeline decides what portion of its inp...
void RootExecute(vtkDataSet *input, vtkDataSet *output, vtkInformation *outInfo)
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
virtual void SetController(vtkMultiProcessController *)
By default this filter uses the global controller, but this method can be used to set another instead...
int vtkTypeBool
Definition vtkABI.h:64