VTK  9.2.5
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:
92  void PrintSelf(ostream& os, vtkIndent indent) override;
93 
95 
100  vtkGetObjectMacro(Controller, vtkMultiProcessController);
102 
104 
108  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:
137 
139 
142 
147 
150 
151 private:
153  void operator=(const vtkGhostCellsGenerator&) = delete;
154 };
155 
156 #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.
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...
static vtkGhostCellsGenerator * New()
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:119
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.
@ info
Definition: vtkX3D.h:382
@ port
Definition: vtkX3D.h:453
#define VTK_INT_MAX
Definition: vtkType.h:155