23#ifndef PXR_USD_IMAGING_USD_IMAGING_DRAW_MODE_SCENE_INDEX_H
24#define PXR_USD_IMAGING_USD_IMAGING_DRAW_MODE_SCENE_INDEX_H
27#include "pxr/usdImaging/usdImaging/api.h"
28#include "pxr/imaging/hd/filteringSceneIndex.h"
30PXR_NAMESPACE_OPEN_SCOPE
32using UsdImaging_DrawModeStandinSharedPtr =
33 std::shared_ptr<class UsdImaging_DrawModeStandin>;
59 static UsdImagingDrawModeSceneIndexRefPtr
60 New(
const HdSceneIndexBaseRefPtr &inputSceneIndex,
61 const HdContainerDataSourceHandle &inputArgs);
73 const HdSceneIndexBaseRefPtr &inputSceneIndex,
74 const HdContainerDataSourceHandle &inputArgs);
90 void _DeleteSubtree(
const SdfPath &path);
104 UsdImaging_DrawModeStandinSharedPtr
105 _FindStandinForPrimOrAncestor(
106 const SdfPath &path,
size_t *
const relPathLen)
const;
111 std::map<SdfPath, UsdImaging_DrawModeStandinSharedPtr> _prims;
114PXR_NAMESPACE_CLOSE_SCOPE
Abstract interface to scene data.
A path value used to locate objects in layers or scenegraphs.
Token for efficient comparison, assignment, and hashing of known strings.
A scene index replacing geometry based on the draw mode.
static USDIMAGING_API UsdImagingDrawModeSceneIndexRefPtr New(const HdSceneIndexBaseRefPtr &inputSceneIndex, const HdContainerDataSourceHandle &inputArgs)
inputArgs unused for now.
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.
#define TF_DECLARE_REF_PTRS(type)
Define standard ref pointer types.
Small struct representing a 'prim' in the Hydra scene index.