VTK
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
home
boeckb
code
depot
group-kitware
vtk
build-release
Utilities
Doxygen
dox
Common
DataModel
vtkCellType.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkCellType.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
=========================================================================*/
25
#ifndef vtkCellType_h
26
#define vtkCellType_h
27
28
// To add a new cell type, define a new integer type flag here, then
29
// create a subclass of vtkCell to implement the proper behavior. You
30
// may have to modify the following methods: vtkDataSet (and subclasses)
31
// GetCell() and vtkGenericCell::SetCellType(). Also, to do the job right,
32
// you'll also have to modify some filters (vtkGeometryFilter...) and
33
// regression tests (example scripts) to reflect the new cell addition.
34
// Also, make sure to update vtkCellTypesStrings in vtkCellTypes.cxx
35
// and the vtkCellTypes::IsLinear method in vtkCellTypes.h.
36
37
// .SECTION Caveats
38
// An unstructured grid stores the types of its cells as a
39
// unsigned char array. Therefore, the maximum encoding number for a cell type
40
// is 255.
41
42
typedef
enum
{
43
// Linear cells
44
VTK_EMPTY_CELL
= 0,
45
VTK_VERTEX
= 1,
46
VTK_POLY_VERTEX
= 2,
47
VTK_LINE
= 3,
48
VTK_POLY_LINE
= 4,
49
VTK_TRIANGLE
= 5,
50
VTK_TRIANGLE_STRIP
= 6,
51
VTK_POLYGON
= 7,
52
VTK_PIXEL
= 8,
53
VTK_QUAD
= 9,
54
VTK_TETRA
= 10,
55
VTK_VOXEL
= 11,
56
VTK_HEXAHEDRON
= 12,
57
VTK_WEDGE
= 13,
58
VTK_PYRAMID
= 14,
59
VTK_PENTAGONAL_PRISM
= 15,
60
VTK_HEXAGONAL_PRISM
= 16,
61
62
// Quadratic, isoparametric cells
63
VTK_QUADRATIC_EDGE
= 21,
64
VTK_QUADRATIC_TRIANGLE
= 22,
65
VTK_QUADRATIC_QUAD
= 23,
66
VTK_QUADRATIC_POLYGON
= 36,
67
VTK_QUADRATIC_TETRA
= 24,
68
VTK_QUADRATIC_HEXAHEDRON
= 25,
69
VTK_QUADRATIC_WEDGE
= 26,
70
VTK_QUADRATIC_PYRAMID
= 27,
71
VTK_BIQUADRATIC_QUAD
= 28,
72
VTK_TRIQUADRATIC_HEXAHEDRON
= 29,
73
VTK_QUADRATIC_LINEAR_QUAD
= 30,
74
VTK_QUADRATIC_LINEAR_WEDGE
= 31,
75
VTK_BIQUADRATIC_QUADRATIC_WEDGE
= 32,
76
VTK_BIQUADRATIC_QUADRATIC_HEXAHEDRON
= 33,
77
VTK_BIQUADRATIC_TRIANGLE
= 34,
78
79
// Cubic, isoparametric cell
80
VTK_CUBIC_LINE
= 35,
81
82
// Special class of cells formed by convex group of points
83
VTK_CONVEX_POINT_SET
= 41,
84
85
// Polyhedron cell (consisting of polygonal faces)
86
VTK_POLYHEDRON
= 42,
87
88
// Higher order cells in parametric form
89
VTK_PARAMETRIC_CURVE
= 51,
90
VTK_PARAMETRIC_SURFACE
= 52,
91
VTK_PARAMETRIC_TRI_SURFACE
= 53,
92
VTK_PARAMETRIC_QUAD_SURFACE
= 54,
93
VTK_PARAMETRIC_TETRA_REGION
= 55,
94
VTK_PARAMETRIC_HEX_REGION
= 56,
95
96
// Higher order cells
97
VTK_HIGHER_ORDER_EDGE
= 60,
98
VTK_HIGHER_ORDER_TRIANGLE
= 61,
99
VTK_HIGHER_ORDER_QUAD
= 62,
100
VTK_HIGHER_ORDER_POLYGON
= 63,
101
VTK_HIGHER_ORDER_TETRAHEDRON
= 64,
102
VTK_HIGHER_ORDER_WEDGE
= 65,
103
VTK_HIGHER_ORDER_PYRAMID
= 66,
104
VTK_HIGHER_ORDER_HEXAHEDRON
= 67,
105
106
VTK_NUMBER_OF_CELL_TYPES
107
}
VTKCellType
;
108
109
#endif
110
// VTK-HeaderTest-Exclude: vtkCellType.h
VTK_BIQUADRATIC_TRIANGLE
Definition:
vtkCellType.h:77
VTK_PARAMETRIC_SURFACE
Definition:
vtkCellType.h:90
VTK_HIGHER_ORDER_EDGE
Definition:
vtkCellType.h:97
VTK_HIGHER_ORDER_QUAD
Definition:
vtkCellType.h:99
VTK_PARAMETRIC_QUAD_SURFACE
Definition:
vtkCellType.h:92
VTK_PYRAMID
Definition:
vtkCellType.h:58
VTK_HIGHER_ORDER_WEDGE
Definition:
vtkCellType.h:102
VTK_HIGHER_ORDER_TRIANGLE
Definition:
vtkCellType.h:98
VTK_POLY_LINE
Definition:
vtkCellType.h:48
VTK_WEDGE
Definition:
vtkCellType.h:57
VTK_QUADRATIC_LINEAR_QUAD
Definition:
vtkCellType.h:73
VTK_BIQUADRATIC_QUAD
Definition:
vtkCellType.h:71
VTK_VOXEL
Definition:
vtkCellType.h:55
VTK_CUBIC_LINE
Definition:
vtkCellType.h:80
VTK_POLYGON
Definition:
vtkCellType.h:51
VTKCellType
VTKCellType
Definition:
vtkCellType.h:42
VTK_TRIQUADRATIC_HEXAHEDRON
Definition:
vtkCellType.h:72
VTK_CONVEX_POINT_SET
Definition:
vtkCellType.h:83
VTK_TETRA
Definition:
vtkCellType.h:54
VTK_HIGHER_ORDER_POLYGON
Definition:
vtkCellType.h:100
VTK_PENTAGONAL_PRISM
Definition:
vtkCellType.h:59
VTK_QUADRATIC_PYRAMID
Definition:
vtkCellType.h:70
VTK_QUADRATIC_QUAD
Definition:
vtkCellType.h:65
VTK_LINE
Definition:
vtkCellType.h:47
VTK_QUAD
Definition:
vtkCellType.h:53
VTK_HEXAHEDRON
Definition:
vtkCellType.h:56
VTK_PIXEL
Definition:
vtkCellType.h:52
VTK_PARAMETRIC_TRI_SURFACE
Definition:
vtkCellType.h:91
VTK_HEXAGONAL_PRISM
Definition:
vtkCellType.h:60
VTK_PARAMETRIC_HEX_REGION
Definition:
vtkCellType.h:94
VTK_PARAMETRIC_TETRA_REGION
Definition:
vtkCellType.h:93
VTK_HIGHER_ORDER_PYRAMID
Definition:
vtkCellType.h:103
VTK_QUADRATIC_HEXAHEDRON
Definition:
vtkCellType.h:68
VTK_QUADRATIC_WEDGE
Definition:
vtkCellType.h:69
VTK_PARAMETRIC_CURVE
Definition:
vtkCellType.h:89
VTK_QUADRATIC_TRIANGLE
Definition:
vtkCellType.h:64
VTK_POLY_VERTEX
Definition:
vtkCellType.h:46
VTK_QUADRATIC_LINEAR_WEDGE
Definition:
vtkCellType.h:74
VTK_NUMBER_OF_CELL_TYPES
Definition:
vtkCellType.h:106
VTK_EMPTY_CELL
Definition:
vtkCellType.h:44
VTK_HIGHER_ORDER_TETRAHEDRON
Definition:
vtkCellType.h:101
VTK_QUADRATIC_TETRA
Definition:
vtkCellType.h:67
VTK_HIGHER_ORDER_HEXAHEDRON
Definition:
vtkCellType.h:104
VTK_TRIANGLE_STRIP
Definition:
vtkCellType.h:50
VTK_BIQUADRATIC_QUADRATIC_WEDGE
Definition:
vtkCellType.h:75
VTK_BIQUADRATIC_QUADRATIC_HEXAHEDRON
Definition:
vtkCellType.h:76
VTK_VERTEX
Definition:
vtkCellType.h:45
VTK_POLYHEDRON
Definition:
vtkCellType.h:86
VTK_QUADRATIC_POLYGON
Definition:
vtkCellType.h:66
VTK_TRIANGLE
Definition:
vtkCellType.h:49
VTK_QUADRATIC_EDGE
Definition:
vtkCellType.h:63
Generated by
1.8.9.1