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;
29  extern GT_API const UT_StringHolder cache_name;
32  extern GT_API const UT_StringHolder filename;
33  extern GT_API const UT_StringHolder instancefile;
35  extern GT_API const UT_StringHolder lop_pick_id;
36  extern GT_API const UT_StringHolder map_blend;
37  extern GT_API const UT_StringHolder map_cd;
38  extern GT_API const UT_StringHolder map_disp;
39  extern GT_API const UT_StringHolder map_nml;
43  extern GT_API const UT_StringHolder object_name;
44  extern GT_API const UT_StringHolder point_id;
45  extern GT_API const UT_StringHolder primitive_id;
47  extern GT_API const UT_StringHolder profile_id;
48  extern GT_API const UT_StringHolder selection;
49  extern GT_API const UT_StringHolder time;
50  extern GT_API const UT_StringHolder topology;
52  extern GT_API const UT_StringHolder version;
53  extern GT_API const UT_StringHolder vertex_id;
54  extern GT_API const UT_StringHolder view_lod;
57  /// @}
58 
59  /// These names are more specialized and don't begin with __
60  /// @{
61  extern GT_API const UT_StringHolder name;
62  extern GT_API const UT_StringHolder boneIndex;
63  extern GT_API const UT_StringHolder boneWeight;
64  extern GT_API const UT_StringHolder tangentu;
65  extern GT_API const UT_StringHolder tangentv;
66  extern GT_API const UT_StringHolder st;
67  extern GT_API const UT_StringHolder sharedface;
68  /// @}
69 
70 } // namespace GT_Names
71 
72 #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 sharedface
GT_API const UT_StringHolder blend_shape_offsets
#define GT_API
Definition: GT_API.h:13
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 blend_shape_weights
GT_API const UT_StringHolder nested_vertex_id
GT_API const UT_StringHolder point_id
GT_API const UT_StringHolder boneWeight
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 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 rig_transforms
GT_API const UT_StringHolder tangentu
GT_API const UT_StringHolder map_disp