24#ifndef PXR_USD_IMAGING_USD_IMAGING_REROOTING_SCENE_INDEX_H
25#define PXR_USD_IMAGING_USD_IMAGING_REROOTING_SCENE_INDEX_H
27#include "pxr/usdImaging/usdImaging/api.h"
29#include "pxr/imaging/hd/filteringSceneIndex.h"
31PXR_NAMESPACE_OPEN_SCOPE
52 static UsdImagingRerootingSceneIndexRefPtr New(
53 HdSceneIndexBaseRefPtr
const &inputScene,
57 return TfCreateRefPtr(
59 inputScene, srcPrefix, dstPrefix));
71 HdSceneIndexBaseRefPtr
const &inputScene,
98 const SdfPathVector _dstPrefixes;
100 const bool _srcEqualsDst;
102 const bool _srcPrefixIsRoot;
105PXR_NAMESPACE_CLOSE_SCOPE
Abstract interface to scene data.
A path value used to locate objects in layers or scenegraphs.
UsdImagingRerootingSceneIndex.
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) for the object at primPath.
#define TF_DECLARE_REF_PTRS(type)
Define standard ref pointer types.
Small struct representing a 'prim' in the Hydra scene index.