VMTK
Loading...
Searching...
No Matches
Contrib
vtkvmtkBoundaryLayerGenerator2.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: VMTK
4
5
Copyright (c) Luca Antiga, David Steinman. All rights reserved.
6
See LICENSE file for details.
7
8
Portions of this code are covered under the VTK copyright.
9
See VTKCopyright.txt or http://www.kitware.com/VTKCopyright.htm
10
for details.
11
12
This software is distributed WITHOUT ANY WARRANTY; without even
13
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
14
PURPOSE. See the above copyright notices for more information.
15
16
Note: this class was contributed by
17
Tangui Morvan
18
Kalkulo AS
19
Simula Research Laboratory
20
=========================================================================*/
30
31
#ifndef __vtkvmtkBoundaryLayerGenerator2_h
32
#define __vtkvmtkBoundaryLayerGenerator2_h
33
34
#include "
vtkvmtkBoundaryLayerGenerator.h
"
35
#include "vtkvmtkWin32Header.h"
36
37
class
vtkPoints;
38
class
vtkDataArray;
39
class
vtkOrderedTriangulator;
40
41
class
VTK_VMTK_CONTRIB_EXPORT
vtkvmtkBoundaryLayerGenerator2
:
public
vtkvmtkBoundaryLayerGenerator
42
{
43
public
:
44
vtkTypeMacro(
vtkvmtkBoundaryLayerGenerator2
,
vtkvmtkBoundaryLayerGenerator
);
45
void
PrintSelf
(std::ostream& os, vtkIndent indent)
override
;
46
47
static
vtkvmtkBoundaryLayerGenerator2
*
New
();
48
49
// vtkGetStringMacro(CellEntityIdsArrayName);
50
// vtkSetStringMacro(CellEntityIdsArrayName);
51
53
59
vtkGetStringMacro(
OpenProfilesIdsArrayName
);
60
vtkSetStringMacro(
OpenProfilesIdsArrayName
);
62
64
69
vtkGetMacro(
IncludeExtrudedOpenProfilesCells
,
int
);
70
vtkSetMacro(
IncludeExtrudedOpenProfilesCells
,
int
);
71
vtkBooleanMacro(
IncludeExtrudedOpenProfilesCells
,
int
);
73
75
79
vtkGetMacro(
IncludeExtrudedSurfaceCells
,
int
);
80
vtkSetMacro(
IncludeExtrudedSurfaceCells
,
int
);
81
vtkBooleanMacro(
IncludeExtrudedSurfaceCells
,
int
);
83
85
89
vtkGetMacro(
IncludeOriginalSurfaceCells
,
int
);
90
vtkSetMacro(
IncludeOriginalSurfaceCells
,
int
);
91
vtkBooleanMacro(
IncludeOriginalSurfaceCells
,
int
);
93
95
98
vtkGetMacro(
LayerEntityId
,
int
);
99
vtkSetMacro(
LayerEntityId
,
int
);
101
103
106
vtkGetMacro(
SurfaceEntityId
,
int
);
107
vtkSetMacro(
SurfaceEntityId
,
int
);
109
111
114
vtkGetMacro(
OpenProfilesEntityId
,
int
);
115
vtkSetMacro(
OpenProfilesEntityId
,
int
);
117
118
protected
:
119
vtkvmtkBoundaryLayerGenerator2
();
120
~vtkvmtkBoundaryLayerGenerator2
();
121
122
virtual
int
RequestData
(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
override
;
123
124
// char *CellEntityIdsArrayName;
125
126
//A per-vertex array indicating which vertices are situated on the open profiles of the surface.
127
//Elements with value -1 are assumed to be on the inner surface
128
char
*
OpenProfilesIdsArrayName
;
129
130
int
IncludeExtrudedOpenProfilesCells
;
131
int
IncludeExtrudedSurfaceCells
;
132
int
IncludeOriginalSurfaceCells
;
133
134
int
LayerEntityId
;
135
int
SurfaceEntityId
;
136
int
OpenProfilesEntityId
;
137
138
// Used to triangulate 3D cells
139
vtkOrderedTriangulator *
Triangulator
;
140
141
private
:
142
vtkvmtkBoundaryLayerGenerator2
(
const
vtkvmtkBoundaryLayerGenerator2
&);
// Not implemented.
143
void
operator=(
const
vtkvmtkBoundaryLayerGenerator2
&);
// Not implemented.
144
};
145
146
#endif
vtkvmtkBoundaryLayerGenerator2::OpenProfilesEntityId
int OpenProfilesEntityId
Definition
vtkvmtkBoundaryLayerGenerator2.h:136
vtkvmtkBoundaryLayerGenerator2::SurfaceEntityId
int SurfaceEntityId
Definition
vtkvmtkBoundaryLayerGenerator2.h:135
vtkvmtkBoundaryLayerGenerator2::Triangulator
vtkOrderedTriangulator * Triangulator
Definition
vtkvmtkBoundaryLayerGenerator2.h:139
vtkvmtkBoundaryLayerGenerator2::OpenProfilesIdsArrayName
char * OpenProfilesIdsArrayName
Definition
vtkvmtkBoundaryLayerGenerator2.h:128
vtkvmtkBoundaryLayerGenerator2::IncludeOriginalSurfaceCells
int IncludeOriginalSurfaceCells
Definition
vtkvmtkBoundaryLayerGenerator2.h:132
vtkvmtkBoundaryLayerGenerator2::New
static vtkvmtkBoundaryLayerGenerator2 * New()
vtkvmtkBoundaryLayerGenerator2::IncludeExtrudedOpenProfilesCells
int IncludeExtrudedOpenProfilesCells
Definition
vtkvmtkBoundaryLayerGenerator2.h:130
vtkvmtkBoundaryLayerGenerator2::vtkvmtkBoundaryLayerGenerator2
vtkvmtkBoundaryLayerGenerator2()
Definition
vtkvmtkBoundaryLayerGenerator2.cxx:50
vtkvmtkBoundaryLayerGenerator2::LayerEntityId
int LayerEntityId
Definition
vtkvmtkBoundaryLayerGenerator2.h:134
vtkvmtkBoundaryLayerGenerator2::IncludeExtrudedSurfaceCells
int IncludeExtrudedSurfaceCells
Definition
vtkvmtkBoundaryLayerGenerator2.h:131
vtkvmtkBoundaryLayerGenerator::RequestData
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
Definition
vtkvmtkBoundaryLayerGenerator.cxx:105
vtkvmtkBoundaryLayerGenerator::PrintSelf
void PrintSelf(std::ostream &os, vtkIndent indent) override
Definition
vtkvmtkBoundaryLayerGenerator.cxx:969
vtkvmtkBoundaryLayerGenerator::vtkvmtkBoundaryLayerGenerator
vtkvmtkBoundaryLayerGenerator()
Definition
vtkvmtkBoundaryLayerGenerator.cxx:43
vtkvmtkBoundaryLayerGenerator.h
Generated by
1.15.0