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=========================================================================*/
78
79#ifndef vtkGhostCellsGenerator_h
80#define vtkGhostCellsGenerator_h
81
82#include "vtkFiltersParallelDIY2Module.h" // for export macros
84
86
87class VTKFILTERSPARALLELDIY2_EXPORT vtkGhostCellsGenerator : public vtkPassInputTypeAlgorithm
88{
89public:
92 void PrintSelf(ostream& os, vtkIndent indent) override;
93
95
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
134protected:
137
138 int FillInputPortInformation(int port, vtkInformation* info) override;
139
142
147
150
151private:
153 void operator=(const vtkGhostCellsGenerator&) = delete;
154};
155
156#endif
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:40
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
Multiprocessing communication superclass.
#define VTK_INT_MAX
Definition vtkType.h:155