24 #ifndef PHYSXSCHEMA_GENERATED_PHYSXPHYSICSGEARJOINT_H
25 #define PHYSXSCHEMA_GENERATED_PHYSXPHYSICSGEARJOINT_H
31 #include "pxr/usd/usdPhysics/joint.h"
32 #include "pxr/usd/usd/prim.h"
33 #include "pxr/usd/usd/stage.h"
36 #include "pxr/base/vt/value.h"
38 #include "pxr/base/gf/vec3d.h"
39 #include "pxr/base/gf/vec3f.h"
40 #include "pxr/base/gf/matrix4d.h"
42 #include "pxr/base/tf/token.h"
43 #include "pxr/base/tf/type.h"
45 PXR_NAMESPACE_OPEN_SCOPE
63 static const UsdSchemaKind
schemaKind = UsdSchemaKind::ConcreteTyped;
70 : UsdPhysicsJoint(prim)
78 : UsdPhysicsJoint(schemaObj)
90 static const TfTokenVector &
104 Get(
const UsdStagePtr &stage,
const SdfPath &path);
130 Define(
const UsdStagePtr &stage,
const SdfPath &path);
141 friend class UsdSchemaRegistry;
143 static const TfType &_GetStaticTfType();
145 static bool _IsTypedSchema();
149 const TfType &_GetTfType()
const override;
173 UsdAttribute
CreateGearRatioAttr(VtValue
const &defaultValue = VtValue(),
bool writeSparsely=
false)
const;
216 PXR_NAMESPACE_CLOSE_SCOPE
PHYSXSCHEMA_API UsdRelationship GetHinge1Rel() const
Relationship to second revolute joint.
PHYSXSCHEMA_API UsdRelationship CreateHinge1Rel() const
See GetHinge1Rel(), and also Usd_Create_Or_Get_Property for when to use Get vs Create.
PHYSXSCHEMA_API UsdAttribute GetGearRatioAttr() const
Gear ratio Range: (-inf, inf) Units: dimensionless.
PHYSXSCHEMA_API UsdRelationship CreateHinge0Rel() const
See GetHinge0Rel(), and also Usd_Create_Or_Get_Property for when to use Get vs Create.
PhysxSchemaPhysxPhysicsGearJoint(const UsdPrim &prim=UsdPrim())
Construct a PhysxSchemaPhysxPhysicsGearJoint on UsdPrim prim .
PHYSXSCHEMA_API UsdAttribute CreateGearRatioAttr(VtValue const &defaultValue=VtValue(), bool writeSparsely=false) const
See GetGearRatioAttr(), and also Usd_Create_Or_Get_Property for when to use Get vs Create...
virtual PHYSXSCHEMA_API ~PhysxSchemaPhysxPhysicsGearJoint()
Destructor.
PHYSXSCHEMA_API UsdSchemaKind _GetSchemaKind() const override
Returns the kind of schema this class belongs to.
static PHYSXSCHEMA_API PhysxSchemaPhysxPhysicsGearJoint Define(const UsdStagePtr &stage, const SdfPath &path)
Attempt to ensure a UsdPrim adhering to this schema at path is defined (according to UsdPrim::IsDefin...
PHYSXSCHEMA_API UsdRelationship GetHinge0Rel() const
Relationship to first revolute joint.
static PHYSXSCHEMA_API const TfTokenVector & GetSchemaAttributeNames(bool includeInherited=true)
Return a vector of names of all pre-declared attributes for this schema class and all its ancestor cl...
Predefined gear joint type.
static PHYSXSCHEMA_API PhysxSchemaPhysxPhysicsGearJoint Get(const UsdStagePtr &stage, const SdfPath &path)
Return a PhysxSchemaPhysxPhysicsGearJoint holding the prim adhering to this schema at path on stage...
static const UsdSchemaKind schemaKind
Compile time constant representing what kind of schema this class is.
PhysxSchemaPhysxPhysicsGearJoint(const UsdSchemaBase &schemaObj)
Construct a PhysxSchemaPhysxPhysicsGearJoint on the prim held by schemaObj .