24 #ifndef PHYSXSCHEMA_GENERATED_PHYSXISOSURFACEAPI_H
25 #define PHYSXSCHEMA_GENERATED_PHYSXISOSURFACEAPI_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
64 static const UsdSchemaType
schemaType = UsdSchemaType::SingleApplyAPI;
71 : UsdAPISchemaBase(prim)
79 : UsdAPISchemaBase(schemaObj)
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;
188 UsdAttribute
CreateMaxVerticesAttr(VtValue
const &defaultValue = VtValue(),
bool writeSparsely=
false)
const;
211 UsdAttribute
CreateMaxTrianglesAttr(VtValue
const &defaultValue = VtValue(),
bool writeSparsely=
false)
const;
234 UsdAttribute
CreateMaxSubgridsAttr(VtValue
const &defaultValue = VtValue(),
bool writeSparsely=
false)
const;
258 UsdAttribute
CreateGridSpacingAttr(VtValue
const &defaultValue = VtValue(),
bool writeSparsely=
false)
const;
282 UsdAttribute
CreateKernelRadiusAttr(VtValue
const &defaultValue = VtValue(),
bool writeSparsely=
false)
const;
487 PXR_NAMESPACE_CLOSE_SCOPE
PHYSXSCHEMA_API UsdAttribute GetGridSmoothingRadiusRelativeToCellSizeAttr() const
The radius used during the smoothing process on the grid.
PHYSXSCHEMA_API UsdAttribute CreateAnisotropyMaxAttr(VtValue const &defaultValue=VtValue(), bool writeSparsely=false) const
See GetAnisotropyMaxAttr(), and also Usd_Create_Or_Get_Property for when to use Get vs Create...
Applied to a PhysxParticleSystem.
PHYSXSCHEMA_API UsdAttribute GetNumMeshSmoothingPassesAttr() const
Number of smoothing passes applied to the generated isosurface triangle mesh.
static const UsdSchemaType schemaType
Compile time constant representing what kind of schema this class is.
PHYSXSCHEMA_API UsdAttribute GetEnableAnisotropyAttr() const
Enables usage of anisotropy information during isosurface extraction process.
PHYSXSCHEMA_API UsdAttribute CreateEnableAnisotropyAttr(VtValue const &defaultValue=VtValue(), bool writeSparsely=false) const
See GetEnableAnisotropyAttr(), and also Usd_Create_Or_Get_Property for when to use Get vs Create...
PHYSXSCHEMA_API UsdAttribute CreateMaxTrianglesAttr(VtValue const &defaultValue=VtValue(), bool writeSparsely=false) const
See GetMaxTrianglesAttr(), and also Usd_Create_Or_Get_Property for when to use Get vs Create...
PHYSXSCHEMA_API UsdAttribute GetMaxSubgridsAttr() const
Maximum number of blocks the sparse grid structure can contain.
PHYSXSCHEMA_API UsdAttribute GetAnisotropyRadiusAttr() const
Radius that defines the size of the neighborhood used to determine the anisotropy information...
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 CreateAnisotropyRadiusAttr(VtValue const &defaultValue=VtValue(), bool writeSparsely=false) const
See GetAnisotropyRadiusAttr(), and also Usd_Create_Or_Get_Property for when to use Get vs Create...
static PHYSXSCHEMA_API PhysxSchemaPhysxIsosurfaceAPI Get(const UsdStagePtr &stage, const SdfPath &path)
Return a PhysxSchemaPhysxIsosurfaceAPI holding the prim adhering to this schema at path on stage...
PHYSXSCHEMA_API UsdAttribute CreateMaxSubgridsAttr(VtValue const &defaultValue=VtValue(), bool writeSparsely=false) const
See GetMaxSubgridsAttr(), and also Usd_Create_Or_Get_Property for when to use Get vs Create...
PHYSXSCHEMA_API UsdAttribute CreateGridSmoothingRadiusRelativeToCellSizeAttr(VtValue const &defaultValue=VtValue(), bool writeSparsely=false) const
See GetGridSmoothingRadiusRelativeToCellSizeAttr(), and also Usd_Create_Or_Get_Property for when to u...
PHYSXSCHEMA_API UsdAttribute GetAnisotropyMinAttr() const
The minimal scale anisotropy can apply to a particle radius.
PHYSXSCHEMA_API UsdAttribute GetAnisotropyMaxAttr() const
The maximal scale anisotropy can apply to a particle radius.
PHYSXSCHEMA_API UsdAttribute GetGridSpacingAttr() const
Cell Size of the grid used for isosurface extraction.
PhysxSchemaPhysxIsosurfaceAPI(const UsdSchemaBase &schemaObj)
Construct a PhysxSchemaPhysxIsosurfaceAPI on the prim held by schemaObj .
PHYSXSCHEMA_API UsdAttribute CreateNumMeshSmoothingPassesAttr(VtValue const &defaultValue=VtValue(), bool writeSparsely=false) const
See GetNumMeshSmoothingPassesAttr(), and also Usd_Create_Or_Get_Property for when to use Get vs Creat...
PHYSXSCHEMA_API UsdAttribute GetKernelRadiusAttr() const
Radius of the kernel used to transfer the density to the isosurface grid.
PHYSXSCHEMA_API UsdAttribute GetIsoSurfaceEnabledAttr() const
Enable or disable the creation of an isosurface.
PHYSXSCHEMA_API UsdAttribute GetGridFilteringPassesAttr() const
Grid filtering sequence, defined as capital letters "S":Smooth, "G":Grow, "R":Reduce.
PHYSXSCHEMA_API UsdSchemaType _GetSchemaType() const override
Returns the type of schema this class belongs to.
PHYSXSCHEMA_API UsdAttribute CreateGridFilteringPassesAttr(VtValue const &defaultValue=VtValue(), bool writeSparsely=false) const
See GetGridFilteringPassesAttr(), and also Usd_Create_Or_Get_Property for when to use Get vs Create...
PHYSXSCHEMA_API UsdAttribute GetMaxTrianglesAttr() const
Maximum number of triangles the extracted isosurface can have.
PHYSXSCHEMA_API UsdAttribute CreateIsosurfaceLevelAttr(VtValue const &defaultValue=VtValue(), bool writeSparsely=false) const
See GetIsosurfaceLevelAttr(), and also Usd_Create_Or_Get_Property for when to use Get vs Create...
PHYSXSCHEMA_API UsdAttribute GetIsosurfaceLevelAttr() const
The level at which the isosurface is located.
PHYSXSCHEMA_API UsdAttribute CreateGridSpacingAttr(VtValue const &defaultValue=VtValue(), bool writeSparsely=false) const
See GetGridSpacingAttr(), and also Usd_Create_Or_Get_Property for when to use Get vs Create...
PHYSXSCHEMA_API UsdAttribute GetMaxVerticesAttr() const
Maximum number of vertices the extracted isosurface can have.
PHYSXSCHEMA_API UsdAttribute CreateKernelRadiusAttr(VtValue const &defaultValue=VtValue(), bool writeSparsely=false) const
See GetKernelRadiusAttr(), and also Usd_Create_Or_Get_Property for when to use Get vs Create...
PHYSXSCHEMA_API UsdAttribute CreateIsoSurfaceEnabledAttr(VtValue const &defaultValue=VtValue(), bool writeSparsely=false) const
See GetIsoSurfaceEnabledAttr(), and also Usd_Create_Or_Get_Property for when to use Get vs Create...
virtual PHYSXSCHEMA_API ~PhysxSchemaPhysxIsosurfaceAPI()
Destructor.
static PHYSXSCHEMA_API PhysxSchemaPhysxIsosurfaceAPI Apply(const UsdPrim &prim)
Applies this single-apply API schema to the given prim.
PhysxSchemaPhysxIsosurfaceAPI(const UsdPrim &prim=UsdPrim())
Construct a PhysxSchemaPhysxIsosurfaceAPI on UsdPrim prim .
PHYSXSCHEMA_API UsdAttribute CreateAnisotropyMinAttr(VtValue const &defaultValue=VtValue(), bool writeSparsely=false) const
See GetAnisotropyMinAttr(), and also Usd_Create_Or_Get_Property for when to use Get vs Create...
PHYSXSCHEMA_API UsdAttribute CreateMaxVerticesAttr(VtValue const &defaultValue=VtValue(), bool writeSparsely=false) const
See GetMaxVerticesAttr(), and also Usd_Create_Or_Get_Property for when to use Get vs Create...