7#ifndef PXR_IMAGING_HDSI_PRIM_ID_SCENE_INDEX_H
8#define PXR_IMAGING_HDSI_PRIM_ID_SCENE_INDEX_H
10#include "pxr/imaging/hdsi/api.h"
12#include "pxr/imaging/hd/filteringSceneIndex.h"
14PXR_NAMESPACE_OPEN_SCOPE
16namespace HdsiPrimIdSceneIndex_Impl
19using _PrimIdInfoSharedPtr = std::shared_ptr<_PrimIdInfo>;
44 static HdsiPrimIdSceneIndexRefPtr
New(
45 HdSceneIndexBaseRefPtr
const &inputScene) {
46 return TfCreateRefPtr(
62 HdSceneIndexBaseRefPtr
const &inputScene);
78 HdsiPrimIdSceneIndex_Impl::_PrimIdInfoSharedPtr
const _primIdInfo;
82 HdContainerDataSourceHandle
const _rootPrimOverlayDataSource;
85PXR_NAMESPACE_CLOSE_SCOPE
Abstract interface to scene data.
A filtering scene index assigning an id to each imagable prim.
static HdsiPrimIdSceneIndexRefPtr New(HdSceneIndexBaseRefPtr const &inputScene)
Creates a new prim id scene index.
HDSI_API HdSceneIndexPrim GetPrim(const SdfPath &primPath) const override
Returns a pair of (prim type, datasource).
HDSI_API SdfPathVector GetChildPrimPaths(const SdfPath &primPath) const override
Returns the paths of all scene index prims located immediately below primPath.
A path value used to locate objects in layers or scenegraphs.
#define TF_DECLARE_REF_PTRS(type)
Define standard ref pointer types.
Small struct representing a 'prim' in the Hydra scene index.