VTK  9.0.1
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 class VTKFILTERSGEOMETRY_EXPORT vtkUniformGridGhostDataGenerator : public vtkDataSetGhostGenerator
61 {
62 public:
65  void PrintSelf(ostream& os, vtkIndent indent) override;
66 
67 protected:
70 
74  void ComputeOrigin(vtkMultiBlockDataSet* in);
75 
79  void ComputeGlobalSpacingVector(vtkMultiBlockDataSet* in);
80 
84  void RegisterGrids(vtkMultiBlockDataSet* in);
85 
89  void CreateGhostedDataSet(vtkMultiBlockDataSet* in, vtkMultiBlockDataSet* out);
90 
95 
96  double GlobalSpacing[3];
97  double GlobalOrigin[3];
99 
100 private:
102  void operator=(const vtkUniformGridGhostDataGenerator&) = delete;
103 };
104 
105 #endif /* vtkUniformGridGhostDataGenerator_h */
virtual void GenerateGhostLayers(vtkMultiBlockDataSet *in, vtkMultiBlockDataSet *out)=0
Generate ghost layers.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
static vtkMultiBlockDataSetAlgorithm * New()
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:33
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...