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
=========================================================================*/
49
#ifndef vtkUniformGridGhostDataGenerator_h
50
#define vtkUniformGridGhostDataGenerator_h
51
52
#include "vtkFiltersGeometryModule.h"
// For export macro
53
#include "
vtkDataSetGhostGenerator.h
"
54
55
// Forward declarations
56
class
vtkMultiBlockDataSet
;
57
class
vtkIndent
;
58
class
vtkStructuredGridConnectivity
;
59
60
class
VTKFILTERSGEOMETRY_EXPORT
vtkUniformGridGhostDataGenerator
:
61
public
vtkDataSetGhostGenerator
62
{
63
public
:
64
static
vtkUniformGridGhostDataGenerator
*
New
();
65
vtkTypeMacro(
vtkUniformGridGhostDataGenerator
,
vtkDataSetGhostGenerator
);
66
void
PrintSelf
(ostream& os,
vtkIndent
indent )
override
;
67
68
protected
:
69
vtkUniformGridGhostDataGenerator
();
70
~
vtkUniformGridGhostDataGenerator
()
override
;
71
75
void
ComputeOrigin(
vtkMultiBlockDataSet
*in);
76
80
void
ComputeGlobalSpacingVector(
vtkMultiBlockDataSet
*in);
81
85
void
RegisterGrids(
vtkMultiBlockDataSet
*in);
86
90
void
CreateGhostedDataSet(
91
vtkMultiBlockDataSet
*in,
92
vtkMultiBlockDataSet
*out );
93
97
void
GenerateGhostLayers
(
98
vtkMultiBlockDataSet
*in,
vtkMultiBlockDataSet
*out)
override
;
99
100
double
GlobalSpacing[3];
101
double
GlobalOrigin[3];
102
vtkStructuredGridConnectivity
*
GridConnectivity
;
103
104
private
:
105
vtkUniformGridGhostDataGenerator
(
const
vtkUniformGridGhostDataGenerator
&) =
delete
;
106
void
operator=(
const
vtkUniformGridGhostDataGenerator
&) =
delete
;
107
};
108
109
#endif
/* vtkUniformGridGhostDataGenerator_h */
vtkMultiBlockDataSetAlgorithm::New
static vtkMultiBlockDataSetAlgorithm * New()
vtkUniformGridGhostDataGenerator
Definition:
vtkUniformGridGhostDataGenerator.h:60
vtkMultiBlockDataSet
Composite dataset that organizes datasets into blocks.
Definition:
vtkMultiBlockDataSet.h:45
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:57
vtkIndent
a simple class to control print indentation
Definition:
vtkIndent.h:33
vtkDataSetGhostGenerator::GenerateGhostLayers
virtual void GenerateGhostLayers(vtkMultiBlockDataSet *in, vtkMultiBlockDataSet *out)=0
Generate ghost layers.
vtkDataSetGhostGenerator.h
vtkUniformGridGhostDataGenerator::GridConnectivity
vtkStructuredGridConnectivity * GridConnectivity
Definition:
vtkUniformGridGhostDataGenerator.h:102
vtkDataSetGhostGenerator
Definition:
vtkDataSetGhostGenerator.h:42
Generated by
1.8.16