HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
validatorTokens.h
Go to the documentation of this file.
1 //
2 // Copyright 2024 Pixar
3 //
4 // Licensed under the terms set forth in the LICENSE.txt file available at
5 // https://openusd.org/license.
6 //
7 
8 #ifndef PXR_USD_VALIDATION_USD_GEOM_VALIDATORS_TOKENS_H
9 #define PXR_USD_VALIDATION_USD_GEOM_VALIDATORS_TOKENS_H
10 
11 /// \file
12 
13 #include "pxr/pxr.h"
16 
18 
19 #define USD_PHYSICS_VALIDATOR_NAME_TOKENS \
20  ((rigidBodyChecker, "usdPhysicsValidators:RigidBodyChecker")) \
21  ((colliderChecker, "usdPhysicsValidators:ColliderChecker")) \
22  ((physicsJointChecker, "usdPhysicsValidators:PhysicsJointChecker")) \
23  ((articulationChecker, "usdPhysicsValidators:ArticulationChecker"))
24 
25 #define USD_PHYSICS_VALIDATOR_KEYWORD_TOKENS (UsdPhysicsValidators)
26 
27 #define USD_PHYSICS_VALIDATION_ERROR_NAME_TOKENS \
28  ((nestedRigidBody, "NestedRigidBody")) \
29  ((nestedArticulation, "NestedArticulation")) \
30  ((articulationOnStaticBody, "ArticulationOnStaticBody")) \
31  ((articulationOnKinematicBody, "ArticulationOnKinematicBody")) \
32  ((rigidBodyOrientationScale, "RigidBodyOrientationScale")) \
33  ((rigidBodyNonXformable, "RigidBodyNonXformable")) \
34  ((rigidBodyNonInstanceable, "RigidBodyNonInstanceable")) \
35  ((jointInvalidPrimRel, "JointInvalidPrimRel")) \
36  ((jointMultiplePrimsRel, "JointMultiplePrimsRel")) \
37  ((colliderNonUniformScale, "ColliderNonUniformScale")) \
38  ((colliderSpherePointsDataMissing, "ColliderSpherePointsDataMissing"))
39 
40 /// \def USD_PHYSICS_VALIDATOR_NAME_TOKENS
41 /// Tokens representing validator names. Note that for plugin provided
42 /// validators, the names must be prefixed by usdPhysics:, which is the name of
43 /// the usdPhysics plugin.
44 TF_DECLARE_PUBLIC_TOKENS(UsdPhysicsValidatorNameTokens, USDPHYSICSVALIDATORS_API,
46 
47 /// \def USD_PHYSICS_VALIDATOR_KEYWORD_TOKENS
48 /// Tokens representing keywords associated with any validator in the usdPhysics
49 /// plugin. Clients can use this to inspect validators contained within a
50 /// specific keywords, or use these to be added as keywords to any new
51 /// validator.
52 TF_DECLARE_PUBLIC_TOKENS(UsdPhysicsValidatorKeywordTokens, USDPHYSICSVALIDATORS_API,
54 
55 /// \def USD_PHYSICS_VALIDATION_ERROR_NAME_TOKENS
56 /// Tokens representing validation error identifier.
57 TF_DECLARE_PUBLIC_TOKENS(UsdPhysicsValidationErrorNameTokens, USDPHYSICSVALIDATORS_API,
59 
61 
62 #endif
TF_DECLARE_PUBLIC_TOKENS(UsdGeomValidatorNameTokens, USDGEOMVALIDATORS_API, USD_GEOM_VALIDATOR_NAME_TOKENS)
#define USD_PHYSICS_VALIDATION_ERROR_NAME_TOKENS
#define USD_PHYSICS_VALIDATOR_NAME_TOKENS
#define USDPHYSICSVALIDATORS_API
Definition: api.h:25
PXR_NAMESPACE_CLOSE_SCOPE PXR_NAMESPACE_OPEN_SCOPE
Definition: path.h:1425
#define PXR_NAMESPACE_CLOSE_SCOPE
Definition: pxr.h:74
#define USD_PHYSICS_VALIDATOR_KEYWORD_TOKENS