HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
GT_Names.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_Names.h (GT Library, C++)
7  *
8  * COMMENTS:
9  */
10 
11 #ifndef __GT_NAMES_H_INCLUDED__
12 #define __GT_NAMES_H_INCLUDED__
13 
14 #include "GT_API.h"
15 #include <UT/UT_StringHolder.h>
16 
17 /// Cached const UT_StringHolder's for common attribute names,
18 /// so that the hash and length only get computed once,
19 /// and equality can be checked using the pointers first.
20 namespace GT_Names
21 {
22  /// These names all start with __ to indicate internal attributes
23  /// @{
24  extern GT_API const UT_StringHolder bboxmax;
25  extern GT_API const UT_StringHolder bboxmin;
26  extern GT_API const UT_StringHolder cache_name;
27  extern GT_API const UT_StringHolder filename;
28  extern GT_API const UT_StringHolder instancefile;
30  extern GT_API const UT_StringHolder lop_pick_id;
31  extern GT_API const UT_StringHolder map_blend;
32  extern GT_API const UT_StringHolder map_cd;
33  extern GT_API const UT_StringHolder map_disp;
34  extern GT_API const UT_StringHolder map_nml;
38  extern GT_API const UT_StringHolder object_name;
39  extern GT_API const UT_StringHolder point_id;
40  extern GT_API const UT_StringHolder primitive_id;
42  extern GT_API const UT_StringHolder profile_id;
43  extern GT_API const UT_StringHolder selection;
44  extern GT_API const UT_StringHolder time;
45  extern GT_API const UT_StringHolder topology;
47  extern GT_API const UT_StringHolder version;
48  extern GT_API const UT_StringHolder vertex_id;
49  extern GT_API const UT_StringHolder view_lod;
51  /// @}
52 
53  /// These names are more specialized and don't begin with __
54  /// @{
55  extern GT_API const UT_StringHolder boneIndex;
56  extern GT_API const UT_StringHolder boneIndex1;
57  extern GT_API const UT_StringHolder boneIndex2;
58  extern GT_API const UT_StringHolder boneWeight;
59  extern GT_API const UT_StringHolder boneWeight1;
60  extern GT_API const UT_StringHolder boneWeight2;
61  /// @}
62 
63 } // namespace GT_Names
64 
65 #endif // __GT_NAMES_H_INCLUDED__
GT_API const UT_StringHolder selection
GT_API const UT_StringHolder filename
GT_API const UT_StringHolder time
GT_API const UT_StringHolder boneWeight1
#define GT_API
Definition: GT_API.h:11
GT_API const UT_StringHolder cache_name
GT_API const UT_StringHolder map_cd
GT_API const UT_StringHolder instancelevels
GT_API const UT_StringHolder bboxmax
GT_API const UT_StringHolder bboxmin
GT_API const UT_StringHolder nested_vertex_id
GT_API const UT_StringHolder point_id
GT_API const UT_StringHolder boneIndex1
GT_API const UT_StringHolder boneWeight
GT_API const UT_StringHolder boneIndex2
GT_API const UT_StringHolder primitive_id
GT_API const UT_StringHolder nml_generated
GT_API const UT_StringHolder topology
GT_API const UT_StringHolder view_lod_mask
GT_API const UT_StringHolder nested_prim_id
GT_API const UT_StringHolder winding_order
GT_API const UT_StringHolder instancefile
GT_API const UT_StringHolder object_name
GT_API const UT_StringHolder map_nml
GT_API const UT_StringHolder primitivelist
GT_API const UT_StringHolder version
GT_API const UT_StringHolder boneWeight2
GT_API const UT_StringHolder lop_pick_id
GT_API const UT_StringHolder map_blend
GT_API const UT_StringHolder profile_id
GT_API const UT_StringHolder view_lod
GT_API const UT_StringHolder vertex_id
GT_API const UT_StringHolder boneIndex
GT_API const UT_StringHolder map_disp