From c95a8f0db56e92dc30de2e09d73c92e2e638985b Mon Sep 17 00:00:00 2001 From: sshutina Date: Thu, 13 May 2021 12:01:58 +0300 Subject: [PATCH] 0032364: Visualization - Add interface to return global filter from context --- src/AIS/AIS_InteractiveContext.hxx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/AIS/AIS_InteractiveContext.hxx b/src/AIS/AIS_InteractiveContext.hxx index c418d178b1..1160878048 100644 --- a/src/AIS/AIS_InteractiveContext.hxx +++ b/src/AIS/AIS_InteractiveContext.hxx @@ -803,6 +803,9 @@ public: //! @name Selection Filters management //! Returns the list of filters active in a local context. Standard_EXPORT const SelectMgr_ListOfFilter& Filters() const; + //! @return the context selection global context filter. + const Handle(SelectMgr_AndOrFilter)& GlobalFilter() const { return myFilters; } + //! Allows you to add the filter. Standard_EXPORT void AddFilter (const Handle(SelectMgr_Filter)& theFilter); -- 2.39.5