SMTK
@SMTK_VERSION@
Simulation Modeling Tool Kit
|
11 #ifndef smtk_mesh_core_CellTypes_h
12 #define smtk_mesh_core_CellTypes_h
14 #include "smtk/CoreExports.h"
48 typedef std::bitset<CellType_MAX> CellTypes;
54 static const CellType CellEnum = Vertex;
58 static const CellType CellEnum = Line;
62 static const CellType CellEnum = Triangle;
66 static const CellType CellEnum = Quad;
70 static const CellType CellEnum = Polygon;
74 static const CellType CellEnum = Tetrahedron;
78 static const CellType CellEnum = Pyramid;
82 static const CellType CellEnum = Wedge;
86 static const CellType CellEnum = Hexahedron;
92 #endif //__smtk_mesh_core_CellTypes_h
The main namespace for the Simulation Modeling Tool Kit (SMTK).
Definition: doc.h:33
CellType
Enum types used for querying the interface.
Definition: CellTypes.h:29
Definition: CellTypes.h:72
Definition: CellTypes.h:68
Definition: CellTypes.h:56
Definition: CellTypes.h:80
Definition: CellTypes.h:52
Definition: CellTypes.h:84
Definition: CellTypes.h:64
Definition: CellTypes.h:76
Definition: CellTypes.h:60
int verticesPerCell(CellType ctype)
Return the number of vertices that define a cell of this type (or -1).
Definition: CellTypes.cxx:20
std::string cellTypeSummary(CellType ctype, int flag)
Return the name of the mesh cell type.
Definition: CellTypes.cxx:30