VTK
dox
Filters
Geometry
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
56
#include "
vtkDataSetGhostGenerator.h
"
57
58
// Forward declarations
59
class
vtkMultiBlockDataSet
;
60
class
vtkIndent
;
61
class
vtkStructuredGridConnectivity
;
62
63
class
VTKFILTERSGEOMETRY_EXPORT
vtkUniformGridGhostDataGenerator
:
64
public
vtkDataSetGhostGenerator
65
{
66
public
:
67
static
vtkUniformGridGhostDataGenerator
*
New
();
68
vtkTypeMacro(
vtkUniformGridGhostDataGenerator
,
vtkDataSetGhostGenerator
);
69
void
PrintSelf
(ostream& os,
vtkIndent
indent )
override
;
70
71
protected
:
72
vtkUniformGridGhostDataGenerator
();
73
~
vtkUniformGridGhostDataGenerator
()
override
;
74
78
void
ComputeOrigin(
vtkMultiBlockDataSet
*in);
79
83
void
ComputeGlobalSpacingVector(
vtkMultiBlockDataSet
*in);
84
88
void
RegisterGrids(
vtkMultiBlockDataSet
*in);
89
93
void
CreateGhostedDataSet(
94
vtkMultiBlockDataSet
*in,
95
vtkMultiBlockDataSet
*out );
96
100
void
GenerateGhostLayers
(
101
vtkMultiBlockDataSet
*in,
vtkMultiBlockDataSet
*out)
override
;
102
103
double
GlobalSpacing[3];
104
double
GlobalOrigin[3];
105
vtkStructuredGridConnectivity
*
GridConnectivity
;
106
107
private
:
108
vtkUniformGridGhostDataGenerator
(
const
vtkUniformGridGhostDataGenerator
&) =
delete
;
109
void
operator=(
const
vtkUniformGridGhostDataGenerator
&) =
delete
;
110
};
111
112
#endif
/* vtkUniformGridGhostDataGenerator_h */
vtkMultiBlockDataSetAlgorithm::New
static vtkMultiBlockDataSetAlgorithm * New()
vtkUniformGridGhostDataGenerator
Definition:
vtkUniformGridGhostDataGenerator.h:63
vtkMultiBlockDataSet
Composite dataset that organizes datasets into blocks.
Definition:
vtkMultiBlockDataSet.h:51
vtkDataSetGhostGenerator::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkStructuredGridConnectivity
Definition:
vtkStructuredGridConnectivity.h:60
vtkIndent
a simple class to control print indentation
Definition:
vtkIndent.h:39
vtkDataSetGhostGenerator::GenerateGhostLayers
virtual void GenerateGhostLayers(vtkMultiBlockDataSet *in, vtkMultiBlockDataSet *out)=0
Generate ghost layers.
vtkDataSetGhostGenerator.h
vtkUniformGridGhostDataGenerator::GridConnectivity
vtkStructuredGridConnectivity * GridConnectivity
Definition:
vtkUniformGridGhostDataGenerator.h:105
vtkDataSetGhostGenerator
Definition:
vtkDataSetGhostGenerator.h:42
Generated by
1.8.16