7#ifndef PXR_USD_IMAGING_USD_IMAGING_PI_PROTOTYPE_PROPAGATING_SCENE_INDEX_H
8#define PXR_USD_IMAGING_USD_IMAGING_PI_PROTOTYPE_PROPAGATING_SCENE_INDEX_H
10#include "pxr/usdImaging/usdImaging/api.h"
12#include "pxr/imaging/hd/filteringSceneIndex.h"
14PXR_NAMESPACE_OPEN_SCOPE
18namespace UsdImagingPiPrototypePropagatingSceneIndex_Impl
20using _ContextSharedPtr = std::shared_ptr<class _Context>;
21using _InstancerObserverUniquePtr = std::unique_ptr<class _InstancerObserver>;
355 static UsdImagingPiPrototypePropagatingSceneIndexRefPtr New(
356 HdSceneIndexBaseRefPtr
const &inputSceneIndex);
368 std::vector<HdSceneIndexBaseRefPtr> GetInputScenes()
const override;
371 std::vector<HdSceneIndexBaseRefPtr> GetEncapsulatedScenes()
const override;
375 const HdSceneIndexBaseRefPtr &inputSceneIndex);
377 friend class _MergingSceneIndexObserver;
381 _MergingSceneIndexObserver(
386 const AddedPrimEntries &entries)
override;
389 const DirtiedPrimEntries &entries)
override;
392 const RemovedPrimEntries &entries)
override;
395 const RenamedPrimEntries &entries)
override;
401 UsdImagingPiPrototypePropagatingSceneIndex_Impl::
402 _ContextSharedPtr
const _context;
404 _MergingSceneIndexObserver _mergingSceneIndexObserver;
406 UsdImagingPiPrototypePropagatingSceneIndex_Impl::
407 _InstancerObserverUniquePtr _instancerObserver;
410PXR_NAMESPACE_CLOSE_SCOPE
A mix-in class for scene indices that implement their behaviour by creating other scene indices (inte...
An abstract base class for scene indexes that have one or more input scene indexes which serve as a b...
Abstract interface to scene data.
A path value used to locate objects in layers or scenegraphs.
A scene index translating USD point instancers into Hydra instancers.
USDIMAGING_API SdfPathVector GetChildPrimPaths(const SdfPath &primPath) const override
Returns the paths of all scene index prims located immediately below primPath.
USDIMAGING_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.
Small struct representing a 'prim' in the Hydra scene index.