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  ((nestedArticulation, "NestedArticulation")) \
29  ((articulationOnStaticBody, "ArticulationOnStaticBody")) \
30  ((rigidBodyOrientationScale, "RigidBodyOrientationScale")) \
31  ((rigidBodyNonXformable, "RigidBodyNonXformable")) \
32  ((rigidBodyNonInstanceable, "RigidBodyNonInstanceable")) \
33  ((jointInvalidPrimRel, "JointInvalidPrimRel")) \
34  ((jointMultiplePrimsRel, "JointMultiplePrimsRel")) \
35  ((colliderNonUniformScale, "ColliderNonUniformScale")) \
36  ((colliderSpherePointsDataMissing, "ColliderSpherePointsDataMissing")) \
37  ((massInvalidValues, "MassInvalidValues")) \
38  ((densityInvalidValues, "DensityInvalidValues")) \
39  ((inertiaInvalidValues, "InertiaInvalidValues"))
40 
41 /// \def USD_PHYSICS_VALIDATOR_NAME_TOKENS
42 /// Tokens representing validator names. Note that for plugin provided
43 /// validators, the names must be prefixed by usdPhysics:, which is the name of
44 /// the usdPhysics plugin.
45 TF_DECLARE_PUBLIC_TOKENS(UsdPhysicsValidatorNameTokens, USDPHYSICSVALIDATORS_API,
47 
48 /// \def USD_PHYSICS_VALIDATOR_KEYWORD_TOKENS
49 /// Tokens representing keywords associated with any validator in the usdPhysics
50 /// plugin. Clients can use this to inspect validators contained within a
51 /// specific keywords, or use these to be added as keywords to any new
52 /// validator.
53 TF_DECLARE_PUBLIC_TOKENS(UsdPhysicsValidatorKeywordTokens, USDPHYSICSVALIDATORS_API,
55 
56 /// \def USD_PHYSICS_VALIDATION_ERROR_NAME_TOKENS
57 /// Tokens representing validation error identifier.
58 TF_DECLARE_PUBLIC_TOKENS(UsdPhysicsValidationErrorNameTokens, USDPHYSICSVALIDATORS_API,
60 
62 
63 #endif
#define PXR_NAMESPACE_OPEN_SCOPE
Definition: pxr.h:73
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
#define PXR_NAMESPACE_CLOSE_SCOPE
Definition: pxr.h:74
#define USD_PHYSICS_VALIDATOR_KEYWORD_TOKENS