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
GU_Types.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: GU_Types.h ( GU Library, C++)
7
*
8
* COMMENTS:
9
*/
10
11
#ifndef __GU_Types__
12
#define __GU_Types__
13
14
// Circle types
15
enum
GU_CircleType
16
{
17
GU_CIRCLE_CLOSED
= 0,
18
GU_CIRCLE_OPEN_ARC
= 1,
19
GU_CIRCLE_CLOSED_ARC
= 2,
20
GU_CIRCLE_SLICED_ARC
= 3
21
};
22
23
// Axis
24
enum
GU_AxisType
25
{
26
GU_XAXIS
= 0,
27
GU_YAXIS
= 1,
28
GU_ZAXIS
= 2
29
};
30
31
// Orientation
32
enum
GU_OrientationType
33
{
34
GU_PLANE_XY
= 0,
35
GU_PLANE_YZ
= 1,
36
GU_PLANE_XZ
= 2
37
};
38
39
// A "group" of primitives can be swept along a curve in a number
40
// of ways which effect the ordering of the resulting primitives:
41
//
42
// GU_XSECTION_ALL: All primitives are simply placed at each of
43
// the backbone's points.
44
// GU_XSECTION_EACH: The first primitive is swept along the backbone,
45
// followed by the second, etc.
46
// GU_XSECTION_CYCLE: The first primitive is placed at the first
47
// backbone point, the second primitive is placed
48
// at the second backbone point, etc.
49
enum
GU_CrossSectionType
50
{
51
GU_XSECTION_ALL
= 0,
52
GU_XSECTION_EACH
= 1,
53
GU_XSECTION_CYCLE
= 2
54
};
55
56
//
57
// Enumeration for non-linear deformation
58
enum
GU_DeformType
59
{
60
GU_DEFORM_TWIST
= 0,
// Define as numbers for standard
61
GU_DEFORM_BEND
= 1,
// UI usage (i.e. these can be mapped
62
GU_DEFORM_SHEAR
= 2,
// to menus).
63
GU_DEFORM_TAPER
= 3,
64
GU_DEFORM_LINEAR_TAPER
= 4,
65
GU_DEFORM_SQUASH
= 5
66
};
67
68
//
69
// Ennumeration for grid Type
70
enum
GU_GridType
71
{
72
GU_GRID_POLY
,
73
GU_GRID_MESH
,
74
GU_GRID_NURBS
,
75
GU_GRID_BEZIER
76
};
77
78
// Types of weights for smoothing
79
enum
GU_WeightingType
80
{
81
NUM_VERTICES
= 0,
82
EDGE_LENGTH
= 1,
83
SURFACE_AREA
= 2
84
};
85
86
// Metric Types (spaces for distance measurement)
87
enum
GU_MetricType
88
{
89
GU_METRIC_UV
= 0,
90
GU_METRIC_UVW
= 1,
91
GU_METRIC_XYZ
= 2
92
};
93
94
enum
GU_TextureType
95
{
96
GU_ORTHO_TEX
,
97
GU_POLAR_TEX
,
98
GU_CYL_TEX
,
99
GU_ROW_COL_TEX
,
100
GU_FACE_TEX
,
101
GU_MODIFY_TEX
,
102
GU_UNIFORM_SPLINE_TEX
,
103
GU_GREVILLE_SPLINE_TEX
,
104
GU_CHORD_SPLINE_TEX
,
105
GU_PERSPECTIVE_TEX
106
};
107
108
// Lattice interpolation types
109
enum
GU_LatticeType
110
{
111
GU_LATTICE_LINEAR
= 0,
112
GU_LATTICE_BEZIER
= 1
113
};
114
115
///
116
// Defines
117
///
118
119
#define GU_POLY_CLOSED 0
120
#define GU_POLY_OPEN 1
121
#define GU_WRAPU 1
122
#define GU_WRAPV 1
123
124
#endif
GU_DEFORM_TAPER
Definition:
GU_Types.h:63
GU_YAXIS
Definition:
GU_Types.h:27
GU_XSECTION_CYCLE
Definition:
GU_Types.h:53
GU_MetricType
GU_MetricType
Definition:
GU_Types.h:87
GU_METRIC_XYZ
Definition:
GU_Types.h:91
GU_DeformType
GU_DeformType
Definition:
GU_Types.h:58
GU_XSECTION_ALL
Definition:
GU_Types.h:51
GU_CIRCLE_CLOSED_ARC
Definition:
GU_Types.h:19
GU_DEFORM_SHEAR
Definition:
GU_Types.h:62
GU_DEFORM_LINEAR_TAPER
Definition:
GU_Types.h:64
NUM_VERTICES
Definition:
GU_Types.h:81
GU_ROW_COL_TEX
Definition:
GU_Types.h:99
GU_WeightingType
GU_WeightingType
Definition:
GU_Types.h:79
GU_PERSPECTIVE_TEX
Definition:
GU_Types.h:105
GU_ORTHO_TEX
Definition:
GU_Types.h:96
GU_FACE_TEX
Definition:
GU_Types.h:100
GU_PLANE_XZ
Definition:
GU_Types.h:36
GU_XAXIS
Definition:
GU_Types.h:26
GU_CIRCLE_OPEN_ARC
Definition:
GU_Types.h:18
GU_PLANE_YZ
Definition:
GU_Types.h:35
GU_GridType
GU_GridType
Definition:
GU_Types.h:70
GU_MODIFY_TEX
Definition:
GU_Types.h:101
GU_LatticeType
GU_LatticeType
Definition:
GU_Types.h:109
GU_AxisType
GU_AxisType
Definition:
GU_Types.h:24
GU_GRID_MESH
Definition:
GU_Types.h:73
GU_GREVILLE_SPLINE_TEX
Definition:
GU_Types.h:103
GU_GRID_BEZIER
Definition:
GU_Types.h:75
GU_XSECTION_EACH
Definition:
GU_Types.h:52
GU_PLANE_XY
Definition:
GU_Types.h:34
GU_DEFORM_SQUASH
Definition:
GU_Types.h:65
GU_GRID_NURBS
Definition:
GU_Types.h:74
SURFACE_AREA
Definition:
GU_Types.h:83
GU_CircleType
GU_CircleType
Definition:
GU_Types.h:15
GU_CYL_TEX
Definition:
GU_Types.h:98
GU_METRIC_UVW
Definition:
GU_Types.h:90
GU_POLAR_TEX
Definition:
GU_Types.h:97
GU_DEFORM_BEND
Definition:
GU_Types.h:61
GU_OrientationType
GU_OrientationType
Definition:
GU_Types.h:32
GU_CIRCLE_CLOSED
Definition:
GU_Types.h:17
GU_GRID_POLY
Definition:
GU_Types.h:72
GU_CrossSectionType
GU_CrossSectionType
Definition:
GU_Types.h:49
GU_UNIFORM_SPLINE_TEX
Definition:
GU_Types.h:102
EDGE_LENGTH
Definition:
GU_Types.h:82
GU_CHORD_SPLINE_TEX
Definition:
GU_Types.h:104
GU_METRIC_UV
Definition:
GU_Types.h:89
GU_CIRCLE_SLICED_ARC
Definition:
GU_Types.h:20
GU_DEFORM_TWIST
Definition:
GU_Types.h:60
GU_TextureType
GU_TextureType
Definition:
GU_Types.h:94
GU_LATTICE_BEZIER
Definition:
GU_Types.h:112
GU_LATTICE_LINEAR
Definition:
GU_Types.h:111
GU_ZAXIS
Definition:
GU_Types.h:28
GU
GU_Types.h
Generated on Thu Nov 21 2024 02:43:40 for HDK by
1.8.6