forked from PixarAnimationStudios/OpenUSD
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtokens.h
323 lines (317 loc) · 16.2 KB
/
tokens.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
//
// Copyright 2016 Pixar
//
// Licensed under the Apache License, Version 2.0 (the "Apache License")
// with the following modification; you may not use this file except in
// compliance with the Apache License and the following modification to it:
// Section 6. Trademarks. is deleted and replaced with:
//
// 6. Trademarks. This License does not grant permission to use the trade
// names, trademarks, service marks, or product names of the Licensor
// and its affiliates, except as required to comply with Section 4(c) of
// the License and to reproduce the content of the NOTICE file.
//
// You may obtain a copy of the Apache License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the Apache License with the above modification is
// distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
// KIND, either express or implied. See the Apache License for the specific
// language governing permissions and limitations under the Apache License.
//
#ifndef USDGEOM_TOKENS_H
#define USDGEOM_TOKENS_H
/// \file usdGeom/tokens.h
// XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
//
// This is an automatically generated file (by usdGenSchema.py).
// Do not hand-edit!
//
// XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
#include "pxr/base/tf/staticTokens.h"
/// \hideinitializer
#define USDGEOM_TOKENS \
(all) \
(alwaysSharp) \
(angularVelocities) \
(axis) \
(basis) \
(bezier) \
(bilinear) \
(boundaries) \
(bspline) \
(card) \
(catmullClark) \
(catmullRom) \
(clippingPlanes) \
(clippingRange) \
(closed) \
(collection) \
(constant) \
(cornerIndices) \
(cornerSharpnesses) \
(cornersOnly) \
(cornersPlus1) \
(cornersPlus2) \
(creaseIndices) \
(creaseLengths) \
(creaseSharpnesses) \
(cubic) \
(curveVertexCounts) \
((default_, "default")) \
(doubleSided) \
(edgeAndCorner) \
(edgeOnly) \
(elementSize) \
(extent) \
(extentsHint) \
(faceSet) \
(faceVarying) \
(faceVaryingInterpolateBoundary) \
(faceVaryingLinearInterpolation) \
(faceVertexCounts) \
(faceVertexIndices) \
(focalLength) \
(focusDistance) \
(fStop) \
(fullGeom) \
(guide) \
(height) \
(hermite) \
(holeIndices) \
(horizontalAperture) \
(horizontalApertureOffset) \
(ids) \
(inactiveIds) \
(inherited) \
(interpolateBoundary) \
(interpolation) \
(invisible) \
(invisibleIds) \
(knots) \
(left) \
(leftHanded) \
(linear) \
(loop) \
(mono) \
(none) \
(nonperiodic) \
(normals) \
(open) \
(order) \
(orientation) \
(orientations) \
(orthographic) \
(periodic) \
(perspective) \
(point) \
(points) \
(pointWeights) \
(positions) \
(power) \
((primvarsDisplayColor, "primvars:displayColor")) \
((primvarsDisplayOpacity, "primvars:displayOpacity")) \
(projection) \
(protoIndices) \
(prototypeDrawMode) \
(prototypes) \
(proxy) \
(proxyPrim) \
(purpose) \
(radius) \
(ranges) \
(render) \
(right) \
(rightHanded) \
(scales) \
((shutterClose, "shutter:close")) \
((shutterOpen, "shutter:open")) \
(size) \
(stereoRole) \
(subdivisionScheme) \
((trimCurveCounts, "trimCurve:counts")) \
((trimCurveKnots, "trimCurve:knots")) \
((trimCurveOrders, "trimCurve:orders")) \
((trimCurvePoints, "trimCurve:points")) \
((trimCurveRanges, "trimCurve:ranges")) \
((trimCurveVertexCounts, "trimCurve:vertexCounts")) \
(type) \
(uForm) \
(uKnots) \
(unauthoredValuesIndex) \
(uniform) \
(uOrder) \
(upAxis) \
(uRange) \
(uVertexCount) \
(varying) \
(velocities) \
(vertex) \
(verticalAperture) \
(verticalApertureOffset) \
(vForm) \
(visibility) \
(vKnots) \
(vOrder) \
(vRange) \
(vVertexCount) \
(widths) \
(wrap) \
((x, "X")) \
(xformOpOrder) \
((y, "Y")) \
((z, "Z"))
/// \anchor UsdGeomTokens
///
/// <b>UsdGeomTokens</b> provides static, efficient TfToken's for
/// use in all public USD API
///
/// These tokens are auto-generated from the module's schema, representing
/// property names, for when you need to fetch an attribute or relationship
/// directly by name, e.g. UsdPrim::GetAttribute(), in the most efficient
/// manner, and allow the compiler to verify that you spelled the name
/// correctly.
///
/// UsdGeomTokens also contains all of the \em allowedTokens values declared
/// for schema builtin attributes of 'token' scene description type.
/// Use UsdGeomTokens like so:
///
/// \code
/// gprim.GetVisibilityAttr().Set(UsdGeomTokens->invisible);
/// \endcode
///
/// The tokens are:
/// \li <b>all</b> - Possible value for UsdGeomMesh::GetFaceVaryingLinearInterpolationAttr()
/// \li <b>alwaysSharp</b> - Legacy token representing a deprecated faceVaryingInterpolateBoundary state. The modern equivalent is UsdGeomTokens->boundaries.
/// \li <b>angularVelocities</b> - UsdGeomPointInstancer
/// \li <b>axis</b> - UsdGeomCone, UsdGeomCapsule, UsdGeomCylinder
/// \li <b>basis</b> - UsdGeomBasisCurves
/// \li <b>bezier</b> - Possible value for UsdGeomBasisCurves::GetBasisAttr(), Default value for UsdGeomBasisCurves::GetBasisAttr()
/// \li <b>bilinear</b> - Legacy token representing a deprecated faceVaryingInterpolateBoundary state. The modern equivalent is UsdGeomTokens->all., Possible value for UsdGeomMesh::GetSubdivisionSchemeAttr()
/// \li <b>boundaries</b> - Possible value for UsdGeomMesh::GetFaceVaryingLinearInterpolationAttr()
/// \li <b>bspline</b> - Possible value for UsdGeomBasisCurves::GetBasisAttr()
/// \li <b>card</b> - Possible value for UsdGeomPointInstancer::GetPrototypeDrawModeAttr()
/// \li <b>catmullClark</b> - Possible value for UsdGeomMesh::GetSubdivisionSchemeAttr(), Default value for UsdGeomMesh::GetSubdivisionSchemeAttr()
/// \li <b>catmullRom</b> - Possible value for UsdGeomBasisCurves::GetBasisAttr()
/// \li <b>clippingPlanes</b> - UsdGeomCamera
/// \li <b>clippingRange</b> - UsdGeomCamera
/// \li <b>closed</b> - Possible value for UsdGeomNurbsPatch::GetVFormAttr(), Possible value for UsdGeomNurbsPatch::GetUFormAttr()
/// \li <b>collection</b> - This is the namespace prefix used by UsdGeomCollectionAPI for authoring collections.
/// \li <b>constant</b> - Possible value for UsdGeomPrimvar::SetInterpolation. Default value for UsdGeomPrimvar::GetInterpolation. One value remains constant over the entire surface primitive.
/// \li <b>cornerIndices</b> - UsdGeomMesh
/// \li <b>cornerSharpnesses</b> - UsdGeomMesh
/// \li <b>cornersOnly</b> - Possible value for UsdGeomMesh::GetFaceVaryingLinearInterpolationAttr()
/// \li <b>cornersPlus1</b> - Possible value for UsdGeomMesh::GetFaceVaryingLinearInterpolationAttr(), Default value for UsdGeomMesh::GetFaceVaryingLinearInterpolationAttr()
/// \li <b>cornersPlus2</b> - Possible value for UsdGeomMesh::GetFaceVaryingLinearInterpolationAttr()
/// \li <b>creaseIndices</b> - UsdGeomMesh
/// \li <b>creaseLengths</b> - UsdGeomMesh
/// \li <b>creaseSharpnesses</b> - UsdGeomMesh
/// \li <b>cubic</b> - Possible value for UsdGeomBasisCurves::GetTypeAttr(), Default value for UsdGeomBasisCurves::GetTypeAttr()
/// \li <b>curveVertexCounts</b> - UsdGeomCurves
/// \li <b>default_</b> - Possible value for UsdGeomImageable::GetPurposeAttr(), Default value for UsdGeomImageable::GetPurposeAttr()
/// \li <b>doubleSided</b> - UsdGeomGprim
/// \li <b>edgeAndCorner</b> - Legacy token representing a deprecated faceVaryingInterpolateBoundary state. The modern equivalent is UsdGeomTokens->cornersPlus1, Possible value for UsdGeomMesh::GetInterpolateBoundaryAttr(), Default value for UsdGeomMesh::GetInterpolateBoundaryAttr()
/// \li <b>edgeOnly</b> - Legacy token representing a deprecated faceVaryingInterpolateBoundary state. The modern equivalent is UsdGeomTokens->none., Possible value for UsdGeomMesh::GetInterpolateBoundaryAttr()
/// \li <b>elementSize</b> - UsdGeomPrimvar - The number of values in the value array that must be aggregated for each element on the primitive.
/// \li <b>extent</b> - UsdGeomCone, UsdGeomCapsule, UsdGeomCylinder, UsdGeomSphere, UsdGeomCube, UsdGeomBoundable
/// \li <b>extentsHint</b> - Name of the attribute used to author extents hints at the root of leaf models. Extents hints are stored by purpose as a vector of GfVec3f values. They are ordered based on the order of purpose tokens returned by UsdGeomImageable::GetOrderedPurposeTokens.
/// \li <b>faceSet</b> - This is the namespace prefix used by UsdGeomFaceSetAPI for authoring faceSet attributes.
/// \li <b>faceVarying</b> - Possible value for UsdGeomPrimVar::SetInterpolation. For polygons and subdivision surfaces, four values are interpolated over each face of the mesh. Bilinear interpolation is used for interpolation between the four values.
/// \li <b>faceVaryingInterpolateBoundary</b> - Legacy token. The modern equivalent is faceVaryingLinearInterpolation.
/// \li <b>faceVaryingLinearInterpolation</b> - UsdGeomMesh
/// \li <b>faceVertexCounts</b> - UsdGeomMesh
/// \li <b>faceVertexIndices</b> - UsdGeomMesh
/// \li <b>focalLength</b> - UsdGeomCamera
/// \li <b>focusDistance</b> - UsdGeomCamera
/// \li <b>fStop</b> - UsdGeomCamera
/// \li <b>fullGeom</b> - Possible value for UsdGeomPointInstancer::GetPrototypeDrawModeAttr(), Default value for UsdGeomPointInstancer::GetPrototypeDrawModeAttr()
/// \li <b>guide</b> - Possible value for UsdGeomImageable::GetPurposeAttr()
/// \li <b>height</b> - UsdGeomCone, UsdGeomCapsule, UsdGeomCylinder
/// \li <b>hermite</b> - Possible value for UsdGeomBasisCurves::GetBasisAttr()
/// \li <b>holeIndices</b> - UsdGeomMesh
/// \li <b>horizontalAperture</b> - UsdGeomCamera
/// \li <b>horizontalApertureOffset</b> - UsdGeomCamera
/// \li <b>ids</b> - UsdGeomPointInstancer, UsdGeomPoints
/// \li <b>inactiveIds</b> - int64listop prim metadata that specifies the PointInstancer ids that should be masked (unrenderable) over all time.
/// \li <b>inherited</b> - Possible value for UsdGeomImageable::GetVisibilityAttr(), Default value for UsdGeomImageable::GetVisibilityAttr()
/// \li <b>interpolateBoundary</b> - UsdGeomMesh
/// \li <b>interpolation</b> - UsdGeomPrimvar - How a Primvar interpolates across a primitive; equivalent to RenderMan's \ref Usd_InterpolationVals "class specifier"
/// \li <b>invisible</b> - Possible value for UsdGeomImageable::GetVisibilityAttr()
/// \li <b>invisibleIds</b> - UsdGeomPointInstancer
/// \li <b>knots</b> - UsdGeomNurbsCurves
/// \li <b>left</b> - Possible value for UsdGeomCamera::GetStereoRoleAttr()
/// \li <b>leftHanded</b> - Possible value for UsdGeomGprim::GetOrientationAttr()
/// \li <b>linear</b> - Possible value for UsdGeomBasisCurves::GetTypeAttr()
/// \li <b>loop</b> - Possible value for UsdGeomMesh::GetSubdivisionSchemeAttr()
/// \li <b>mono</b> - Possible value for UsdGeomCamera::GetStereoRoleAttr(), Default value for UsdGeomCamera::GetStereoRoleAttr()
/// \li <b>none</b> - Possible value for UsdGeomMesh::GetInterpolateBoundaryAttr(), Possible value for UsdGeomMesh::GetFaceVaryingLinearInterpolationAttr(), Possible value for UsdGeomMesh::GetSubdivisionSchemeAttr()
/// \li <b>nonperiodic</b> - Possible value for UsdGeomBasisCurves::GetWrapAttr(), Default value for UsdGeomBasisCurves::GetWrapAttr()
/// \li <b>normals</b> - UsdGeomPointBased
/// \li <b>open</b> - Possible value for UsdGeomNurbsPatch::GetVFormAttr(), Default value for UsdGeomNurbsPatch::GetVFormAttr(), Possible value for UsdGeomNurbsPatch::GetUFormAttr(), Default value for UsdGeomNurbsPatch::GetUFormAttr()
/// \li <b>order</b> - UsdGeomNurbsCurves
/// \li <b>orientation</b> - UsdGeomGprim
/// \li <b>orientations</b> - UsdGeomPointInstancer
/// \li <b>orthographic</b> - Possible value for UsdGeomCamera::GetProjectionAttr()
/// \li <b>periodic</b> - Possible value for UsdGeomBasisCurves::GetWrapAttr(), Possible value for UsdGeomNurbsPatch::GetVFormAttr(), Possible value for UsdGeomNurbsPatch::GetUFormAttr()
/// \li <b>perspective</b> - Possible value for UsdGeomCamera::GetProjectionAttr(), Default value for UsdGeomCamera::GetProjectionAttr()
/// \li <b>point</b> - Possible value for UsdGeomPointInstancer::GetPrototypeDrawModeAttr()
/// \li <b>points</b> - UsdGeomPointBased
/// \li <b>pointWeights</b> - UsdGeomNurbsPatch
/// \li <b>positions</b> - UsdGeomPointInstancer
/// \li <b>power</b> - Possible value for UsdGeomBasisCurves::GetBasisAttr()
/// \li <b>primvarsDisplayColor</b> - UsdGeomGprim
/// \li <b>primvarsDisplayOpacity</b> - UsdGeomGprim
/// \li <b>projection</b> - UsdGeomCamera
/// \li <b>protoIndices</b> - UsdGeomPointInstancer
/// \li <b>prototypeDrawMode</b> - UsdGeomPointInstancer
/// \li <b>prototypes</b> - UsdGeomPointInstancer
/// \li <b>proxy</b> - Possible value for UsdGeomImageable::GetPurposeAttr()
/// \li <b>proxyPrim</b> - UsdGeomImageable
/// \li <b>purpose</b> - UsdGeomImageable
/// \li <b>radius</b> - UsdGeomCone, UsdGeomCapsule, UsdGeomCylinder, UsdGeomSphere
/// \li <b>ranges</b> - UsdGeomNurbsCurves
/// \li <b>render</b> - Possible value for UsdGeomImageable::GetPurposeAttr()
/// \li <b>right</b> - Possible value for UsdGeomCamera::GetStereoRoleAttr()
/// \li <b>rightHanded</b> - Possible value for UsdGeomGprim::GetOrientationAttr(), Default value for UsdGeomGprim::GetOrientationAttr()
/// \li <b>scales</b> - UsdGeomPointInstancer
/// \li <b>shutterClose</b> - UsdGeomCamera
/// \li <b>shutterOpen</b> - UsdGeomCamera
/// \li <b>size</b> - UsdGeomCube
/// \li <b>stereoRole</b> - UsdGeomCamera
/// \li <b>subdivisionScheme</b> - UsdGeomMesh
/// \li <b>trimCurveCounts</b> - UsdGeomNurbsPatch
/// \li <b>trimCurveKnots</b> - UsdGeomNurbsPatch
/// \li <b>trimCurveOrders</b> - UsdGeomNurbsPatch
/// \li <b>trimCurvePoints</b> - UsdGeomNurbsPatch
/// \li <b>trimCurveRanges</b> - UsdGeomNurbsPatch
/// \li <b>trimCurveVertexCounts</b> - UsdGeomNurbsPatch
/// \li <b>type</b> - UsdGeomBasisCurves
/// \li <b>uForm</b> - UsdGeomNurbsPatch
/// \li <b>uKnots</b> - UsdGeomNurbsPatch
/// \li <b>unauthoredValuesIndex</b> - UsdGeomPrimvar - The index that represents unauthored values in the indices array of an indexed primvar.
/// \li <b>uniform</b> - Possible value for UsdGeomPrimvar::SetInterpolation. One value remains constant for each uv patch segment of the surface primitive (which is a \em face for meshes).
/// \li <b>uOrder</b> - UsdGeomNurbsPatch
/// \li <b>upAxis</b> - Stage-level metadata that encodes a scene's orientation as a token whose value can be "Y" or "Z".
/// \li <b>uRange</b> - UsdGeomNurbsPatch
/// \li <b>uVertexCount</b> - UsdGeomNurbsPatch
/// \li <b>varying</b> - Possible value for UsdGeomPrimvar::SetInterpolation. Four values are interpolated over each uv patch segment of the surface. Bilinear interpolation is used for interpolation between the four values.
/// \li <b>velocities</b> - UsdGeomPointInstancer, UsdGeomPointBased
/// \li <b>vertex</b> - Possible value for UsdGeomPrimvar::SetInterpolation. Values are interpolated between each vertex in the surface primitive. The basis function of the surface is used for interpolation between vertices.
/// \li <b>verticalAperture</b> - UsdGeomCamera
/// \li <b>verticalApertureOffset</b> - UsdGeomCamera
/// \li <b>vForm</b> - UsdGeomNurbsPatch
/// \li <b>visibility</b> - UsdGeomImageable
/// \li <b>vKnots</b> - UsdGeomNurbsPatch
/// \li <b>vOrder</b> - UsdGeomNurbsPatch
/// \li <b>vRange</b> - UsdGeomNurbsPatch
/// \li <b>vVertexCount</b> - UsdGeomNurbsPatch
/// \li <b>widths</b> - UsdGeomPoints, UsdGeomCurves
/// \li <b>wrap</b> - UsdGeomBasisCurves
/// \li <b>x</b> - Possible value for UsdGeomCone::GetAxisAttr(), Possible value for UsdGeomCapsule::GetAxisAttr(), Possible value for UsdGeomCylinder::GetAxisAttr()
/// \li <b>xformOpOrder</b> - UsdGeomXformable
/// \li <b>y</b> - Possible value for UsdGeomCone::GetAxisAttr(), Possible value for UsdGeomCapsule::GetAxisAttr(), Possible value for UsdGeomCylinder::GetAxisAttr()
/// \li <b>z</b> - Possible value for UsdGeomCone::GetAxisAttr(), Default value for UsdGeomCone::GetAxisAttr(), Possible value for UsdGeomCapsule::GetAxisAttr(), Default value for UsdGeomCapsule::GetAxisAttr(), Possible value for UsdGeomCylinder::GetAxisAttr(), Default value for UsdGeomCylinder::GetAxisAttr()
TF_DECLARE_PUBLIC_TOKENS(UsdGeomTokens, USDGEOM_TOKENS);
#endif