Loading...
Searching...
No Matches
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
12
13#include "pxr/pxr.h"
15#include "pxr/usdValidation/usdPhysicsValidators/api.h"
16
17PXR_NAMESPACE_OPEN_SCOPE
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
45TF_DECLARE_PUBLIC_TOKENS(UsdPhysicsValidatorNameTokens, USDPHYSICSVALIDATORS_API,
47
53TF_DECLARE_PUBLIC_TOKENS(UsdPhysicsValidatorKeywordTokens, USDPHYSICSVALIDATORS_API,
55
58TF_DECLARE_PUBLIC_TOKENS(UsdPhysicsValidationErrorNameTokens, USDPHYSICSVALIDATORS_API,
60
61PXR_NAMESPACE_CLOSE_SCOPE
62
63#endif
This file defines some macros that are useful for declaring and using static TfTokens.
#define TF_DECLARE_PUBLIC_TOKENS(...)
Macro to define public tokens.
Definition: staticTokens.h:92
#define USD_PHYSICS_VALIDATION_ERROR_NAME_TOKENS
Tokens representing validation error identifier.
#define USD_PHYSICS_VALIDATOR_NAME_TOKENS
Tokens representing validator names.
#define USD_PHYSICS_VALIDATOR_KEYWORD_TOKENS
Tokens representing keywords associated with any validator in the usdPhysics plugin.