VTK
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  =========================================================================*/
52 #ifndef vtkUniformGridGhostDataGenerator_h
53 #define vtkUniformGridGhostDataGenerator_h
54 
55 #include "vtkFiltersGeometryModule.h" // For export macro
57 
58 // Forward declarations
60 class vtkIndent;
62 
63 class VTKFILTERSGEOMETRY_EXPORT vtkUniformGridGhostDataGenerator :
65 {
66 public:
69  void PrintSelf(ostream& os, vtkIndent indent ) override;
70 
71 protected:
74 
78  void ComputeOrigin(vtkMultiBlockDataSet *in);
79 
83  void ComputeGlobalSpacingVector(vtkMultiBlockDataSet *in);
84 
88  void RegisterGrids(vtkMultiBlockDataSet *in);
89 
93  void CreateGhostedDataSet(
95  vtkMultiBlockDataSet *out );
96 
100  void GenerateGhostLayers(
101  vtkMultiBlockDataSet *in, vtkMultiBlockDataSet *out) override;
102 
103  double GlobalSpacing[3];
104  double GlobalOrigin[3];
106 
107 private:
109  void operator=(const vtkUniformGridGhostDataGenerator&) = delete;
110 };
111 
112 #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:39
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...