HDK
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
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
23
enum
GEO_SurfaceType
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
35
GEO_API
extern
GEO_SurfaceType
GEOgetSurfaceType
(
const
char
*
label
);
36
GEO_API
extern
const
char
*
GEOgetSurfaceType
(
GEO_SurfaceType
t
);
37
38
#endif
GEOgetSurfaceType
GEO_API GEO_SurfaceType GEOgetSurfaceType(const char *label)
label
GLuint GLsizei const GLchar * label
Definition:
glcorearb.h:2545
GEO_PATCH_ALTTRIANGLE
Definition:
GEO_SurfaceType.h:30
GEO_PATCH_REVTRIANGLE
Definition:
GEO_SurfaceType.h:31
GEO_PATCH_COLS
Definition:
GEO_SurfaceType.h:26
GEO_PATCH_QUADS
Definition:
GEO_SurfaceType.h:29
GEO_API
#define GEO_API
Definition:
GEO_API.h:14
t
GLdouble t
Definition:
glad.h:2397
GEO_PATCH_ROWCOL
Definition:
GEO_SurfaceType.h:27
GEO_API.h
GEO_SurfaceType
GEO_SurfaceType
Definition:
GEO_SurfaceType.h:23
GEO_PATCH_TRIANGLE
Definition:
GEO_SurfaceType.h:28
GEO_PATCH_ROWS
Definition:
GEO_SurfaceType.h:25
GEO_PATCH_NUMTYPES
Definition:
GEO_SurfaceType.h:32
GEO
GEO_SurfaceType.h
Generated on Sat Jan 18 2025 02:43:58 for HDK by
1.8.6