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"
31PXR_NAMESPACE_OPEN_SCOPE
33namespace UsdImagingSelectionSceneIndex_Impl
35using _SelectionInfoSharedPtr = std::shared_ptr<struct _SelectionInfo>;
50 static UsdImagingSelectionSceneIndexRefPtr New(
51 HdSceneIndexBaseRefPtr
const &inputSceneIndex);
88 const HdSceneIndexBaseRefPtr &inputSceneIndex);
90 UsdImagingSelectionSceneIndex_Impl::
91 _SelectionInfoSharedPtr _selectionInfo;
94PXR_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) for the object at primPath.
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.