ESYS13
Revision_
|
00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: $RCSfile$ 00005 00006 Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen 00007 All rights reserved. 00008 See Copyright.txt or http://www.kitware.com/Copyright.htm for details. 00009 00010 This software is distributed WITHOUT ANY WARRANTY; without even 00011 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 00012 PURPOSE. See the above copyright notice for more information. 00013 00014 =========================================================================*/ 00015 /* .NAME vtkCellType - define types of cells 00016 // .SECTION Description 00017 // vtkCellType defines the allowable cell types in the visualization 00018 // library (vtk). In vtk, datasets consist of collections of cells. 00019 // Different datasets consist of different cell types. The cells may be 00020 // explicitly represented (as in vtkPolyData), or may be implicit to the 00021 // data type (as in vtkStructuredPoints). 00022 */ 00023 00024 #ifndef __vtkCellType_h 00025 #define __vtkCellType_h 00026 00027 /* To add a new cell type, define a new integer type flag here, then 00028 // create a subclass of vtkCell to implement the proper behavior. You 00029 // may have to modify the following methods: vtkDataSet (and subclasses) 00030 // GetCell() and vtkGenericCell::SetCellType(). Also, to do the job right, 00031 // you'll also have to modify the readers/writers and regression tests 00032 // (example scripts) to reflect the new cell addition. 00033 */ 00034 00035 /* Linear cells */ 00036 #define VTK_EMPTY_CELL 0 00037 #define VTK_VERTEX 1 00038 #define VTK_POLY_VERTEX 2 00039 #define VTK_LINE 3 00040 #define VTK_POLY_LINE 4 00041 #define VTK_TRIANGLE 5 00042 #define VTK_TRIANGLE_STRIP 6 00043 #define VTK_POLYGON 7 00044 #define VTK_PIXEL 8 00045 #define VTK_QUAD 9 00046 #define VTK_TETRA 10 00047 #define VTK_VOXEL 11 00048 #define VTK_HEXAHEDRON 12 00049 #define VTK_WEDGE 13 00050 #define VTK_PYRAMID 14 00051 00052 /* Quadratic, isoparametric cells */ 00053 #define VTK_QUADRATIC_EDGE 21 00054 #define VTK_QUADRATIC_TRIANGLE 22 00055 #define VTK_QUADRATIC_QUAD 23 00056 #define VTK_QUADRATIC_TETRA 24 00057 #define VTK_QUADRATIC_HEXAHEDRON 25 00058 00059 /* Special class of cells formed by convex group of points */ 00060 #define VTK_CONVEX_POINT_SET 41 00061 00062 /* Higher order cells in parametric form */ 00063 #define VTK_PARAMETRIC_CURVE 51 00064 #define VTK_PARAMETRIC_SURFACE 52 00065 #define VTK_PARAMETRIC_TRI_SURFACE 53 00066 #define VTK_PARAMETRIC_QUAD_SURFACE 54 00067 #define VTK_PARAMETRIC_TETRA_REGION 55 00068 #define VTK_PARAMETRIC_HEX_REGION 56 00069 00070 #endif 00071 00072