23 #ifndef PXR_USD_IMAGING_USD_IMAGING_GL_DRAW_MODE_SCENE_INDEX_H 24 #define PXR_USD_IMAGING_USD_IMAGING_GL_DRAW_MODE_SCENE_INDEX_H 27 #include "pxr/usdImaging/usdImagingGL/api.h" 28 #include "pxr/imaging/hd/filteringSceneIndex.h" 30 PXR_NAMESPACE_OPEN_SCOPE
32 using UsdImagingGL_DrawModeStandinSharedPtr =
33 std::shared_ptr<class UsdImagingGL_DrawModeStandin>;
59 static UsdImagingGLDrawModeSceneIndexRefPtr
60 New(
const HdSceneIndexBaseRefPtr &inputSceneIndex,
61 const HdContainerDataSourceHandle &inputArgs);
73 const HdSceneIndexBaseRefPtr &inputSceneIndex,
74 const HdContainerDataSourceHandle &inputArgs);
90 bool _HasDrawModeAncestor(
const SdfPath &path);
93 void _DeleteSubtree(
const SdfPath &path);
107 std::map<SdfPath, UsdImagingGL_DrawModeStandinSharedPtr> _prims;
110 PXR_NAMESPACE_CLOSE_SCOPE
112 #endif // PXR_USD_IMAGING_USD_IMAGING_GL_DRAW_MODE_SCENE_INDEX_H
USDIMAGINGGL_API SdfPathVector GetChildPrimPaths(const SdfPath &primPath) const override
Returns the paths of all scene index prims located immediately below primPath.
static USDIMAGINGGL_API UsdImagingGLDrawModeSceneIndexRefPtr New(const HdSceneIndexBaseRefPtr &inputSceneIndex, const HdContainerDataSourceHandle &inputArgs)
inputArgs unused for now.
Small struct representing a 'prim' in the Hydra scene index.
Token for efficient comparison, assignment, and hashing of known strings.
USDIMAGINGGL_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 path value used to locate objects in layers or scenegraphs.
#define TF_DECLARE_REF_PTRS(type)
Define standard ref pointer types.
A scene index replacing geometry based on the draw mode.