7#ifndef PXR_IMAGING_HD_PREFIXING_SCENE_INDEX_H
8#define PXR_IMAGING_HD_PREFIXING_SCENE_INDEX_H
10#include "pxr/imaging/hd/api.h"
11#include "pxr/imaging/hd/filteringSceneIndex.h"
13PXR_NAMESPACE_OPEN_SCOPE
30 static HdPrefixingSceneIndexRefPtr
New(
31 const HdSceneIndexBaseRefPtr &inputScene,
const SdfPath &prefix)
70 typedef std::unordered_map<SdfPath, SdfPath, SdfPath::Hash> SdfPathMap;
71 SdfPathMap _addPrefixMap;
72 SdfPathMap _removePrefixMap;
75PXR_NAMESPACE_CLOSE_SCOPE
A prefixing scene index is one in which the input scene contains data sources whose paths are all pre...
HD_API HdSceneIndexPrim GetPrim(const SdfPath &primPath) const override
Returns a pair of (prim type, datasource).
static HdPrefixingSceneIndexRefPtr New(const HdSceneIndexBaseRefPtr &inputScene, const SdfPath &prefix)
Creates a new prefixing scene index.
HD_API SdfPathVector GetChildPrimPaths(const SdfPath &primPath) const override
Returns the paths of all scene index prims located immediately below primPath.
Abstract interface to scene data.
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.