7 #ifndef PXR_IMAGING_HDSI_DEBUGGING_SCENE_INDEX_H 8 #define PXR_IMAGING_HDSI_DEBUGGING_SCENE_INDEX_H 10 #include "pxr/imaging/hd/filteringSceneIndex.h" 11 #include "pxr/imaging/hdsi/api.h" 18 PXR_NAMESPACE_OPEN_SCOPE
22 namespace HdsiDebuggingSceneIndex_Impl
26 using _PrimInfoSharedPtr = std::shared_ptr<_PrimInfo>;
27 using _PrimMap = std::map<SdfPath, _PrimInfo>;
47 static HdsiDebuggingSceneIndexRefPtr
48 New(HdSceneIndexBaseRefPtr
const &inputSceneIndex,
49 HdContainerDataSourceHandle
const &inputArgs);
83 HdContainerDataSourceHandle
const &inputArgs);
85 mutable std::mutex _primsMutex;
86 mutable HdsiDebuggingSceneIndex_Impl::_PrimMap _prims;
89 PXR_NAMESPACE_CLOSE_SCOPE
91 #endif // PXR_IMAGING_HD_DEBUGGING_SCENE_INDEX_H
HDSI_API HdSceneIndexPrim GetPrim(const SdfPath &primPath) const override
Returns a pair of (prim type, datasource).
A filtering scene index that checks for certain inconsistencies (without transforming the scene) in i...
#define TF_DECLARE_WEAK_AND_REF_PTRS(type)
Define standard weak, ref, and vector pointer types.
HDSI_API SdfPathVector GetChildPrimPaths(const SdfPath &primPath) const override
Returns the paths of all scene index prims located immediately below primPath.
Small struct representing a 'prim' in the Hydra scene index.
Abstract interface to scene data.
A path value used to locate objects in layers or scenegraphs.