24 #ifndef PXR_IMAGING_HDSI_COORD_SYS_PRIM_SCENE_INDEX_H
25 #define PXR_IMAGING_HDSI_COORD_SYS_PRIM_SCENE_INDEX_H
85 static HdsiCoordSysPrimSceneIndexRefPtr
New(
86 HdSceneIndexBaseRefPtr
const &inputScene)
102 HdSceneIndexBaseRefPtr
const &inputScene);
149 const SdfPath &primPath)
const;
152 using _NameToRefCount =
153 std::unordered_map<TfToken, size_t, TfToken::HashFunctor>;
154 using _PrimToNameToRefCount =
155 std::unordered_map<SdfPath, _NameToRefCount, SdfPath::Hash>;
175 _PrimToNameToRefCount _targetedPrimToNameToRefCount;
TfRefPtr< T > TfCreateRefPtr(T *ptr)
HdContainerDataSourceHandle _GetCoordSysPrimSource(const SdfPath &primPath) const
void _RemoveBindingsForSubtree(const SdfPath &primPath, SdfPathSet *removedCoordSysPrims)
HDSI_API SdfPathVector GetChildPrimPaths(const SdfPath &primPath) const override
void _PrimsAdded(const HdSceneIndexBase &sender, const HdSceneIndexObserver::AddedPrimEntries &entries) override
void _RemoveBindingsForPrim(const SdfPath &primPath, SdfPathSet *removedCoordSysPrims)
void _RemoveBindings(const _Bindings &bindings, SdfPathSet *removedCoordSysPrims)
void _AddBindingsForPrim(const SdfPath &primPath, SdfPathSet *addedCoordSysPrims=nullptr)
HDSI_API HdsiCoordSysPrimSceneIndex(HdSceneIndexBaseRefPtr const &inputScene)
PXR_NAMESPACE_OPEN_SCOPE TF_DECLARE_REF_PTRS(HdsiCoordSysPrimSceneIndex)
void _PrimsRemoved(const HdSceneIndexBase &sender, const HdSceneIndexObserver::RemovedPrimEntries &entries) override
std::vector< _Binding > _Bindings
std::vector< class SdfPath > SdfPathVector
A vector of SdfPaths.
std::set< class SdfPath > SdfPathSet
A set of SdfPaths.
PXR_NAMESPACE_CLOSE_SCOPE PXR_NAMESPACE_OPEN_SCOPE
HDSI_API HdSceneIndexPrim GetPrim(const SdfPath &primPath) const override
static HdsiCoordSysPrimSceneIndexRefPtr New(HdSceneIndexBaseRefPtr const &inputScene)
std::map< SdfPath, _Bindings > _PrimToBindings
#define PXR_NAMESPACE_CLOSE_SCOPE
void _PrimsDirtied(const HdSceneIndexBase &sender, const HdSceneIndexObserver::DirtiedPrimEntries &entries) override