7 #ifndef USDPHYSICS_PARSE_UTILS_H
8 #define USDPHYSICS_PARSE_UTILS_H
64 using CustomUsdPhysicsTokens
103 const std::vector<SdfPath>& includePaths,
106 const std::vector<SdfPath>* excludePaths =
nullptr,
108 const std::vector<SdfPath>* simulationOwners =
nullptr);
113 [[deprecated(
"Use UsdPhysicsLoadStageFromPrimRange")]]
116 const std::vector<SdfPath>& includePaths,
119 const std::vector<SdfPath>* excludePaths =
nullptr,
121 const std::vector<SdfPath>* simulationOwners =
nullptr)
124 stage, includePaths, reportFn, userData, excludePaths,
125 customPhysicsTokens, simulationOwners);
USDPHYSICS_API bool UsdPhysicsLoadStageFromPrimRange(const UsdStageWeakPtr &stage, const std::vector< SdfPath > &includePaths, UsdPhysicsReportFn reportFn, const VtValue &userData, const std::vector< SdfPath > *excludePaths=nullptr, const UsdPhysicsCustomTokens *customPhysicsTokens=nullptr, const std::vector< SdfPath > *simulationOwners=nullptr)
#define PXR_NAMESPACE_OPEN_SCOPE
std::function< void(UsdPhysicsObjectType type, TfSpan< const SdfPath > primPaths, TfSpan< const UsdPhysicsObjectDesc > objectDescs, const VtValue &userData)> UsdPhysicsReportFn
UsdStagePtr UsdStageWeakPtr
GLint GLint GLsizei GLint GLenum GLenum type
bool LoadUsdPhysicsFromRange(const UsdStageWeakPtr &stage, const std::vector< SdfPath > &includePaths, UsdPhysicsReportFn reportFn, const VtValue &userData, const std::vector< SdfPath > *excludePaths=nullptr, const UsdPhysicsCustomTokens *customPhysicsTokens=nullptr, const std::vector< SdfPath > *simulationOwners=nullptr)
std::vector< TfToken > instancerTokens
std::vector< TfToken > jointTokens
Custom joints to be reported by parsing.
std::vector< TfToken > shapeTokens
Custom shapes to be reported by parsing.
UsdPhysicsCustomTokens UsdPhysicsCustomTokens
#define PXR_NAMESPACE_CLOSE_SCOPE