VTK
9.6.2
Main Page
Related Pages
Topics
Namespaces
Classes
Files
File List
File Members
Common
DataModel
vtkCellGridSidesQuery.h
Go to the documentation of this file.
1
// SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2
// SPDX-License-Identifier: BSD-3-Clause
3
#ifndef vtkCellGridSidesQuery_h
4
#define vtkCellGridSidesQuery_h
5
6
#include "
vtkCellGridQuery.h
"
7
8
#include "
vtkStringToken.h
"
// For API.
9
10
#include <functional>
11
#include <map>
12
#include <set>
13
#include <unordered_map>
14
#include <vector>
15
16
VTK_ABI_NAMESPACE_BEGIN
17
18
class
vtkCellGridSidesCache
;
19
class
vtkIdTypeArray
;
20
37
class
VTKCOMMONDATAMODEL_EXPORT
vtkCellGridSidesQuery
:
public
vtkCellGridQuery
38
{
39
public
:
40
static
vtkCellGridSidesQuery
*
New
();
41
vtkTypeMacro(
vtkCellGridSidesQuery
,
vtkCellGridQuery
);
42
void
PrintSelf
(ostream& os,
vtkIndent
indent)
override
;
43
45
enum
SideFlags
:
int
46
{
47
// Individual bits
48
VerticesOfEdges
= 0x01,
49
VerticesOfSurfaces
= 0x02,
50
EdgesOfSurfaces
= 0x04,
51
VerticesOfVolumes
= 0x08,
52
EdgesOfVolumes
= 0x10,
53
SurfacesOfVolumes
= 0x20,
54
55
// Useful (but not exhaustive) combinations
56
SurfacesOfInputs
= 0x20,
57
EdgesOfInputs
= 0x14,
58
VerticesOfInputs
= 0x0b,
59
AllSides
= 0x3f,
60
NextLowestDimension
= 0x25
61
};
62
64
enum
PassWork
:
int
65
{
68
HashSides
= 0,
72
Summarize
= 1,
75
GenerateSideSets
= 2
76
};
77
80
enum
SummaryStrategy
81
{
86
Winding
,
89
AnyOccurrence
,
94
Boundary
95
};
96
98
enum
SelectionMode
99
{
100
Input
,