7 #ifndef PXR_USD_IMAGING_USD_SKEL_IMAGING_SKELETON_RESOLVING_SCENE_INDEX_H 8 #define PXR_USD_IMAGING_USD_SKEL_IMAGING_SKELETON_RESOLVING_SCENE_INDEX_H 10 #include "pxr/usdImaging/usdSkelImaging/api.h" 12 #include "pxr/imaging/hd/filteringSceneIndex.h" 14 PXR_NAMESPACE_OPEN_SCOPE
30 UsdSkelImagingSkeletonResolvingSceneIndexRefPtr
31 New(HdSceneIndexBaseRefPtr
const &inputSceneIndex);
52 HdSceneIndexBaseRefPtr
const &inputSceneIndex);
55 void _ProcessDirtyLocators(
63 std::shared_ptr<class UsdSkelImagingDataSourceResolvedSkeletonPrim>;
68 bool _AddResolvedSkeleton(
71 void _AddDependenciesForResolvedSkeleton(
73 _DsHandle
const &resolvedSkeleton);
77 bool _RemoveResolvedSkeleton(
80 void _RemoveDependenciesForResolvedSkeleton(
82 _DsHandle
const &resolvedSkeleton);
89 void _RefreshResolvedSkeletonDataSource(
94 std::map<SdfPath, _DsHandle> _pathToResolvedSkeleton;
96 std::map<SdfPath, SdfPathSet> _skelAnimPathToSkeletonPaths;
99 std::map<SdfPath, SdfPathSet> _instancerPathToSkeletonPaths;
102 PXR_NAMESPACE_CLOSE_SCOPE
Small struct representing a 'prim' in the Hydra scene index.
Token for efficient comparison, assignment, and hashing of known strings.
For each skeleton prim in the input scene index, populate the UsdSkelImagingResolvedSkeletonSchema.
Abstract interface to scene data.
Represents a set of data source locators closed under descendancy.
A path value used to locate objects in layers or scenegraphs.
USDSKELIMAGING_API HdSceneIndexPrim GetPrim(const SdfPath &primPath) const override
Returns a pair of (prim type, datasource).
#define TF_DECLARE_REF_PTRS(type)
Define standard ref pointer types.
USDSKELIMAGING_API SdfPathVector GetChildPrimPaths(const SdfPath &primPath) const override
Returns the paths of all scene index prims located immediately below primPath.