Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

Common/vtkCellType.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    $RCSfile: vtkCellType.h,v $
00005   Language:  C++
00006 
00007   Copyright (c) 1993-2002 Ken Martin, Will Schroeder, Bill Lorensen 
00008   All rights reserved.
00009   See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
00010 
00011      This software is distributed WITHOUT ANY WARRANTY; without even 
00012      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 
00013      PURPOSE.  See the above copyright notice for more information.
00014 
00015 =========================================================================*/
00038 #ifndef __vtkCellType_h
00039 #define __vtkCellType_h
00040 
00041 // To add a new cell type, define a new integer type flag here, then
00042 // create a subclass of vtkCell to implement the proper behavior. You 
00043 // may have to modify the following methods: vtkDataSet (and subclasses) 
00044 // GetCell() and vtkGenericCell::SetCellType(). Also, to do the job right,
00045 // you'll also have to modify the readers/writers and regression tests
00046 // (example scripts) to reflect the new cell addition.
00047 
00048 // Linear cells
00049 #define VTK_EMPTY_CELL     0
00050 #define VTK_VERTEX         1
00051 #define VTK_POLY_VERTEX    2
00052 #define VTK_LINE           3
00053 #define VTK_POLY_LINE      4
00054 #define VTK_TRIANGLE       5
00055 #define VTK_TRIANGLE_STRIP 6
00056 #define VTK_POLYGON        7
00057 #define VTK_PIXEL          8
00058 #define VTK_QUAD           9
00059 #define VTK_TETRA         10
00060 #define VTK_VOXEL         11
00061 #define VTK_HEXAHEDRON    12
00062 #define VTK_WEDGE         13
00063 #define VTK_PYRAMID       14
00064 
00065 // Quadratic, isoparametric cells
00066 #define VTK_QUADRATIC_EDGE       21
00067 #define VTK_QUADRATIC_TRIANGLE   22
00068 #define VTK_QUADRATIC_QUAD       23
00069 #define VTK_QUADRATIC_TETRA      24
00070 #define VTK_QUADRATIC_HEXAHEDRON 25
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 #endif
00084 
00085