24#ifndef PXR_IMAGING_HD_GP_GENERATIVE_PROCEDURAL_FILTERING_SCENE_INDEX_H
25#define PXR_IMAGING_HD_GP_GENERATIVE_PROCEDURAL_FILTERING_SCENE_INDEX_H
27#include "pxr/imaging/hdGp/generativeProcedural.h"
28#include "pxr/imaging/hd/filteringSceneIndex.h"
29#include "pxr/usd/sdf/pathTable.h"
31PXR_NAMESPACE_OPEN_SCOPE
54 static HdGpGenerativeProceduralFilteringSceneIndexRefPtr New(
55 const HdSceneIndexBaseRefPtr &inputScene,
57 return TfCreateRefPtr(
59 inputScene, allowedProceduralTypes));
61 static HdGpGenerativeProceduralFilteringSceneIndexRefPtr New(
62 const HdSceneIndexBaseRefPtr &inputScene,
64 const TfToken &targetPrimTypeName) {
65 return TfCreateRefPtr(
67 inputScene, allowedProceduralTypes, targetPrimTypeName));
75 const HdSceneIndexBaseRefPtr &inputScene,
78 const HdSceneIndexBaseRefPtr &inputScene,
80 const TfToken &targetPrimTypeName);
96 const TfToken _targetPrimTypeName;
99PXR_NAMESPACE_CLOSE_SCOPE
HdGpGenerativeProceduralFilteringSceneIndex is a scene index which filters prims representing generat...
HdSceneIndexPrim GetPrim(const SdfPath &primPath) const override
Returns a pair of (prim type, datasource) for the object at primPath.
SdfPathVector GetChildPrimPaths(const SdfPath &primPath) const override
Returns the paths of all scene index prims located immediately below primPath.
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.
#define TF_DECLARE_REF_PTRS(type)
Define standard ref pointer types.
Small struct representing a 'prim' in the Hydra scene index.
std::vector< TfToken > TfTokenVector
Convenience types.