VTK  9.2.6
vtkDataSetGhostGenerator.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkDataSetGhostGenerator.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  =========================================================================*/
31 #ifndef vtkDataSetGhostGenerator_h
32 #define vtkDataSetGhostGenerator_h
33 
34 #include "vtkDeprecation.h" // For VTK_DEPRECATED_IN_9_1_0
35 #include "vtkFiltersGeometryModule.h" // For export macro
37 
38 // Forward Declarations
39 class vtkInformation;
42 
44  "Use vtkGhostCellsGenerator instead") VTKFILTERSGEOMETRY_EXPORT vtkDataSetGhostGenerator
46 {
47 public:
49  void PrintSelf(ostream& os, vtkIndent indent) override;
50 
52 
55  vtkSetMacro(NumberOfGhostLayers, int);
56  vtkGetMacro(NumberOfGhostLayers, int);
58 
59  // Standard VTK pipeline routines
62 
63  int RequestData(vtkInformation* rqst, vtkInformationVector** inputVector,
64  vtkInformationVector* outputVector) override;
65 
66 protected:
68  ~vtkDataSetGhostGenerator() override;
69 
73  virtual void GenerateGhostLayers(vtkMultiBlockDataSet* in, vtkMultiBlockDataSet* out) = 0;
74 
76 
77 private:
79  void operator=(const vtkDataSetGhostGenerator&) = delete;
80 };
81 
82 #endif /* vtkDataSetGhostGenerator_h */
83 
84 // VTK-HeaderTest-Exclude: vtkDataSetGhostGenerator.h
#define VTK_DEPRECATED_IN_9_1_0(reason)
Store vtkAlgorithm input/output information.
Superclass for algorithms that produce only vtkMultiBlockDataSet as output.
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
int FillOutputPortInformation(int port, vtkInformation *info) override
Fill the output port information objects for this algorithm.
Computes ghost cells on vtkCompositeDataSet inputs.
a simple class to control print indentation
Definition: vtkIndent.h:39
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
Composite dataset that organizes datasets into blocks.
Store zero or more vtkInformation instances.
An abstract class that provides common functionality and implements an interface for all ghost data g...