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  =========================================================================*/
51 #ifndef VTKUNIFORMGRIDGHOSTDATAGENERATOR_H_
52 #define VTKUNIFORMGRIDGHOSTDATAGENERATOR_H_
53 
54 #include "vtkFiltersGeometryModule.h" // For export macro
56 
57 // Forward declarations
59 class vtkIndent;
61 
64 {
65 public:
68  void PrintSelf(ostream& os, vtkIndent indent );
69 
70 protected:
73 
75  void ComputeOrigin(vtkMultiBlockDataSet *in);
76 
78  void ComputeGlobalSpacingVector(vtkMultiBlockDataSet *in);
79 
81  void RegisterGrids(vtkMultiBlockDataSet *in);
82 
84 
85  void CreateGhostedDataSet(
87  vtkMultiBlockDataSet *out );
89 
91 
95 
96  double GlobalSpacing[3];
97  double GlobalOrigin[3];
99 
100 private:
102  void operator=(const vtkUniformGridGhostDataGenerator&); // Not implemented
103 };
104 
105 #endif /* VTKUNIFORMGRIDGHOSTDATAGENERATOR_H_ */
virtual void GenerateGhostLayers(vtkMultiBlockDataSet *in, vtkMultiBlockDataSet *out)=0
GLuint in
Definition: vtkgl.h:16905
#define vtkTypeMacro(thisClass, superclass)
Definition: vtkSetGet.h:642
static vtkMultiBlockDataSetAlgorithm * New()
a simple class to control print indentation
Definition: vtkIndent.h:38
vtkStructuredGridConnectivity * GridConnectivity
Composite dataset that organizes datasets into blocks.
void PrintSelf(ostream &os, vtkIndent indent)
#define VTKFILTERSGEOMETRY_EXPORT