24 #ifndef PHYSXSCHEMA_GENERATED_PHYSXDEFORMABLEBODYAPI_H
25 #define PHYSXSCHEMA_GENERATED_PHYSXDEFORMABLEBODYAPI_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
64 static const UsdSchemaType
schemaType = UsdSchemaType::SingleApplyAPI;
91 static const TfTokenVector &
105 Get(
const UsdStagePtr &stage,
const SdfPath &path);
124 Apply(
const UsdPrim &prim);
135 friend class UsdSchemaRegistry;
137 static const TfType &_GetStaticTfType();
139 static bool _IsTypedSchema();
143 const TfType &_GetTfType()
const override;
293 PXR_NAMESPACE_CLOSE_SCOPE
static PHYSXSCHEMA_API PhysxSchemaPhysxDeformableBodyAPI Get(const UsdStagePtr &stage, const SdfPath &path)
Return a PhysxSchemaPhysxDeformableBodyAPI holding the prim adhering to this schema at path on stage...
PHYSXSCHEMA_API UsdAttribute GetDisableGravityAttr() const
Disable gravity for the actor.
PHYSXSCHEMA_API UsdAttribute CreateCollisionIndicesAttr(VtValue const &defaultValue=VtValue(), bool writeSparsely=false) const
See GetCollisionIndicesAttr(), and also Usd_Create_Or_Get_Property for when to use Get vs Create...
PHYSXSCHEMA_API UsdSchemaType _GetSchemaType() const override
Returns the type of schema this class belongs to.
Applied to a UsdGeomMesh that is to be driven by a deformable body simulation.
PHYSXSCHEMA_API UsdAttribute CreateCollisionRestPointsAttr(VtValue const &defaultValue=VtValue(), bool writeSparsely=false) const
See GetCollisionRestPointsAttr(), and also Usd_Create_Or_Get_Property for when to use Get vs Create...
static const UsdSchemaType schemaType
Compile time constant representing what kind of schema this class is.
PHYSXSCHEMA_API UsdAttribute CreateDisableGravityAttr(VtValue const &defaultValue=VtValue(), bool writeSparsely=false) const
See GetDisableGravityAttr(), and also Usd_Create_Or_Get_Property for when to use Get vs Create...
PHYSXSCHEMA_API UsdAttribute GetCollisionRestPointsAttr() const
Mesh rest points in local coordinates that define the rest pose of the collision tetrahedral mesh tog...
PHYSXSCHEMA_API UsdAttribute GetCollisionPointsAttr() const
Mesh points in local coordinates that define the collision tetrahedral mesh together with the collisi...
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...
virtual PHYSXSCHEMA_API ~PhysxSchemaPhysxDeformableBodyAPI()
Destructor.
PHYSXSCHEMA_API UsdAttribute CreateCollisionPointsAttr(VtValue const &defaultValue=VtValue(), bool writeSparsely=false) const
See GetCollisionPointsAttr(), and also Usd_Create_Or_Get_Property for when to use Get vs Create...
PhysxSchemaPhysxDeformableBodyAPI(const UsdSchemaBase &schemaObj)
Construct a PhysxSchemaPhysxDeformableBodyAPI on the prim held by schemaObj .
PhysxSchemaPhysxDeformableBodyAPI(const UsdPrim &prim=UsdPrim())
Construct a PhysxSchemaPhysxDeformableBodyAPI on UsdPrim prim .
static PHYSXSCHEMA_API PhysxSchemaPhysxDeformableBodyAPI Apply(const UsdPrim &prim)
Applies this single-apply API schema to the given prim.
PHYSXSCHEMA_API UsdAttribute CreateSimulationPointsAttr(VtValue const &defaultValue=VtValue(), bool writeSparsely=false) const
See GetSimulationPointsAttr(), and also Usd_Create_Or_Get_Property for when to use Get vs Create...
PHYSXSCHEMA_API UsdAttribute GetSimulationRestPointsAttr() const
Mesh rest points in local coordinates that define the rest pose of the simulation tetrahedral mesh to...
PHYSXSCHEMA_API UsdAttribute CreateSimulationRestPointsAttr(VtValue const &defaultValue=VtValue(), bool writeSparsely=false) const
See GetSimulationRestPointsAttr(), and also Usd_Create_Or_Get_Property for when to use Get vs Create...
PHYSXSCHEMA_API UsdAttribute GetSimulationPointsAttr() const
Simulation mesh points in local coordinates that define the simulation tetrahedral mesh together with...
PHYSXSCHEMA_API UsdAttribute GetCollisionIndicesAttr() const
Mesh indices that define the collision tetrahedral mesh together with the collisionPoints attribute...