24 #ifndef PXR_USD_IMAGING_USD_IMAGING_SELECTION_SCENE_INDEX_H 25 #define PXR_USD_IMAGING_USD_IMAGING_SELECTION_SCENE_INDEX_H 27 #include "pxr/usdImaging/usdImaging/api.h" 29 #include "pxr/imaging/hd/filteringSceneIndex.h" 31 PXR_NAMESPACE_OPEN_SCOPE
33 namespace UsdImagingSelectionSceneIndex_Impl
35 using _SelectionSharedPtr = std::shared_ptr<struct _Selection>;
50 static UsdImagingSelectionSceneIndexRefPtr New(
51 HdSceneIndexBaseRefPtr
const &inputSceneIndex);
86 const HdSceneIndexBaseRefPtr &inputSceneIndex);
88 UsdImagingSelectionSceneIndex_Impl::_SelectionSharedPtr _selection;
91 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.
USDIMAGING_API void ClearSelection()
Reset the scene index selection state.
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) for the object at primPath.
Abstract interface to scene data.
A simple scene index adding HdSelectionsSchema to all prims selected with AddSelection.
A path value used to locate objects in layers or scenegraphs.
#define TF_DECLARE_REF_PTRS(type)
Define standard ref pointer types.
USDIMAGING_API void AddSelection(const SdfPath &usdPath)
Given a path (including usd proxy path inside a native instance) of a USD prim, determine the corresp...