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
GA_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: GA_PrimitiveTypes.h ( GA Library, C++)
7
*
8
* COMMENTS:
9
*/
10
11
#ifndef __GA_PrimitiveTypes__
12
#define __GA_PrimitiveTypes__
13
14
#include "
GA_API.h
"
15
16
#include "
GA_PrimitiveTypeId.h
"
17
18
// The list of identifiers for the factory primitive types. Any user defined
19
// types will be assigned unique identifiers following these. In general, no
20
// assumptions about these factory identifiers remaining unchanged should be
21
// made. See GA_PrimitiveDefinition.h for more.
22
// However, note this *DOES* leak outside (via intrinsics) so we can't
23
// actually change this order and must always add to the end.
24
25
enum
26
{
27
GA_PRIMNONE
= 0,
28
29
GA_PRIMPOLY
,
30
GA_PRIMNURBCURVE
,
31
GA_PRIMBEZCURVE
,
32
33
GA_PRIMMESH
,
34
GA_PRIMNURBSURF
,
35
GA_PRIMBEZSURF
,
36
37
GA_PRIMPASTESURF
,
38
39
GA_PRIMCIRCLE
,
40
GA_PRIMSPHERE
,
41
GA_PRIMTUBE
,
42
43
GA_PRIMPART
,
44
45
GA_PRIMMETABALL
,
46
GA_PRIMMETASQUAD
,
47
GA_PRIMMETALINE
,
48
GA_PRIMMETABEZ
,
49
GA_PRIMMETATRI
,
50
51
GA_PRIMTRIFAN
,
52
GA_PRIMTRISTRIP
,
53
GA_PRIMTRIBEZIER
,
54
GA_PRIMVOLUME
,
55
56
GA_PRIMTETRAHEDRON
,
57
58
GA_PRIMPOLYSOUP
,
59
GA_PRIMVDB
,
60
61
GA_PRIMHEXAHEDRON
,
62
63
GA_PRIMCHANNEL
,
64
65
GA_PRIMINTERNALSENTINEL
// sentinel value
66
};
67
68
inline
bool
GAisVolumeElement
(
const
GA_PrimitiveTypeId
&
id
)
69
{
70
return
(
id
==
GA_PRIMTETRAHEDRON
) || (
id
==
GA_PRIMHEXAHEDRON
);
71
}
72
73
74
#endif
GA_PRIMTETRAHEDRON
Definition:
GA_PrimitiveTypes.h:56
GA_PRIMCIRCLE
Definition:
GA_PrimitiveTypes.h:39
GA_PRIMPASTESURF
Definition:
GA_PrimitiveTypes.h:37
GA_PRIMTRIBEZIER
Definition:
GA_PrimitiveTypes.h:53
GA_PRIMBEZSURF
Definition:
GA_PrimitiveTypes.h:35
GA_PRIMMETABEZ
Definition:
GA_PrimitiveTypes.h:48
GA_PRIMNURBCURVE
Definition:
GA_PrimitiveTypes.h:30
GA_PRIMTRISTRIP
Definition:
GA_PrimitiveTypes.h:52
GA_PRIMNONE
Definition:
GA_PrimitiveTypes.h:27
GA_PRIMTRIFAN
Definition:
GA_PrimitiveTypes.h:51
GA_PRIMMETABALL
Definition:
GA_PrimitiveTypes.h:45
GA_PRIMBEZCURVE
Definition:
GA_PrimitiveTypes.h:31
GA_PRIMNURBSURF
Definition:
GA_PrimitiveTypes.h:34
GA_API.h
GA_PRIMINTERNALSENTINEL
Definition:
GA_PrimitiveTypes.h:65
GA_PRIMVOLUME
Definition:
GA_PrimitiveTypes.h:54
GA_PRIMMETATRI
Definition:
GA_PrimitiveTypes.h:49
GA_PrimitiveTypeId.h
GA_PRIMPOLY
Definition:
GA_PrimitiveTypes.h:29
GA_PRIMMETASQUAD
Definition:
GA_PrimitiveTypes.h:46
GA_PRIMVDB
Definition:
GA_PrimitiveTypes.h:59
GA_PRIMPART
Definition:
GA_PrimitiveTypes.h:43
GA_PRIMMETALINE
Definition:
GA_PrimitiveTypes.h:47
GA_PRIMTUBE
Definition:
GA_PrimitiveTypes.h:41
GA_PRIMMESH
Definition:
GA_PrimitiveTypes.h:33
GA_PRIMPOLYSOUP
Definition:
GA_PrimitiveTypes.h:58
GA_PRIMCHANNEL
Definition:
GA_PrimitiveTypes.h:63
GA_PRIMHEXAHEDRON
Definition:
GA_PrimitiveTypes.h:61
GA_PrimitiveTypeId
Definition:
GA_PrimitiveTypeId.h:20
GAisVolumeElement
bool GAisVolumeElement(const GA_PrimitiveTypeId &id)
Definition:
GA_PrimitiveTypes.h:68
GA_PRIMSPHERE
Definition:
GA_PrimitiveTypes.h:40
GA
GA_PrimitiveTypes.h
Generated on Mon Oct 14 2024 02:48:01 for HDK by
1.8.6