/[escript]/trunk/esys2/finley/src/finleyC/vtkCellType.h
ViewVC logotype

Contents of /trunk/esys2/finley/src/finleyC/vtkCellType.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 113 - (show annotations)
Mon Feb 28 07:06:33 2005 UTC (14 years, 1 month ago) by jgs
File MIME type: text/plain
File size: 2502 byte(s)
*** empty log message ***

1 /*=========================================================================
2
3 Program: Visualization Toolkit
4 Module: $RCSfile$
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 =========================================================================*/
15 /* .NAME vtkCellType - define types of cells
16 // .SECTION Description
17 // vtkCellType defines the allowable cell types in the visualization
18 // library (vtk). In vtk, datasets consist of collections of cells.
19 // Different datasets consist of different cell types. The cells may be
20 // explicitly represented (as in vtkPolyData), or may be implicit to the
21 // data type (as in vtkStructuredPoints).
22 */
23
24 #ifndef __vtkCellType_h
25 #define __vtkCellType_h
26
27 /* To add a new cell type, define a new integer type flag here, then
28 // create a subclass of vtkCell to implement the proper behavior. You
29 // may have to modify the following methods: vtkDataSet (and subclasses)
30 // GetCell() and vtkGenericCell::SetCellType(). Also, to do the job right,
31 // you'll also have to modify the readers/writers and regression tests
32 // (example scripts) to reflect the new cell addition.
33 */
34
35 /* Linear cells */
36 #define VTK_EMPTY_CELL 0
37 #define VTK_VERTEX 1
38 #define VTK_POLY_VERTEX 2
39 #define VTK_LINE 3
40 #define VTK_POLY_LINE 4
41 #define VTK_TRIANGLE 5
42 #define VTK_TRIANGLE_STRIP 6
43 #define VTK_POLYGON 7
44 #define VTK_PIXEL 8
45 #define VTK_QUAD 9
46 #define VTK_TETRA 10
47 #define VTK_VOXEL 11
48 #define VTK_HEXAHEDRON 12
49 #define VTK_WEDGE 13
50 #define VTK_PYRAMID 14
51
52 /* Quadratic, isoparametric cells */
53 #define VTK_QUADRATIC_EDGE 21
54 #define VTK_QUADRATIC_TRIANGLE 22
55 #define VTK_QUADRATIC_QUAD 23
56 #define VTK_QUADRATIC_TETRA 24
57 #define VTK_QUADRATIC_HEXAHEDRON 25
58
59 /* Special class of cells formed by convex group of points */
60 #define VTK_CONVEX_POINT_SET 41
61
62 /* Higher order cells in parametric form */
63 #define VTK_PARAMETRIC_CURVE 51
64 #define VTK_PARAMETRIC_SURFACE 52
65 #define VTK_PARAMETRIC_TRI_SURFACE 53
66 #define VTK_PARAMETRIC_QUAD_SURFACE 54
67 #define VTK_PARAMETRIC_TETRA_REGION 55
68 #define VTK_PARAMETRIC_HEX_REGION 56
69
70 #endif
71
72

Properties

Name Value
svn:eol-style native
svn:keywords Author Date Id Revision

  ViewVC Help
Powered by ViewVC 1.1.26