HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
GEO_SurfaceType.h
Go to the documentation of this file.
1 /*
2  * PROPRIETARY INFORMATION. This software is proprietary to
3  * Side Effects Software Inc., and is not to be reproduced,
4  * transmitted, or disclosed in any way without written permission.
5  *
6  * NAME: Geometry Library (C++)
7  *
8  * COMMENTS:
9  * This class is used as a base class for all patch types supported.
10  * The vertex list management is handled by this class, however, all
11  * other function should be handled by the subclass.
12  * The insertRow and insertCol are meant to be virtual since it
13  * may be possible for the patch type to insert a row or column
14  * without distorting the shape of the patch (as in NURBs or MESH)
15  *
16  */
17 
18 #ifndef __GEO_SurfaceType_H__
19 #define __GEO_SurfaceType_H__
20 
21 #include "GEO_API.h"
22 
24 {
25  GEO_PATCH_ROWS = 0, // Just the rows
26  GEO_PATCH_COLS = 1, // Just the columns
27  GEO_PATCH_ROWCOL = 2, // Both rows and columns
28  GEO_PATCH_TRIANGLE = 3, // Solid surface of triagles
29  GEO_PATCH_QUADS = 4, // Solid surface of quads
30  GEO_PATCH_ALTTRIANGLE = 5, // Triangles but common corners
31  GEO_PATCH_REVTRIANGLE = 6, // Triangles but opposite direction
32  GEO_PATCH_NUMTYPES // Number of patch types
33 };
34 
36 GEO_API extern const char *GEOgetSurfaceType(GEO_SurfaceType t);
37 
38 #endif
GEO_API GEO_SurfaceType GEOgetSurfaceType(const char *label)
GLuint GLsizei const GLchar * label
Definition: glcorearb.h:2544
#define GEO_API
Definition: GEO_API.h:10
GEO_SurfaceType