VMTK
Loading...
Searching...
No Matches
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
35#include "vtkvmtkWin32Header.h"
36
37class vtkPoints;
38class vtkDataArray;
39class vtkOrderedTriangulator;
40
42{
43 public:
45 void PrintSelf(std::ostream& os, vtkIndent indent) override;
46
48
49 // vtkGetStringMacro(CellEntityIdsArrayName);
50 // vtkSetStringMacro(CellEntityIdsArrayName);
51
53
59 vtkGetStringMacro(OpenProfilesIdsArrayName);
60 vtkSetStringMacro(OpenProfilesIdsArrayName);
62
64
73
75
81 vtkBooleanMacro(IncludeExtrudedSurfaceCells,int);
83
85
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:
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
129
133
137
138 // Used to triangulate 3D cells
139 vtkOrderedTriangulator *Triangulator;
140
141 private:
143 void operator=(const vtkvmtkBoundaryLayerGenerator2&); // Not implemented.
144};
145
146#endif
static vtkvmtkBoundaryLayerGenerator2 * New()
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
void PrintSelf(std::ostream &os, vtkIndent indent) override