7 #ifndef PXR_IMAGING_HDSI_COORD_SYS_PRIM_SCENE_INDEX_H
8 #define PXR_IMAGING_HDSI_COORD_SYS_PRIM_SCENE_INDEX_H
68 static HdsiCoordSysPrimSceneIndexRefPtr
New(
69 HdSceneIndexBaseRefPtr
const &inputScene)
85 HdSceneIndexBaseRefPtr
const &inputScene);
132 const SdfPath &primPath)
const;
135 using _NameToRefCount =
136 std::unordered_map<TfToken, size_t, TfToken::HashFunctor>;
137 using _PrimToNameToRefCount =
138 std::unordered_map<SdfPath, _NameToRefCount, SdfPath::Hash>;
158 _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)
std::vector< class SdfPath > SdfPathVector
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::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