Main Page | Directories | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

vtkCellType.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    $RCSfile: vtkCellType.h,v $
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 =========================================================================*/
00034 #ifndef __vtkCellType_h
00035 #define __vtkCellType_h
00036 
00037 // To add a new cell type, define a new integer type flag here, then
00038 // create a subclass of vtkCell to implement the proper behavior. You 
00039 // may have to modify the following methods: vtkDataSet (and subclasses) 
00040 // GetCell() and vtkGenericCell::SetCellType(). Also, to do the job right,
00041 // you'll also have to modify the readers/writers and regression tests
00042 // (example scripts) to reflect the new cell addition.
00043 
00044 // Linear cells
00045 #define VTK_EMPTY_CELL     0
00046 #define VTK_VERTEX         1
00047 #define VTK_POLY_VERTEX    2
00048 #define VTK_LINE           3
00049 #define VTK_POLY_LINE      4
00050 #define VTK_TRIANGLE       5
00051 #define VTK_TRIANGLE_STRIP 6
00052 #define VTK_POLYGON        7
00053 #define VTK_PIXEL          8
00054 #define VTK_QUAD           9
00055 #define VTK_TETRA         10
00056 #define VTK_VOXEL         11
00057 #define VTK_HEXAHEDRON    12
00058 #define VTK_WEDGE         13
00059 #define VTK_PYRAMID       14
00060 #define VTK_PENTAGONAL_PRISM 15
00061 #define VTK_HEXAGONAL_PRISM  16
00062 
00063 // Quadratic, isoparametric cells
00064 #define VTK_QUADRATIC_EDGE       21
00065 #define VTK_QUADRATIC_TRIANGLE   22
00066 #define VTK_QUADRATIC_QUAD       23
00067 #define VTK_QUADRATIC_TETRA      24
00068 #define VTK_QUADRATIC_HEXAHEDRON 25
00069 #define VTK_QUADRATIC_WEDGE      26
00070 #define VTK_QUADRATIC_PYRAMID    27
00071 
00072 // Special class of cells formed by convex group of points
00073 #define VTK_CONVEX_POINT_SET 41
00074 
00075 // Higher order cells in parametric form
00076 #define VTK_PARAMETRIC_CURVE        51
00077 #define VTK_PARAMETRIC_SURFACE      52
00078 #define VTK_PARAMETRIC_TRI_SURFACE  53
00079 #define VTK_PARAMETRIC_QUAD_SURFACE 54
00080 #define VTK_PARAMETRIC_TETRA_REGION 55
00081 #define VTK_PARAMETRIC_HEX_REGION   56
00082 
00083 // Higher order cells
00084 #define VTK_HIGHER_ORDER_EDGE        60
00085 #define VTK_HIGHER_ORDER_TRIANGLE    61
00086 #define VTK_HIGHER_ORDER_QUAD        62
00087 #define VTK_HIGHER_ORDER_POLYGON     63
00088 #define VTK_HIGHER_ORDER_TETRAHEDRON 64
00089 #define VTK_HIGHER_ORDER_WEDGE       65
00090 #define VTK_HIGHER_ORDER_PYRAMID     66 
00091 #define VTK_HIGHER_ORDER_HEXAHEDRON  67
00092 
00093 #endif