HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
GEO_PrimType.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 simply contains a list of token identifiers for primitive
10  * types. Currently, there may be up to 32 types of primitives
11  * supported. This may change (but not easily). From the list
12  * below, it is apparent that this should be lots of primitives
13  * to work with.
14  *
15  * Each primitive type must have a unique bit so that code can
16  * quickly search through the primitives it knows about.
17  *
18  */
19 
20 #ifndef __GEO_PrimType_h__
21 #define __GEO_PrimType_h__
22 
23 // The list of identifiers for the factory primitive types. Any user defined
24 // types will be assigned unique identifiers following these. In general, no
25 // assumptions about these factory identifiers remaining unchanged should be
26 // made. See GA_PrimitiveDefinition.h for more.
27 
28 #include <GA/GA_PrimitiveTypes.h>
30 
32 {
34 
38 
42 
44 
48 
50 
56 
61 
63 
65 
67 
69 
71 
72  GEO_NUM_INTERNAL_PRIM_TYPES // sentinel value
73 };
74 
75 // Convenience defines
76 #define GEO_FAMILY_FACE GA_FAMILY_FACE
77 #define GEO_FAMILY_CURVE GA_FAMILY_CURVE
78 #define GEO_FAMILY_HULL GA_FAMILY_HULL
79 #define GEO_FAMILY_TPSURF GA_FAMILY_TPSURF
80 #define GEO_FAMILY_QUADRIC GA_FAMILY_QUADRIC
81 #define GEO_FAMILY_META GA_FAMILY_META
82 #define GEO_FAMILY_SPLINE GA_FAMILY_SPLINE
83 #define GEO_FAMILY_VOLUMEELEMENT GA_FAMILY_VOLUMEELEMENT
84 
85 #endif
GEO_PrimitiveType
Definition: GEO_PrimType.h:31