24 #ifndef PHYSXSCHEMA_GENERATED_PHYSXDEFORMABLESURFACEMATERIALAPI_H
25 #define PHYSXSCHEMA_GENERATED_PHYSXDEFORMABLESURFACEMATERIALAPI_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
65 static const UsdSchemaKind
schemaKind = UsdSchemaKind::SingleApplyAPI;
72 : UsdAPISchemaBase(prim)
80 : UsdAPISchemaBase(schemaObj)
92 static const TfTokenVector &
106 Get(
const UsdStagePtr &stage,
const SdfPath &path);
127 CanApply(
const UsdPrim &prim, std::string *whyNot=
nullptr);
146 Apply(
const UsdPrim &prim);
157 friend class UsdSchemaRegistry;
159 static const TfType &_GetStaticTfType();
161 static bool _IsTypedSchema();
165 const TfType &_GetTfType()
const override;
191 UsdAttribute
CreateDensityAttr(VtValue
const &defaultValue = VtValue(),
bool writeSparsely=
false)
const;
291 UsdAttribute
CreateThicknessAttr(VtValue
const &defaultValue = VtValue(),
bool writeSparsely=
false)
const;
306 PXR_NAMESPACE_CLOSE_SCOPE