VTK  9.2.6
vtkGhostCellsGenerator.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkGhostCellsGenerator.h
5 
6  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7  All rights reserved.
8  See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9 
10  This software is distributed WITHOUT ANY WARRANTY; without even
11  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12  PURPOSE. See the above copyright notice for more information.
13 
14 =========================================================================*/
79 #ifndef vtkGhostCellsGenerator_h
80 #define vtkGhostCellsGenerator_h
81 
82 #include "vtkFiltersParallelDIY2Module.h" // for export macros
84 
86 
87 class VTKFILTERSPARALLELDIY2_EXPORT vtkGhostCellsGenerator : public vtkPassInputTypeAlgorithm
88 {
89 public:
90  static vtkGhostCellsGenerator* New();
92  void PrintSelf(ostream& os, vtkIndent indent) override;
93 
95 
99  void SetController(vtkMultiProcessController*);
100  vtkGetObjectMacro(Controller, vtkMultiProcessController);
102 
104 
107  virtual void Initialize();
109 
111 
117  vtkSetMacro(BuildIfRequired, bool);
118  vtkGetMacro(BuildIfRequired, bool);
119  vtkBooleanMacro(BuildIfRequired, bool);
121 
123 
130  vtkGetMacro(NumberOfGhostLayers, int);
131  vtkSetClampMacro(NumberOfGhostLayers, int, 0, VTK_INT_MAX);
133 
134 protected:
136  ~vtkGhostCellsGenerator() override;
137 
138  int FillInputPortInformation(int port, vtkInformation* info) override;
139 
142 
147 
150 
151 private:
153  void operator=(const vtkGhostCellsGenerator&) = delete;
154 };
155 
156 #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:155
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:39
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.