VTK  9.3.0
vtkGhostCellsGenerator.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
67#ifndef vtkGhostCellsGenerator_h
68#define vtkGhostCellsGenerator_h
69
70#include "vtkFiltersParallelDIY2Module.h" // for export macros
72
73VTK_ABI_NAMESPACE_BEGIN
75
76class VTKFILTERSPARALLELDIY2_EXPORT vtkGhostCellsGenerator : public vtkPassInputTypeAlgorithm
77{
78public:
81 void PrintSelf(ostream& os, vtkIndent indent) override;
82
84
89 vtkGetObjectMacro(Controller, vtkMultiProcessController);
91
93
97 virtual void Initialize();
98
100
106 vtkSetMacro(BuildIfRequired, bool);
107 vtkGetMacro(BuildIfRequired, bool);
108 vtkBooleanMacro(BuildIfRequired, bool);
110
112
119 vtkGetMacro(NumberOfGhostLayers, int);
120 vtkSetClampMacro(NumberOfGhostLayers, int, 0, VTK_INT_MAX);
122
123protected:
126
127 int FillInputPortInformation(int port, vtkInformation* info) override;
128
131
136
139
140private:
142 void operator=(const vtkGhostCellsGenerator&) = delete;
143};
144
145VTK_ABI_NAMESPACE_END
146#endif
Computes ghost cells on vtkCompositeDataSet inputs.
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called within ProcessRequest when a request asks the algorithm to do its work.
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
static vtkGhostCellsGenerator * New()
virtual void Initialize()
Resets parameter.
vtkMultiProcessController * Controller
Local controller.
~vtkGhostCellsGenerator() 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 SetController(vtkMultiProcessController *)
Get/Set the controller to use.
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:29
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
Multiprocessing communication superclass.
Superclass for algorithms that produce output of the same type as input.
#define VTK_INT_MAX
Definition vtkType.h:144