VTK  9.3.1
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 
73 VTK_ABI_NAMESPACE_BEGIN
75 
76 class VTKFILTERSPARALLELDIY2_EXPORT vtkGhostCellsGenerator : public vtkPassInputTypeAlgorithm
77 {
78 public:
79  static vtkGhostCellsGenerator* New();
81  void PrintSelf(ostream& os, vtkIndent indent) override;
82 
84 
88  void SetController(vtkMultiProcessController*);
89  vtkGetObjectMacro(Controller, vtkMultiProcessController);
91 
93 
96  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 
123 protected:
125  ~vtkGhostCellsGenerator() override;
126 
127  int FillInputPortInformation(int port, vtkInformation* info) override;
128 
131 
136 
139 
140 private:
142  void operator=(const vtkGhostCellsGenerator&) = delete;
143 };
144 
145 VTK_ABI_NAMESPACE_END
146 #endif
Superclass for algorithms that produce output of the same type as input.
Store vtkAlgorithm input/output information.
#define VTK_INT_MAX
Definition: vtkType.h:144
Computes ghost cells on vtkCompositeDataSet inputs.
virtual int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called within ProcessRequest when each filter in the pipeline decides what portion of its inp...
a simple class to control print indentation
Definition: vtkIndent.h:28
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkMultiProcessController * Controller
Local controller.
Store zero or more vtkInformation instances.
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called within ProcessRequest when a request asks the algorithm to do its work.
static vtkPassInputTypeAlgorithm * New()
Multiprocessing communication superclass.