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;
28  extern GT_API const UT_StringHolder cache_name;
31  extern GT_API const UT_StringHolder filename;
32  extern GT_API const UT_StringHolder instancefile;
34  extern GT_API const UT_StringHolder lop_pick_id;
35  extern GT_API const UT_StringHolder map_blend;
36  extern GT_API const UT_StringHolder map_cd;
37  extern GT_API const UT_StringHolder map_disp;
38  extern GT_API const UT_StringHolder map_nml;
42  extern GT_API const UT_StringHolder object_name;
43  extern GT_API const UT_StringHolder point_id;
44  extern GT_API const UT_StringHolder primitive_id;
46  extern GT_API const UT_StringHolder profile_id;
47  extern GT_API const UT_StringHolder selection;
48  extern GT_API const UT_StringHolder time;
49  extern GT_API const UT_StringHolder topology;
51  extern GT_API const UT_StringHolder version;
52  extern GT_API const UT_StringHolder vertex_id;
53  extern GT_API const UT_StringHolder view_lod;
55  /// @}
56 
57  /// These names are more specialized and don't begin with __
58  /// @{
59  extern GT_API const UT_StringHolder name;
60  extern GT_API const UT_StringHolder boneIndex;
61  extern GT_API const UT_StringHolder boneIndex1;
62  extern GT_API const UT_StringHolder boneIndex2;
63  extern GT_API const UT_StringHolder boneWeight;
64  extern GT_API const UT_StringHolder boneWeight1;
65  extern GT_API const UT_StringHolder boneWeight2;
66  extern GT_API const UT_StringHolder tangentu;
67  extern GT_API const UT_StringHolder tangentv;
68  extern GT_API const UT_StringHolder st;
69  /// @}
70 
71 } // namespace GT_Names
72 
73 #endif // __GT_NAMES_H_INCLUDED__
GT_API const UT_StringHolder selection
GT_API const UT_StringHolder filename
GT_API const UT_StringHolder tangentv
GT_API const UT_StringHolder time
GT_API const UT_StringHolder blend_shape_offsets
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 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 consolidated_selection
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 st
GT_API const UT_StringHolder blend_shape_normal_offsets
GT_API const UT_StringHolder consolidated_mesh
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 tangentu
GT_API const UT_StringHolder map_disp