VTK  9.2.6
vtkUniformGridGhostDataGenerator.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkUniformGridGhostDataGenerator.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  =========================================================================*/
49 #ifndef vtkUniformGridGhostDataGenerator_h
50 #define vtkUniformGridGhostDataGenerator_h
51 
53 #include "vtkFiltersGeometryModule.h" // For export macro
54 
55 // Forward declarations
57 class vtkIndent;
59 
60 VTK_DEPRECATED_IN_9_1_0("Use vtkGhostCellsGenerator instead")
61 class VTKFILTERSGEOMETRY_EXPORT vtkUniformGridGhostDataGenerator : public vtkDataSetGhostGenerator
62 {
63 public:
65  vtkTypeMacro(vtkUniformGridGhostDataGenerator, vtkDataSetGhostGenerator);
66  void PrintSelf(ostream& os, vtkIndent indent) override;
67 
68 protected:
71 
75  void ComputeOrigin(vtkMultiBlockDataSet* in);
76 
80  void ComputeGlobalSpacingVector(vtkMultiBlockDataSet* in);
81 
85  void RegisterGrids(vtkMultiBlockDataSet* in);
86 
90  void CreateGhostedDataSet(vtkMultiBlockDataSet* in, vtkMultiBlockDataSet* out);
91 
95  void GenerateGhostLayers(vtkMultiBlockDataSet* in, vtkMultiBlockDataSet* out) override;
96 
97  double GlobalSpacing[3];
98  double GlobalOrigin[3];
100 
101 private:
103  void operator=(const vtkUniformGridGhostDataGenerator&) = delete;
104 };
105 
106 #endif /* vtkUniformGridGhostDataGenerator_h */
#define VTK_DEPRECATED_IN_9_1_0(reason)
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkStructuredGridConnectivity is a concrete instance of vtkObject that implements functionality for c...
A concrete implementation of vtkDataSetGhostGenerator for generating ghost data on partitioned unifor...
a simple class to control print indentation
Definition: vtkIndent.h:39
static vtkStructuredGridConnectivity * New()
vtkStructuredGridConnectivity * GridConnectivity
Composite dataset that organizes datasets into blocks.
An abstract class that provides common functionality and implements an interface for all ghost data g...