7#ifndef PXR_IMAGING_HD_INSTANCE_PROXY_VIEW_SCENE_INDEX_H
8#define PXR_IMAGING_HD_INSTANCE_PROXY_VIEW_SCENE_INDEX_H
11#include "pxr/imaging/hd/api.h"
13#include "pxr/imaging/hd/filteringSceneIndex.h"
14#include "pxr/usd/sdf/path.h"
20PXR_NAMESPACE_OPEN_SCOPE
52 static HdInstanceProxyViewSceneIndexRefPtr
53 New(
const HdSceneIndexBaseRefPtr &inputSceneIndex);
89 const HdSceneIndexBaseRefPtr &inputSceneIndex);
111 std::unique_ptr<_Impl> _impl;
114PXR_NAMESPACE_CLOSE_SCOPE
A scene index that provides a topological view of the scene as though instancing were not being used.
HD_API bool IsInstanceProxy(const SdfPath &primPath) const
Returns true if the given prim path is an instance proxy prim path matching the USD definition of an ...
HD_API HdSceneIndexPrim GetPrim(const SdfPath &primPath) const override
Adds support for instance proxy prim paths.
HD_API bool IsOutermostInstance(const SdfPath &primPath) const
Returns true if the given prim path is a leaf instance prim path that isn't under an instancer prim.
HD_API SdfPathVector GetChildPrimPaths(const SdfPath &primPath) const override
Adds support for queries on outer (leaf) instance prim paths and instance proxy prim paths.
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.
This file defines some macros that are useful for declaring and using static TfTokens.
Small struct representing a 'prim' in the Hydra scene index.
TfToken class for efficient string referencing and hashing, plus conversions to and from stl string c...