7#ifndef PXR_USD_IMAGING_USD_IMAGING_SELECTION_SCENE_INDEX_H
8#define PXR_USD_IMAGING_USD_IMAGING_SELECTION_SCENE_INDEX_H
10#include "pxr/usdImaging/usdImaging/api.h"
12#include "pxr/imaging/hd/filteringSceneIndex.h"
14PXR_NAMESPACE_OPEN_SCOPE
16namespace UsdImagingSelectionSceneIndex_Impl
18using _SelectionInfoSharedPtr = std::shared_ptr<struct _SelectionInfo>;
33 static UsdImagingSelectionSceneIndexRefPtr New(
34 HdSceneIndexBaseRefPtr
const &inputSceneIndex);
71 const HdSceneIndexBaseRefPtr &inputSceneIndex);
73 UsdImagingSelectionSceneIndex_Impl::
74 _SelectionInfoSharedPtr _selectionInfo;
77PXR_NAMESPACE_CLOSE_SCOPE
Abstract interface to scene data.
A path value used to locate objects in layers or scenegraphs.
A simple scene index adding HdSelectionsSchema to all prims selected with AddSelection.
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...
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).
USDIMAGING_API void ClearSelection()
Reset the scene index selection state.
#define TF_DECLARE_REF_PTRS(type)
Define standard ref pointer types.
Small struct representing a 'prim' in the Hydra scene index.