7 #ifndef PXR_USD_IMAGING_USD_IMAGING_NI_PROTOTYPE_PROPAGATING_SCENE_INDEX_H
8 #define PXR_USD_IMAGING_USD_IMAGING_NI_PROTOTYPE_PROPAGATING_SCENE_INDEX_H
293 HdSceneIndexBaseRefPtr(
const HdSceneIndexBaseRefPtr &inputScene)>;
307 static UsdImagingNiPrototypePropagatingSceneIndexRefPtr
New(
308 HdSceneIndexBaseRefPtr
const &inputSceneIndex,
322 std::vector<HdSceneIndexBaseRefPtr>
GetInputScenes()
const override;
328 class _SceneIndexCache;
329 using _SceneIndexCacheSharedPtr =
330 std::shared_ptr<_SceneIndexCache>;
332 class _MergingSceneIndexOperations;
343 const AddedPrimEntries &entries)
override;
346 const DirtiedPrimEntries &entries)
override;
349 const RemovedPrimEntries &entries)
override;
352 const RenamedPrimEntries &entries)
override;
367 const AddedPrimEntries &entries)
override;
370 const DirtiedPrimEntries &entries)
override;
373 const RemovedPrimEntries &entries)
override;
376 const RenamedPrimEntries &entries)
override;
383 static UsdImagingNiPrototypePropagatingSceneIndexRefPtr _New(
384 HdSceneIndexBaseRefPtr
const &inputSceneIndex,
386 HdContainerDataSourceHandle
const &prototypeRootOverlayDs,
387 _SceneIndexCacheSharedPtr
const &cache);
390 HdSceneIndexBaseRefPtr
const &inputSceneIndex,
392 HdContainerDataSourceHandle
const &prototypeRootOverlayDs,
393 _SceneIndexCacheSharedPtr
const &cache);
395 void _Populate(HdSceneIndexBaseRefPtr
const &instanceAggregationSceneIndex);
400 _MergingSceneIndexOperations * mergingSceneIndexOperations);
403 void _RemovePrim(
const SdfPath &primPath,
404 _MergingSceneIndexOperations * mergingSceneIndexOperations);
408 const HdSceneIndexBaseRefPtr _inputSceneIndex;
411 const _SceneIndexCacheSharedPtr _cache;
413 HdMergingSceneIndexRefPtr _mergingSceneIndex;
419 std::map<SdfPath, HdSceneIndexBaseRefPtr>
420 _instancersToPropagatedPrototypeSceneIndex;
422 HdSceneIndexBaseRefPtr _instanceAggregationSceneIndex;
425 _instanceAggregationSceneIndexObserver;
USDIMAGING_API ~UsdImagingNiPrototypePropagatingSceneIndex() override
USDIMAGING_API HdSceneIndexPrim GetPrim(const SdfPath &primPath) const override
size_t HdDataSourceHashType
#define PXR_NAMESPACE_OPEN_SCOPE
USDIMAGING_API SdfPathVector GetChildPrimPaths(const SdfPath &primPath) const override
static USDIMAGING_API UsdImagingNiPrototypePropagatingSceneIndexRefPtr New(HdSceneIndexBaseRefPtr const &inputSceneIndex, const TfTokenVector &instanceDataSourceNames, const SceneIndexAppendCallback &sceneIndexAppendCallback)
PXR_NAMESPACE_OPEN_SCOPE TF_DECLARE_REF_PTRS(HdMergingSceneIndex)
std::vector< class SdfPath > SdfPathVector
USDIMAGING_API std::vector< HdSceneIndexBaseRefPtr > GetEncapsulatedScenes() const override
USDIMAGING_API std::vector< HdSceneIndexBaseRefPtr > GetInputScenes() const override
std::vector< TfToken > TfTokenVector
Convenience types.
friend class _InstanceAggregationSceneIndexObserver
#define PXR_NAMESPACE_CLOSE_SCOPE
std::function< HdSceneIndexBaseRefPtr(const HdSceneIndexBaseRefPtr &inputScene)> SceneIndexAppendCallback
friend class _MergingSceneIndexObserver