HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
HUSD_Constants.h
Go to the documentation of this file.
1 /*
2  * Copyright 2019 Side Effects Software Inc.
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  *
16  */
17 
18 #ifndef __HUSD_Constants_h__
19 #define __HUSD_Constants_h__
20 
21 #include "HUSD_API.h"
22 #include <UT/UT_StringHolder.h>
23 
25 {
26 public:
27  static const UT_StringHolder &getRootPrimPath();
28  static const UT_StringHolder &getRenderSettingsRootPrimPath();
29 
30  static const UT_StringHolder &getHoudiniRendererPluginName();
31  static const UT_StringHolder &getKarmaRendererPluginName();
32 
33  static const UT_StringHolder &getXformPrimType();
34  static const UT_StringHolder &getScopePrimType();
35  static const UT_StringHolder &getGeomCameraPrimType();
36  static const UT_StringHolder &getGeomGprimPrimType();
37  static const UT_StringHolder &getGeomBoundablePrimType();
38  static const UT_StringHolder &getGeomImageablePrimType();
39  static const UT_StringHolder &getVolumePrimType();
40  static const UT_StringHolder &getOpenVDBAssetPrimType();
41  static const UT_StringHolder &getHoudiniFieldAssetPrimType();
42  static const UT_StringHolder &getPointInstancerPrimType();
43 
44  static const UT_StringHolder &getMaterialPrimTypeName();
45  static const UT_StringHolder &getShaderPrimTypeName();
46 
47  static const UT_StringHolder &getLuxLightAPIName();
48  static const UT_StringHolder &getGeomModelAPIName();
49 
50  static const UT_StringHolder &getAutomaticPrimIdentifier();
51  static const UT_StringHolder &getDefaultPrimIdentifier();
52 
53  static const UT_StringHolder &getDefaultClipSetName();
54 
55  static const UT_StringHolder &getHoudiniLayerInfoPrimPath();
56  static const UT_StringHolder &getHoudiniLayerInfoPrimName();
57  static const UT_StringHolder &getHoudiniLayerInfoPrimType();
58  static const UT_StringHolder &getHoudiniFreeCameraPrimPath();
59 
60  static const UT_StringHolder &getSaveControlExplicit();
61  static const UT_StringHolder &getSaveControlPlaceholder();
62  static const UT_StringHolder &getSaveControlIsFileFromDisk();
63  static const UT_StringHolder &getSaveControlDoNotSave();
64 
65  static const UT_StringHolder &getAttributePointProtoIndices();
66  static const UT_StringHolder &getAttributePointIds();
67  static const UT_StringHolder &getAttributePointInvisibleIds();
68  static const UT_StringHolder &getAttributePointPositions();
69  static const UT_StringHolder &getAttributePointOrientations();
70  static const UT_StringHolder &getAttributePointScales();
71  static const UT_StringHolder &getAttributePointVelocities();
72  static const UT_StringHolder &getAttributePointAccelerations();
73  static const UT_StringHolder &getAttributePointAngularVelocities();
74  static const UT_StringHolder &getAttributePoints();
75 
76  static const UT_StringHolder &getAttributeVolumeFieldFilePath();
77  static const UT_StringHolder &getAttributeVolumeFieldName();
78  static const UT_StringHolder &getAttributeVolumeFieldIndex();
79 
80  static const UT_StringHolder &getAttributeExtentsHint();
81  static const UT_StringHolder &getAttributeApplyDrawMode();
82  static const UT_StringHolder &getAttributeCardGeometry();
83  enum {XNEG, XPOS, YNEG, YPOS, ZNEG, ZPOS};
84  static const UT_StringHolder &getAttributeCardTexture(int);
85  static const UT_StringHolder &getAttributeDrawMode();
86  static const UT_StringHolder &getAttributeDrawModeColor();
87 
88  static const UT_StringHolder &getRelationshipPrototypes();
89 
90  static const UT_StringHolder &getPrimSpecifierDefine();
91  static const UT_StringHolder &getPrimSpecifierOverride();
92  static const UT_StringHolder &getPrimSpecifierClass();
93 
94  static const UT_StringHolder &getReferenceTypeFile();
95  static const UT_StringHolder &getReferenceTypePayload();
96  static const UT_StringHolder &getReferenceTypePrim();
97  static const UT_StringHolder &getReferenceTypeInherit();
98  static const UT_StringHolder &getReferenceTypeSpecialize();
99 
100  static const UT_StringHolder &getEditOpAppendFront();
101  static const UT_StringHolder &getEditOpAppendBack();
102  static const UT_StringHolder &getEditOpPrependFront();
103  static const UT_StringHolder &getEditOpPrependBack();
104 
105  static const UT_StringHolder &getPurposeDefault();
106  static const UT_StringHolder &getPurposeProxy();
107  static const UT_StringHolder &getPurposeRender();
108  static const UT_StringHolder &getPurposeGuide();
109 
110  static const UT_StringHolder &getKindSubComponent();
111  static const UT_StringHolder &getKindComponent();
112  static const UT_StringHolder &getKindGroup();
113  static const UT_StringHolder &getKindAssembly();
114  static const UT_StringHolder &getKindAutomatic();
115  static const UT_StringHolder &getFakeKindXform();
116 
117  static const UT_StringHolder &getDrawModeDefault();
118  static const UT_StringHolder &getDrawModeOrigin();
119  static const UT_StringHolder &getDrawModeBounds();
120  static const UT_StringHolder &getDrawModeCards();
121 
122  static const UT_StringHolder &getCollectionPrefix();
123  static const UT_StringHolder &getExpansionExplicit();
124  static const UT_StringHolder &getExpansionExpandPrims();
125  static const UT_StringHolder &getExpansionExpandPrimsAndProperties();
126 
127  static const UT_StringHolder &getDefaultBgeoPathAttr();
128  static const UT_StringHolder &getDefaultBgeoAttribPattern();
129  static const UT_StringHolder &getDefaultBgeoPathPrefix();
130 
131  static const UT_StringHolder &getMatPurposeAll();
132  static const UT_StringHolder &getMatPurposeFull();
133  static const UT_StringHolder &getMatPurposePreview();
134 
135  static const UT_StringHolder &getInterpolationConstant();
136  static const UT_StringHolder &getInterpolationVarying();
137 
138  static const UT_StringHolder &getUpAxisY();
139  static const UT_StringHolder &getUpAxisZ();
140 
141  static const UT_StringHolder &getInvisible();
142 
143  static const UT_StringHolder &getIconCustomDataName();
144 
145  static const UT_StringHolder &getBlockVariantValue();
146 
147  static const UT_StringHolder &getVolumeSopSuffix();
148 
149  static const UT_StringHolder &getRenderStatsDelegateKey();
150 };
151 
152 #endif
153 
#define HUSD_API
Definition: HUSD_API.h:32