From: sshutina Date: Thu, 13 May 2021 09:01:58 +0000 (+0300) Subject: 0032364: Visualization - Add interface to return global filter from context X-Git-Url: http://git.dev.opencascade.org/gitweb/?a=commitdiff_plain;h=93502df8bc27a65d19f6be8ac37afb593b5c0ae3;p=occt-copy.git 0032364: Visualization - Add interface to return global filter from context --- diff --git a/src/AIS/AIS_InteractiveContext.hxx b/src/AIS/AIS_InteractiveContext.hxx index 3bdd096cb2..482e511837 100644 --- a/src/AIS/AIS_InteractiveContext.hxx +++ b/src/AIS/AIS_InteractiveContext.hxx @@ -808,6 +808,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);