24 #ifndef PHYSXSCHEMA_GENERATED_PHYSXVEHICLEWHEELATTACHMENTAPI_H
25 #define PHYSXSCHEMA_GENERATED_PHYSXVEHICLEWHEELATTACHMENTAPI_H
31 #include "pxr/usd/usd/apiSchemaBase.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
76 static const UsdSchemaType
schemaType = UsdSchemaType::SingleApplyAPI;
83 : UsdAPISchemaBase(prim)
91 : UsdAPISchemaBase(schemaObj)
103 static const TfTokenVector &
117 Get(
const UsdStagePtr &stage,
const SdfPath &path);
136 Apply(
const UsdPrim &prim);
147 friend class UsdSchemaRegistry;
149 static const TfType &_GetStaticTfType();
151 static bool _IsTypedSchema();
155 const TfType &_GetTfType()
const override;
181 UsdAttribute
CreateIndexAttr(VtValue
const &defaultValue = VtValue(),
bool writeSparsely=
false)
const;
413 UsdAttribute
CreateDrivenAttr(VtValue
const &defaultValue = VtValue(),
bool writeSparsely=
false)
const;
493 PXR_NAMESPACE_CLOSE_SCOPE
PhysxSchemaPhysxVehicleWheelAttachmentAPI(const UsdSchemaBase &schemaObj)
Construct a PhysxSchemaPhysxVehicleWheelAttachmentAPI on the prim held by schemaObj ...
PHYSXSCHEMA_API UsdRelationship GetCollisionGroupRel() const
A relationship to a PhysicsCollisionGroup instance that defines what the wheel/suspension scene queri...
PHYSXSCHEMA_API UsdAttribute GetWheelFramePositionAttr() const
A position offset of the wheel center relative to the suspension frame.
static const UsdSchemaType schemaType
Compile time constant representing what kind of schema this class is.
PHYSXSCHEMA_API UsdAttribute CreateSuspensionTravelDirectionAttr(VtValue const &defaultValue=VtValue(), bool writeSparsely=false) const
See GetSuspensionTravelDirectionAttr(), and also Usd_Create_Or_Get_Property for when to use Get vs Cr...
PHYSXSCHEMA_API UsdAttribute GetDrivenAttr() const
Deprecated.
PHYSXSCHEMA_API UsdAttribute GetSuspensionFramePositionAttr() const
The point of the suspension at max compression (relative to the vehicle center of mass frame)...
PHYSXSCHEMA_API UsdRelationship CreateWheelRel() const
See GetWheelRel(), and also Usd_Create_Or_Get_Property for when to use Get vs Create.
PHYSXSCHEMA_API UsdAttribute GetSuspensionForceAppPointOffsetAttr() const
Deprecated.
PHYSXSCHEMA_API UsdAttribute GetWheelFrameOrientationAttr() const
An orientation adjustment of the wheel relative to the suspension frame.
PHYSXSCHEMA_API UsdAttribute CreateDrivenAttr(VtValue const &defaultValue=VtValue(), bool writeSparsely=false) const
See GetDrivenAttr(), and also Usd_Create_Or_Get_Property for when to use Get vs Create.
PHYSXSCHEMA_API UsdAttribute CreateWheelFramePositionAttr(VtValue const &defaultValue=VtValue(), bool writeSparsely=false) const
See GetWheelFramePositionAttr(), and also Usd_Create_Or_Get_Property for when to use Get vs Create...
PHYSXSCHEMA_API UsdAttribute CreateSuspensionForceAppPointOffsetAttr(VtValue const &defaultValue=VtValue(), bool writeSparsely=false) const
See GetSuspensionForceAppPointOffsetAttr(), and also Usd_Create_Or_Get_Property for when to use Get v...
PhysxSchemaPhysxVehicleWheelAttachmentAPI(const UsdPrim &prim=UsdPrim())
Construct a PhysxSchemaPhysxVehicleWheelAttachmentAPI on UsdPrim prim .
PHYSXSCHEMA_API UsdAttribute GetWheelCenterOfMassOffsetAttr() const
Deprecated.
PHYSXSCHEMA_API UsdAttribute CreateTireForceAppPointOffsetAttr(VtValue const &defaultValue=VtValue(), bool writeSparsely=false) const
See GetTireForceAppPointOffsetAttr(), and also Usd_Create_Or_Get_Property for when to use Get vs Crea...
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...
PHYSXSCHEMA_API UsdAttribute GetSuspensionTravelDirectionAttr() const
The direction of the suspension travel (towards the wheel) in vehicle center of mass frame...
PHYSXSCHEMA_API UsdAttribute GetTireForceAppPointOffsetAttr() const
Deprecated.
PHYSXSCHEMA_API UsdAttribute CreateSuspensionFrameOrientationAttr(VtValue const &defaultValue=VtValue(), bool writeSparsely=false) const
See GetSuspensionFrameOrientationAttr(), and also Usd_Create_Or_Get_Property for when to use Get vs C...
PHYSXSCHEMA_API UsdRelationship GetWheelRel() const
A relationship to a PhysxVehicleWheelAPI prim.
PHYSXSCHEMA_API UsdRelationship CreateCollisionGroupRel() const
See GetCollisionGroupRel(), and also Usd_Create_Or_Get_Property for when to use Get vs Create...
PHYSXSCHEMA_API UsdAttribute CreateWheelFrameOrientationAttr(VtValue const &defaultValue=VtValue(), bool writeSparsely=false) const
See GetWheelFrameOrientationAttr(), and also Usd_Create_Or_Get_Property for when to use Get vs Create...
PHYSXSCHEMA_API UsdAttribute GetSuspensionFrameOrientationAttr() const
The orientation of the suspension frame relative to the vehicle center of mass frame.
PHYSXSCHEMA_API UsdAttribute CreateSuspensionFramePositionAttr(VtValue const &defaultValue=VtValue(), bool writeSparsely=false) const
See GetSuspensionFramePositionAttr(), and also Usd_Create_Or_Get_Property for when to use Get vs Crea...
static PHYSXSCHEMA_API PhysxSchemaPhysxVehicleWheelAttachmentAPI Get(const UsdStagePtr &stage, const SdfPath &path)
Return a PhysxSchemaPhysxVehicleWheelAttachmentAPI holding the prim adhering to this schema at path o...
PHYSXSCHEMA_API UsdRelationship GetSuspensionRel() const
A relationship to a PhysxVehicleSuspensionAPI prim.
PHYSXSCHEMA_API UsdAttribute CreateWheelCenterOfMassOffsetAttr(VtValue const &defaultValue=VtValue(), bool writeSparsely=false) const
See GetWheelCenterOfMassOffsetAttr(), and also Usd_Create_Or_Get_Property for when to use Get vs Crea...
PHYSXSCHEMA_API UsdRelationship GetTireRel() const
A relationship to a PhysxVehicleTireAPI prim.
static PHYSXSCHEMA_API PhysxSchemaPhysxVehicleWheelAttachmentAPI Apply(const UsdPrim &prim)
Applies this single-apply API schema to the given prim.
PHYSXSCHEMA_API UsdSchemaType _GetSchemaType() const override
Returns the type of schema this class belongs to.
PHYSXSCHEMA_API UsdRelationship CreateTireRel() const
See GetTireRel(), and also Usd_Create_Or_Get_Property for when to use Get vs Create.
PHYSXSCHEMA_API UsdAttribute CreateIndexAttr(VtValue const &defaultValue=VtValue(), bool writeSparsely=false) const
See GetIndexAttr(), and also Usd_Create_Or_Get_Property for when to use Get vs Create.
PHYSXSCHEMA_API UsdRelationship CreateSuspensionRel() const
See GetSuspensionRel(), and also Usd_Create_Or_Get_Property for when to use Get vs Create...
For every wheel of a vehicle, this class defines the attachment properties.
PHYSXSCHEMA_API UsdAttribute GetIndexAttr() const
The index of the wheel attachment.
virtual PHYSXSCHEMA_API ~PhysxSchemaPhysxVehicleWheelAttachmentAPI()
Destructor.