VTK  9.5.20251008
vtkCellType.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
14#ifndef vtkCellType_h
15#define vtkCellType_h
16
17#include "vtkABINamespace.h"
18
19// To add a new cell type, define a new integer type flag here, then
20// create a subclass of vtkCell to implement the proper behavior. You
21// may have to modify the following methods: vtkDataSet (and subclasses)
22// GetCell() and vtkGenericCell::SetCellType(). Also, to do the job right,
23// you'll also have to modify some filters (vtkGeometryFilter...) and
24// regression tests (example scripts) to reflect the new cell addition.
25// Also, make sure to update vtkCellTypeUtilities.h
26
27// .SECTION Caveats
28// An unstructured grid stores the types of its cells as a
29// unsigned char array. Therefore, the maximum encoding number for a cell type
30// is 255.
31
32VTK_ABI_NAMESPACE_BEGIN
33typedef enum
34{
35 // Linear cells
53
54 // Quadratic, isoparametric cells
71
72 // Cubic, isoparametric cell
74
75 // Special class of cells formed by convex group of points
77
78 // Polyhedron cell (consisting of polygonal faces)
80
81 // Higher order cells in parametric form
88
89 // Higher order cells
98
99 // Arbitrary order Lagrange elements (formulated separated from generic higher order cells)
107
108 // Arbitrary order Bezier elements (formulated separated from generic higher order cells)
116
119
120VTK_ABI_NAMESPACE_END
121#endif
122// VTK-HeaderTest-Exclude: vtkCellType.h
VTKCellType
Definition vtkCellType.h:34
@ VTK_VOXEL
Definition vtkCellType.h:47
@ VTK_QUADRATIC_HEXAHEDRON
Definition vtkCellType.h:60
@ VTK_PARAMETRIC_SURFACE
Definition vtkCellType.h:83
@ VTK_HIGHER_ORDER_TETRAHEDRON
Definition vtkCellType.h:94
@ VTK_TRIANGLE_STRIP
Definition vtkCellType.h:42
@ VTK_BIQUADRATIC_QUADRATIC_HEXAHEDRON
Definition vtkCellType.h:69
@ VTK_NUMBER_OF_CELL_TYPES
@ VTK_LAGRANGE_CURVE
@ VTK_HIGHER_ORDER_QUAD
Definition vtkCellType.h:92
@ VTK_PYRAMID
Definition vtkCellType.h:50
@ VTK_PIXEL
Definition vtkCellType.h:44
@ VTK_QUADRATIC_WEDGE
Definition vtkCellType.h:61
@ VTK_BEZIER_WEDGE
@ VTK_BIQUADRATIC_QUAD
Definition vtkCellType.h:63
@ VTK_HIGHER_ORDER_WEDGE
Definition vtkCellType.h:95
@ VTK_LAGRANGE_QUADRILATERAL
@ VTK_POLY_LINE
Definition vtkCellType.h:40
@ VTK_TRIQUADRATIC_PYRAMID
Definition vtkCellType.h:65
@ VTK_TRIANGLE
Definition vtkCellType.h:41
@ VTK_BEZIER_TRIANGLE
@ VTK_POLYGON
Definition vtkCellType.h:43
@ VTK_EMPTY_CELL
Definition vtkCellType.h:36
@ VTK_QUADRATIC_PYRAMID
Definition vtkCellType.h:62
@ VTK_POLYHEDRON
Definition vtkCellType.h:79
@ VTK_TRIQUADRATIC_HEXAHEDRON
Definition vtkCellType.h:64
@ VTK_TETRA
Definition vtkCellType.h:46
@ VTK_LINE
Definition vtkCellType.h:39
@ VTK_CONVEX_POINT_SET
Definition vtkCellType.h:76
@ VTK_BEZIER_HEXAHEDRON
@ VTK_PARAMETRIC_TRI_SURFACE
Definition vtkCellType.h:84
@ VTK_LAGRANGE_WEDGE
@ VTK_LAGRANGE_HEXAHEDRON
@ VTK_PENTAGONAL_PRISM
Definition vtkCellType.h:51
@ VTK_HIGHER_ORDER_TRIANGLE
Definition vtkCellType.h:91
@ VTK_QUADRATIC_QUAD
Definition vtkCellType.h:57
@ VTK_WEDGE
Definition vtkCellType.h:49
@ VTK_PARAMETRIC_QUAD_SURFACE
Definition vtkCellType.h:85
@ VTK_LAGRANGE_TETRAHEDRON
@ VTK_PARAMETRIC_CURVE
Definition vtkCellType.h:82
@ VTK_BEZIER_CURVE
@ VTK_HIGHER_ORDER_PYRAMID
Definition vtkCellType.h:96
@ VTK_HEXAGONAL_PRISM
Definition vtkCellType.h:52
@ VTK_PARAMETRIC_HEX_REGION
Definition vtkCellType.h:87
@ VTK_BEZIER_QUADRILATERAL
@ VTK_QUADRATIC_LINEAR_WEDGE
Definition vtkCellType.h:67
@ VTK_HEXAHEDRON
Definition vtkCellType.h:48
@ VTK_CUBIC_LINE
Definition vtkCellType.h:73
@ VTK_LAGRANGE_TRIANGLE
@ VTK_HIGHER_ORDER_HEXAHEDRON
Definition vtkCellType.h:97
@ VTK_QUADRATIC_POLYGON
Definition vtkCellType.h:58
@ VTK_QUAD
Definition vtkCellType.h:45
@ VTK_QUADRATIC_TRIANGLE
Definition vtkCellType.h:56
@ VTK_PARAMETRIC_TETRA_REGION
Definition vtkCellType.h:86
@ VTK_QUADRATIC_EDGE
Definition vtkCellType.h:55
@ VTK_QUADRATIC_TETRA
Definition vtkCellType.h:59
@ VTK_HIGHER_ORDER_EDGE
Definition vtkCellType.h:90
@ VTK_LAGRANGE_PYRAMID
@ VTK_BEZIER_TETRAHEDRON
@ VTK_VERTEX
Definition vtkCellType.h:37
@ VTK_POLY_VERTEX
Definition vtkCellType.h:38
@ VTK_QUADRATIC_LINEAR_QUAD
Definition vtkCellType.h:66
@ VTK_BEZIER_PYRAMID
@ VTK_BIQUADRATIC_QUADRATIC_WEDGE
Definition vtkCellType.h:68
@ VTK_HIGHER_ORDER_POLYGON
Definition vtkCellType.h:93
@ VTK_BIQUADRATIC_TRIANGLE
Definition vtkCellType.h:70