VTK
vtkUnstructuredGridGhostCellsGenerator.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkUnstructuredGridGhostCellsGenerator.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 =========================================================================*/
15 
32 #ifndef vtkUnstructuredGridGhostCellsGenerator_h
33 #define vtkUnstructuredGridGhostCellsGenerator_h
34 
35 #include "vtkFiltersParallelModule.h" // For export macro
37 
41 
42 class VTKFILTERSPARALLEL_EXPORT vtkUnstructuredGridGhostCellsGenerator:
44 {
46 
47 public:
48  void PrintSelf(ostream& os, vtkIndent indent) override;
49 
51 
53 
57  vtkSetMacro(UseGlobalPointIds, bool);
58  vtkGetMacro(UseGlobalPointIds, bool);
59  vtkBooleanMacro(UseGlobalPointIds, bool);
61 
63 
67  vtkSetStringMacro(GlobalPointIdsArrayName);
68  vtkGetStringMacro(GlobalPointIdsArrayName);
70 
72 
80  vtkSetMacro(HasGlobalCellIds, bool);
81  vtkGetMacro(HasGlobalCellIds, bool);
82  vtkBooleanMacro(HasGlobalCellIds, bool);
84 
86 
90  vtkSetStringMacro(GlobalCellIdsArrayName);
91  vtkGetStringMacro(GlobalCellIdsArrayName);
93 
95 
101  vtkSetMacro(BuildIfRequired, bool);
102  vtkGetMacro(BuildIfRequired, bool);
103  vtkBooleanMacro(BuildIfRequired, bool);
105 
107 
114  vtkSetClampMacro(MinimumNumberOfGhostLevels, int, 1, VTK_INT_MAX);
115  vtkGetMacro(MinimumNumberOfGhostLevels, int);
117 
118 protected:
121 
124  vtkInformationVector** inputVector,
125  vtkInformationVector* outputVector) override;
126 
128  vtkInformationVector *) override;
129 
136 
137 private:
139  void operator=(const vtkUnstructuredGridGhostCellsGenerator&) = delete;
140 };
141 
142 #endif
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.
Store vtkAlgorithm input/output information.
#define VTK_INT_MAX
Definition: vtkType.h:159
static vtkUnstructuredGridAlgorithm * New()
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:39
dataset represents arbitrary combinations of all possible cell types
Superclass for algorithms that produce only unstructured grid as output.
Builds ghost cells for a distributed unstructured grid dataset.
Store zero or more vtkInformation instances.
virtual int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
dataset represents arbitrary combinations of all possible cell types.
Multiprocessing communication superclass.