HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
GA_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: GA_Names.h (GA Library, C++)
7  *
8  * COMMENTS: Cached const UT_StringHolder's for common attribute names,
9  * so that the hash and length only get computed once,
10  * and equality can be checked using the pointers first.
11  */
12 
13 #pragma once
14 
15 #ifndef __GA_Names__
16 #define __GA_Names__
17 
18 #include "GA_API.h"
19 #include <UT/UT_StringHolder.h>
20 
21 namespace GA_Names
22 {
23  extern GA_API const UT_StringHolder P;
24  extern GA_API const UT_StringHolder Pw;
25  extern GA_API const UT_StringHolder N;
26  extern GA_API const UT_StringHolder uv;
27  extern GA_API const UT_StringHolder v;
28  extern GA_API const UT_StringHolder w;
32  extern GA_API const UT_StringHolder ogl_shop;
33  extern GA_API const UT_StringHolder Cd;
34  extern GA_API const UT_StringHolder Alpha;
35  extern GA_API const UT_StringHolder com;
36  extern GA_API const UT_StringHolder dist;
37  extern GA_API const UT_StringHolder lod;
38  extern GA_API const UT_StringHolder rest;
39  extern GA_API const UT_StringHolder mass;
40  extern GA_API const UT_StringHolder drag;
41  extern GA_API const UT_StringHolder tension;
42  extern GA_API const UT_StringHolder springk;
43  extern GA_API const UT_StringHolder life;
44  extern GA_API const UT_StringHolder age;
45  extern GA_API const UT_StringHolder up;
46  extern GA_API const UT_StringHolder orient;
47  extern GA_API const UT_StringHolder id;
48  extern GA_API const UT_StringHolder pscale;
49  extern GA_API const UT_StringHolder creaseweight;
50  extern GA_API const UT_StringHolder area;
51  extern GA_API const UT_StringHolder perimeter;
52  extern GA_API const UT_StringHolder width;
53  extern GA_API const UT_StringHolder instancefile;
54 
55  extern GA_API const UT_StringHolder layermerge;
56  extern GA_API const UT_StringHolder segs;
57  extern GA_API const UT_StringHolder div;
58  extern GA_API const UT_StringHolder lage;
59  extern GA_API const UT_StringHolder arc;
60  extern GA_API const UT_StringHolder gen;
61 
62  extern GA_API const UT_StringHolder tubeCapt;
63  extern GA_API const UT_StringHolder name;
64  extern GA_API const UT_StringHolder rixlate;
65  extern GA_API const UT_StringHolder varmap;
66  extern GA_API const UT_StringHolder layercount;
67  extern GA_API const UT_StringHolder currentlayer;
68 
69  extern GA_API const UT_StringHolder trans;
70  extern GA_API const UT_StringHolder scale;
71  extern GA_API const UT_StringHolder rot;
72  extern GA_API const UT_StringHolder pivot;
73  extern GA_API const UT_StringHolder transform;
74 
76 
78 
79  /// Remaps attribute names to more readable label names.
80  GA_API const UT_StringHolder &
82 
83  // Internal: DO NOT USE IN HDK!
84 
92 
93  extern GA_API const UT_StringHolder internalN;
94 };
95 
96 #endif
GA_API const UT_StringHolder dist
GA_API const UT_StringHolder div
GA_API const UT_StringHolder tension
GA_API const UT_StringHolder springk
GA_API const UT_StringHolder uv
GA_API const UT_StringHolder rot
GA_API const UT_StringHolder _3d_hidden_primitives
GA_API const UT_StringHolder instancefile
GA_API const UT_StringHolder com
#define GA_API
Definition: GA_API.h:12
GA_API const UT_StringHolder P
GA_API const UT_StringHolder v
GA_API const UT_StringHolder layermerge
GA_API const UT_StringHolder currentlayer
GA_API const UT_StringHolder layercount
GA_API const UT_StringHolder name
Definition: png.h:2467
GA_API const UT_StringHolder Cd
GA_API const UT_StringHolder scale
GA_API const UT_StringHolder _vertex_hedgePrevRef
GA_API const UT_StringHolder rixlate
GA_API const UT_StringHolder material_override
GA_API const UT_StringHolder varmap
GA_API const UT_StringHolder _vertex_primitiveRef
GA_API const UT_StringHolder trans
Definition: png.h:2520
GA_API const UT_StringHolder perimeter
GA_API const UT_StringHolder gen
GA_API const UT_StringHolder drag
GA_API const UT_StringHolder _point_vertexNextRef
GLuint const GLchar * name
Definition: glcorearb.h:785
GA_API const UT_StringHolder id
GA_API const UT_StringHolder transform
GA_API const UT_StringHolder _point_vertexRef
GA_API const UT_StringHolder orient
GA_API const UT_StringHolder material_stylesheet
GA_API const UT_StringHolder internalN
GA_API const UT_StringHolder mass
GA_API const UT_StringHolder metaExpression
GA_API const UT_StringHolder Pw
GA_API const UT_StringHolder w
GA_API const UT_StringHolder up
GA_API const UT_StringHolder _point_vertexPrevRef
GA_API const UT_StringHolder pscale
GA_API const UT_StringHolder N
GA_API const UT_StringHolder pivot
GA_API const UT_StringHolder tubeCapt
GA_API const UT_StringHolder creaseweight
GA_API const UT_StringHolder arc
GA_API const UT_StringHolder ogl_shop
GA_API const UT_StringHolder lod
GA_API const UT_StringHolder life
GA_API const UT_StringHolder _vertex_hedgeNextRef
GA_API const UT_StringHolder segs
GA_API const UT_StringHolder Alpha
GA_API const UT_StringHolder rest
GA_API const UT_StringHolder width
Definition: png.h:2394
GA_API const UT_StringHolder & mapAttribNameToLabel(const UT_StringRef &name)
Remaps attribute names to more readable label names.
GA_API const UT_StringHolder age
GA_API const UT_StringHolder _vertex_pointRef
GA_API const UT_StringHolder area
GA_API const UT_StringHolder lage
GA_API const UT_StringHolder shop_materialpath