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=========================================================================*/
76#ifndef vtkGhostCellsGenerator_h
77#define vtkGhostCellsGenerator_h
78
79#include "vtkFiltersParallelDIY2Module.h" // for export macros
81
83
84class VTKFILTERSPARALLELDIY2_EXPORT vtkGhostCellsGenerator : public vtkPassInputTypeAlgorithm
85{
86public:
89 void PrintSelf(ostream& os, vtkIndent indent) override;
90
92
97 vtkGetObjectMacro(Controller, vtkMultiProcessController);
99
101
105 virtual void Initialize();
106
108
114 vtkSetMacro(BuildIfRequired, bool);
115 vtkGetMacro(BuildIfRequired, bool);
116 vtkBooleanMacro(BuildIfRequired, bool);
118
120
127 vtkGetMacro(NumberOfGhostLayers, int);
128 vtkSetClampMacro(NumberOfGhostLayers, int, 0, VTK_INT_MAX);
130
131protected:
134
135 int FillInputPortInformation(int port, vtkInformation* info) override;
136
139
144
147
148private:
150 void operator=(const vtkGhostCellsGenerator&) = delete;
151};
152
153#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:34
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:155