VTK  9.1.0
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=========================================================================*/
51#ifndef vtkGhostCellsGenerator_h
52#define vtkGhostCellsGenerator_h
53
54#include "vtkFiltersParallelDIY2Module.h" // for export macros
56
58
59class VTKFILTERSPARALLELDIY2_EXPORT vtkGhostCellsGenerator : public vtkPassInputTypeAlgorithm
60{
61public:
64 void PrintSelf(ostream& os, vtkIndent indent) override;
65
67
72 vtkGetObjectMacro(Controller, vtkMultiProcessController);
74
76
80 virtual void Initialize();
81
83
89 vtkSetMacro(BuildIfRequired, bool);
90 vtkGetMacro(BuildIfRequired, bool);
91 vtkBooleanMacro(BuildIfRequired, bool);
93
95
102 vtkGetMacro(NumberOfGhostLayers, int);
103 vtkSetClampMacro(NumberOfGhostLayers, int, 1, VTK_INT_MAX);
105
106protected:
109
111
114
119
122
123private:
125 void operator=(const vtkGhostCellsGenerator&) = delete;
126};
127
128#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:113
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