24 #ifndef PHYSXSCHEMA_GENERATED_PHYSXPHYSICSATTACHMENT_H
25 #define PHYSXSCHEMA_GENERATED_PHYSXPHYSICSATTACHMENT_H
31 #include "pxr/usd/usd/typed.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
69 static const UsdSchemaKind
schemaKind = UsdSchemaKind::ConcreteTyped;
96 static const TfTokenVector &
110 Get(
const UsdStagePtr &stage,
const SdfPath &path);
136 Define(
const UsdStagePtr &stage,
const SdfPath &path);
147 friend class UsdSchemaRegistry;
149 static const TfType &_GetStaticTfType();
151 static bool _IsTypedSchema();
155 const TfType &_GetTfType()
const override;
201 UsdAttribute
CreatePoints0Attr(VtValue
const &defaultValue = VtValue(),
bool writeSparsely=
false)
const;
224 UsdAttribute
CreatePoints1Attr(VtValue
const &defaultValue = VtValue(),
bool writeSparsely=
false)
const;
272 UsdAttribute
CreateFilterType0Attr(VtValue
const &defaultValue = VtValue(),
bool writeSparsely=
false)
const;
320 UsdAttribute
CreateFilterType1Attr(VtValue
const &defaultValue = VtValue(),
bool writeSparsely=
false)
const;
388 PXR_NAMESPACE_CLOSE_SCOPE
PHYSXSCHEMA_API UsdAttribute GetFilterType1Attr() const
Deprecated: Will be replaced by a new deformable schema in a future release.
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 GetFilterType0Attr() const
Deprecated: Will be replaced by a new deformable schema in a future release.
PHYSXSCHEMA_API UsdAttribute GetCollisionFilterIndices1Attr() const
Deprecated: Will be replaced by a new deformable schema in a future release.
PHYSXSCHEMA_API UsdAttribute CreateCollisionFilterIndices0Attr(VtValue const &defaultValue=VtValue(), bool writeSparsely=false) const
See GetCollisionFilterIndices0Attr(), and also Usd_Create_Or_Get_Property for when to use Get vs Crea...
static PHYSXSCHEMA_API PhysxSchemaPhysxPhysicsAttachment 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 UsdAttribute CreateFilterType1Attr(VtValue const &defaultValue=VtValue(), bool writeSparsely=false) const
See GetFilterType1Attr(), and also Usd_Create_Or_Get_Property for when to use Get vs Create...
virtual PHYSXSCHEMA_API ~PhysxSchemaPhysxPhysicsAttachment()
Destructor.
PHYSXSCHEMA_API UsdRelationship GetActor0Rel() const
Deprecated: Will be replaced by a new deformable schema in a future release.
PHYSXSCHEMA_API UsdAttribute GetFilterTypeAttr(int index) const
Helper attribute access via index in [0,1].
PHYSXSCHEMA_API UsdAttribute GetAttachmentEnabledAttr() const
Deprecated: Will be replaced by a new deformable schema in a future release.
PHYSXSCHEMA_API UsdRelationship CreateActor1Rel() const
See GetActor1Rel(), and also Usd_Create_Or_Get_Property for when to use Get vs Create.
PHYSXSCHEMA_API UsdRelationship CreateActor0Rel() const
See GetActor0Rel(), and also Usd_Create_Or_Get_Property for when to use Get vs Create.
PHYSXSCHEMA_API UsdAttribute CreatePoints1Attr(VtValue const &defaultValue=VtValue(), bool writeSparsely=false) const
See GetPoints1Attr(), and also Usd_Create_Or_Get_Property for when to use Get vs Create.
PHYSXSCHEMA_API UsdAttribute CreateFilterType0Attr(VtValue const &defaultValue=VtValue(), bool writeSparsely=false) const
See GetFilterType0Attr(), and also Usd_Create_Or_Get_Property for when to use Get vs Create...
PHYSXSCHEMA_API UsdAttribute GetPoints1Attr() const
Deprecated: Will be replaced by a new deformable schema in a future release.
PHYSXSCHEMA_API UsdAttribute GetCollisionFilterIndicesAttr(int index) const
Helper attribute access via index in [0,1].
PHYSXSCHEMA_API UsdAttribute GetCollisionFilterIndices0Attr() const
Deprecated: Will be replaced by a new deformable schema in a future release.
PHYSXSCHEMA_API UsdAttribute GetPoints0Attr() const
Deprecated: Will be replaced by a new deformable schema in a future release.
static PHYSXSCHEMA_API PhysxSchemaPhysxPhysicsAttachment Get(const UsdStagePtr &stage, const SdfPath &path)
Return a PhysxSchemaPhysxPhysicsAttachment holding the prim adhering to this schema at path on stage...
Deprecated: Will be replaced by a new deformable schema in a future release.
PHYSXSCHEMA_API UsdAttribute CreateAttachmentEnabledAttr(VtValue const &defaultValue=VtValue(), bool writeSparsely=false) const
See GetAttachmentEnabledAttr(), and also Usd_Create_Or_Get_Property for when to use Get vs Create...
PHYSXSCHEMA_API UsdRelationship GetActor1Rel() const
Deprecated: Will be replaced by a new deformable schema in a future release.
PhysxSchemaPhysxPhysicsAttachment(const UsdSchemaBase &schemaObj)
Construct a PhysxSchemaPhysxPhysicsAttachment on the prim held by schemaObj .
static const UsdSchemaKind schemaKind
Compile time constant representing what kind of schema this class is.
PHYSXSCHEMA_API UsdSchemaKind _GetSchemaKind() const override
Returns the kind of schema this class belongs to.
PHYSXSCHEMA_API UsdRelationship GetActorRel(int index) const
Helper attribute access via index in [0,1].
PHYSXSCHEMA_API UsdAttribute GetPointsAttr(int index) const
Helper attribute access via index in [0,1].
PhysxSchemaPhysxPhysicsAttachment(const UsdPrim &prim=UsdPrim())
Construct a PhysxSchemaPhysxPhysicsAttachment on UsdPrim prim .
PHYSXSCHEMA_API UsdAttribute CreateCollisionFilterIndices1Attr(VtValue const &defaultValue=VtValue(), bool writeSparsely=false) const
See GetCollisionFilterIndices1Attr(), and also Usd_Create_Or_Get_Property for when to use Get vs Crea...
PHYSXSCHEMA_API UsdAttribute CreatePoints0Attr(VtValue const &defaultValue=VtValue(), bool writeSparsely=false) const
See GetPoints0Attr(), and also Usd_Create_Or_Get_Property for when to use Get vs Create.