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
GT_PrimitiveTypes.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: GT_PrimitiveTypes.h ( GT Library, C++)
7
*
8
* COMMENTS:
9
*/
10
11
#ifndef __GT_PrimitiveTypes__
12
#define __GT_PrimitiveTypes__
13
14
#include "
GT_API.h
"
15
16
typedef
enum
{
17
GT_PRIM_UNDEFINED
= -1,
18
19
// A collection of primitives
20
GT_PRIM_COLLECT
,
// GT_PrimCollect
21
22
// A detail collection (GU_Detail)
23
GT_PRIM_DETAIL
,
24
25
// Simple GEO primitives
26
GT_GEO_PRIMITIVE
,
27
GT_GEO_PRIMTPSURF
,
28
GT_GEO_PACKED
,
// Packed prim
29
GT_GEO_PRIMLIST
,
// List of GEO primitives
30
31
// Meshes of simple GEO primitives
32
GT_GEO_PRIMTPSURF_MESH
,
33
34
// Simple primitives
35
GT_PRIM_CURVE
,
// Single open polygon or cubic curve
36
GT_PRIM_POLYGON
,
// Single closed polygon
37
GT_PRIM_PATCH
,
// Single linear or cubic patch primitive
38
GT_PRIM_NUPATCH
,
// A NURBS Patch
39
40
// Meshes of simple primitives
41
GT_PRIM_CURVE_MESH
,
// Soup of linear or cubic curves
42
GT_PRIM_POLYGON_MESH
,
// Polygon soup
43
GT_PRIM_PATCH_MESH
,
// Mesh of patch primitives
44
GT_PRIM_SUBDIVISION_MESH
,
// Polygon soup as subdivision surface
45
GT_PRIM_SUBDIVISION_CURVES
,
// Curves as subdivision curves
46
GT_PRIM_TRIANGLE_STRIP
,
// Triangle strip (specialized patch mesh)
47
GT_PRIM_TRIANGLE_FAN
,
// Triangle fan (specialized polygon mesh)
48
49
// NURBS primitives
50
GT_PRIM_NURBS_CURVE
,
// Single NURBS curve
51
GT_PRIM_NURBS_SURFACE
,
// NURBS surface
52
53
// Meshes of NURBS primitives
54
GT_PRIM_NURBS_CURVE_MESH
,
// Soup of NURBS curves
55
56
// Quadric primitives
57
GT_PRIM_CIRCLE
,
// Primitive circle
58
GT_PRIM_SPHERE
,
// Primitive sphere
59
GT_PRIM_TUBE
,
// Primitive tube
60
GT_PRIM_HYPERBOLOID
,
// Primitive hyperboloid
61
62
// Point-based primitives
63
GT_PRIM_POINT_MESH
,
// Point set
64
GT_PRIM_PARTICLE
,
// Particle primitive
65
66
// Metaballs
67
GT_PRIM_METAEXPR
,
// Metaball expression
68
69
// Volume primitives
70
GT_PRIM_VOXEL_VOLUME
,
// Simple volume primitive
71
GT_PRIM_VDB_VOLUME
,
// VDB volume primitive
72
GT_PRIM_TET_MESH
,
// Tetrahedrons
73
GT_PRIM_HEX_MESH
,
// Hexahedrons
74
75
// Bezier patch (not a Bezier surface)
76
GT_PRIM_BEZIER_PATCH
,
77
78
// Quadric meshes (collections of quadrics)
79
GT_PRIM_CIRCLE_MESH
,
80
GT_PRIM_SPHERE_MESH
,
81
GT_PRIM_TUBE_MESH
,
82
GT_PRIM_HYPERBOLOID_MESH
,
83
84
GT_PRIM_CAPTURE_REGIONS
,
// Capture region pills
85
86
GT_PRIM_INSTANCE
,
// Instance primitive
87
GT_PRIM_FRAGMENTS
,
// Fragments primitive
88
GT_PRIM_AGENTS
,
// Collection of Agents
89
GT_PRIM_AGENT_SHAPE
,
// Instances of an agent shape
90
91
GT_PRIM_ALEMBIC_ARCHIVE
,
// Collection of shapes and instances
92
GT_PRIM_ALEMBIC_SHAPE
,
// Single alembic geometry shape
93
GT_PRIM_ALEMBIC_SHAPE_MESH
,
// Multiple alembic shapes combined into one
94
GT_PRIM_ALEMBIC_INSTANCE
,
// Instanced alembic geometry shape
95
96
GT_PRIM_PACKED_DISK
,
// Packed disk primitive (single or sequence)
97
98
GT_PRIM_CHANNEL
,
// Channel Primitive
99
100
GT_PRIM_CHARACTER_SCENE
,
// Character scene primitive
101
GT_PRIM_CHARACTER_SHAPE
,
// Character scene shape primitive
102
103
GT_MAX_PRIM_TYPES
,
104
}
GT_PrimitiveType
;
105
106
static
inline
bool
GTvalidPrimitive(
int
id
)
107
{
108
return
id
>
GT_PRIM_UNDEFINED
&&
109
id
<
GT_MAX_PRIM_TYPES
;
110
}
111
112
extern
GT_API
const
char
*
GTprimitiveType
(
int
type
);
113
extern
GT_API
GT_PrimitiveType
GTprimitiveType
(
const
char
*
name
);
114
115
#endif
GT_PRIM_SUBDIVISION_MESH
Definition:
GT_PrimitiveTypes.h:44
GT_PRIM_AGENT_SHAPE
Definition:
GT_PrimitiveTypes.h:89
GT_PRIM_NURBS_CURVE_MESH
Definition:
GT_PrimitiveTypes.h:54
GT_PRIM_SPHERE_MESH
Definition:
GT_PrimitiveTypes.h:80
GT_PRIM_PARTICLE
Definition:
GT_PrimitiveTypes.h:64
GT_GEO_PRIMTPSURF
Definition:
GT_PrimitiveTypes.h:27
GT_PRIM_ALEMBIC_ARCHIVE
Definition:
GT_PrimitiveTypes.h:91
GT_PRIM_CURVE
Definition:
GT_PrimitiveTypes.h:35
GT_PRIM_CIRCLE
Definition:
GT_PrimitiveTypes.h:57
GT_PRIM_FRAGMENTS
Definition:
GT_PrimitiveTypes.h:87
GT_PRIM_CURVE_MESH
Definition:
GT_PrimitiveTypes.h:41
GT_PRIM_SPHERE
Definition:
GT_PrimitiveTypes.h:58
GT_API
#define GT_API
Definition:
GT_API.h:13
GT_PRIM_NURBS_SURFACE
Definition:
GT_PrimitiveTypes.h:51
GT_PRIM_CIRCLE_MESH
Definition:
GT_PrimitiveTypes.h:79
GT_PRIM_HYPERBOLOID_MESH
Definition:
GT_PrimitiveTypes.h:82
GT_PRIM_ALEMBIC_SHAPE
Definition:
GT_PrimitiveTypes.h:92
GT_GEO_PRIMTPSURF_MESH
Definition:
GT_PrimitiveTypes.h:32
GT_PRIM_CHARACTER_SCENE
Definition:
GT_PrimitiveTypes.h:100
GT_PRIM_POLYGON_MESH
Definition:
GT_PrimitiveTypes.h:42
GT_API.h
GT_PRIM_TRIANGLE_STRIP
Definition:
GT_PrimitiveTypes.h:46
GT_PRIM_TET_MESH
Definition:
GT_PrimitiveTypes.h:72
GT_PRIM_TRIANGLE_FAN
Definition:
GT_PrimitiveTypes.h:47
GT_PRIM_COLLECT
Definition:
GT_PrimitiveTypes.h:20
GT_GEO_PRIMITIVE
Definition:
GT_PrimitiveTypes.h:26
GT_PRIM_PATCH
Definition:
GT_PrimitiveTypes.h:37
GT_PRIM_NURBS_CURVE
Definition:
GT_PrimitiveTypes.h:50
GT_PRIM_TUBE
Definition:
GT_PrimitiveTypes.h:59
GT_PRIM_CAPTURE_REGIONS
Definition:
GT_PrimitiveTypes.h:84
GT_PRIM_SUBDIVISION_CURVES
Definition:
GT_PrimitiveTypes.h:45
GT_PRIM_ALEMBIC_SHAPE_MESH
Definition:
GT_PrimitiveTypes.h:93
GT_PRIM_HEX_MESH
Definition:
GT_PrimitiveTypes.h:73
GT_PRIM_CHARACTER_SHAPE
Definition:
GT_PrimitiveTypes.h:101
GT_PRIM_AGENTS
Definition:
GT_PrimitiveTypes.h:88
GT_PRIM_UNDEFINED
Definition:
GT_PrimitiveTypes.h:17
GT_PRIM_VDB_VOLUME
Definition:
GT_PrimitiveTypes.h:71
name
GLuint const GLchar * name
Definition:
glcorearb.h:786
GT_PRIM_NUPATCH
Definition:
GT_PrimitiveTypes.h:38
GT_PRIM_ALEMBIC_INSTANCE
Definition:
GT_PrimitiveTypes.h:94
GT_PRIM_DETAIL
Definition:
GT_PrimitiveTypes.h:23
GT_PRIM_POINT_MESH
Definition:
GT_PrimitiveTypes.h:63
GT_PRIM_PATCH_MESH
Definition:
GT_PrimitiveTypes.h:43
GT_PrimitiveType
GT_PrimitiveType
Definition:
GT_PrimitiveTypes.h:16
GT_PRIM_BEZIER_PATCH
Definition:
GT_PrimitiveTypes.h:76
GT_PRIM_METAEXPR
Definition:
GT_PrimitiveTypes.h:67
GT_PRIM_CHANNEL
Definition:
GT_PrimitiveTypes.h:98
GT_PRIM_INSTANCE
Definition:
GT_PrimitiveTypes.h:86
GT_PRIM_POLYGON
Definition:
GT_PrimitiveTypes.h:36
GTprimitiveType
GT_API const char * GTprimitiveType(int type)
GT_GEO_PACKED
Definition:
GT_PrimitiveTypes.h:28
type
type
Definition:
core.h:1059
GT_PRIM_PACKED_DISK
Definition:
GT_PrimitiveTypes.h:96
GT_MAX_PRIM_TYPES
Definition:
GT_PrimitiveTypes.h:103
GT_PRIM_TUBE_MESH
Definition:
GT_PrimitiveTypes.h:81
GT_PRIM_HYPERBOLOID
Definition:
GT_PrimitiveTypes.h:60
GT_PRIM_VOXEL_VOLUME
Definition:
GT_PrimitiveTypes.h:70
GT_GEO_PRIMLIST
Definition:
GT_PrimitiveTypes.h:29
GT
GT_PrimitiveTypes.h
Generated on Fri Sep 13 2024 03:32:46 for HDK by
1.8.6