From bd60069378fa769d588e57a00f758776cf6f8686 Mon Sep 17 00:00:00 2001 From: debloip Date: Mon, 21 Oct 2024 11:12:34 -0400 Subject: [PATCH] HYDRA-1098 : Add comments --- lib/flowViewport/sceneIndex/fvpPruningSceneIndex.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/flowViewport/sceneIndex/fvpPruningSceneIndex.h b/lib/flowViewport/sceneIndex/fvpPruningSceneIndex.h index 27eedaee5..cba10bd5a 100644 --- a/lib/flowViewport/sceneIndex/fvpPruningSceneIndex.h +++ b/lib/flowViewport/sceneIndex/fvpPruningSceneIndex.h @@ -70,15 +70,19 @@ class PruningSceneIndex : FVP_API PXR_NS::SdfPathVector GetChildPrimPaths(const PXR_NS::SdfPath& primPath) const override; + // Add a path for which it and all prims under it will not be considered for filtering. FVP_API void AddExcludedSceneRoot(const PXR_NS::SdfPath& sceneRoot); + // Enable a filter and prune out its matching prims FVP_API bool EnableFilter(const PXR_NS::TfToken& pruningToken); + // Disable a filter and re-add its filtered prims FVP_API bool DisableFilter(const PXR_NS::TfToken& pruningToken); + // Returns the tokens corresponding to the currently enabled filters. FVP_API std::set GetActiveFilters();