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
45 static UsdImagingSelectionSceneIndexRefPtr New(
46 HdSceneIndexBaseRefPtr
const &inputSceneIndex);
80 const HdSceneIndexBaseRefPtr &inputSceneIndex);
83 SdfPathSet _selectedPaths;
86 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 &path)
Add prim at path to the set of prims for which this scene index will add a data source at locator sel...