7 #ifndef PXR_USD_IMAGING_USD_IMAGING_REROOTING_SCENE_INDEX_H 8 #define PXR_USD_IMAGING_USD_IMAGING_REROOTING_SCENE_INDEX_H 10 #include "pxr/usdImaging/usdImaging/api.h" 11 #include "pxr/imaging/hd/filteringSceneIndex.h" 12 #include "pxr/usd/pcp/mapFunction.h" 13 #include "pxr/usd/sdf/pathTable.h" 16 PXR_NAMESPACE_OPEN_SCOPE
39 static UsdImagingRerootingSceneIndexRefPtr
New(
40 HdSceneIndexBaseRefPtr
const &inputScene,
47 return TfCreateRefPtr(
51 static UsdImagingRerootingSceneIndexRefPtr
New(
52 HdSceneIndexBaseRefPtr
const &inputScene,
55 return TfCreateRefPtr(
68 HdSceneIndexBaseRefPtr
const &inputScene,
92 PXR_NAMESPACE_CLOSE_SCOPE
USDIMAGING_API SdfPathVector GetChildPrimPaths(const SdfPath &primPath) const override
Returns the paths of all scene index prims located immediately below primPath.
static UsdImagingRerootingSceneIndexRefPtr New(HdSceneIndexBaseRefPtr const &inputScene, const SdfPath &srcPrefix, const SdfPath &dstPrefix)
A convenience method that maps between two provided paths.
Small struct representing a 'prim' in the Hydra scene index.
USDIMAGING_API HdSceneIndexPrim GetPrim(const SdfPath &primPath) const override
Returns a pair of (prim type, datasource).
Abstract interface to scene data.
A function that maps values from one namespace (and time domain) to another.
A path value used to locate objects in layers or scenegraphs.
#define TF_DECLARE_REF_PTRS(type)
Define standard ref pointer types.
Represents a time offset and scale between layers.
Applies a bijective namespace mapping, as represented by a PcpMapFunction, to the input namespace.
static PCP_API PcpMapFunction Create(const PathMap &sourceToTargetMap, const SdfLayerOffset &offset)
Constructs a map function with the given arguments.