7 #ifndef PXR_IMAGING_HD_GP_GENERATIVE_PROCEDURAL_FILTERING_SCENE_INDEX_H
8 #define PXR_IMAGING_HD_GP_GENERATIVE_PROCEDURAL_FILTERING_SCENE_INDEX_H
44 static HdGpGenerativeProceduralFilteringSceneIndexRefPtr
New(
45 const HdSceneIndexBaseRefPtr &inputScene,
49 inputScene, allowedProceduralTypes));
65 static HdGpGenerativeProceduralFilteringSceneIndexRefPtr
New(
66 const HdSceneIndexBaseRefPtr &inputScene,
68 const std::optional<TfToken> &targetPrimTypeName,
69 const std::optional<TfToken> &allowedPrimTypeName,
70 const std::optional<TfToken> &skippedPrimTypeName) {
73 inputScene, allowedProceduralTypes, targetPrimTypeName,
74 allowedPrimTypeName, skippedPrimTypeName));
91 const HdSceneIndexBaseRefPtr &inputScene,
94 const HdSceneIndexBaseRefPtr &inputScene,
96 const std::optional<TfToken> &targetPrimTypeName,
97 const std::optional<TfToken> &allowedPrimTypeName,
98 const std::optional<TfToken> &skippedPrimTypeName);
112 enum class _ShouldSkipResult {
120 std::optional<TfToken> _GetOverridePrimTypeForPrim(
123 std::set<TfToken> _allowedProceduralTypes;
124 bool _allowAny =
false;
126 const TfToken _targetPrimTypeName;
static HdGpGenerativeProceduralFilteringSceneIndexRefPtr New(const HdSceneIndexBaseRefPtr &inputScene, const TfTokenVector &allowedProceduralTypes)
TfRefPtr< T > TfCreateRefPtr(T *ptr)
#define PXR_NAMESPACE_OPEN_SCOPE
TF_DECLARE_REF_PTRS(HdGpGenerativeProceduralFilteringSceneIndex)
static HdGpGenerativeProceduralFilteringSceneIndexRefPtr New(const HdSceneIndexBaseRefPtr &inputScene, const TfTokenVector &allowedProceduralTypes, const std::optional< TfToken > &targetPrimTypeName, const std::optional< TfToken > &allowedPrimTypeName, const std::optional< TfToken > &skippedPrimTypeName)
std::vector< class SdfPath > SdfPathVector
HDGP_API HdSceneIndexPrim GetPrim(const SdfPath &primPath) const override
std::vector< TfToken > TfTokenVector
Convenience types.
HDGP_API SdfPathVector GetChildPrimPaths(const SdfPath &primPath) const override
HDGP_API void SetAllowedProceduralTypes(const TfTokenVector &allowedProceduralTypes)
#define PXR_NAMESPACE_CLOSE_SCOPE