]> OCCT Git - occt.git/commitdiff
0032364: Visualization - Add interface to return global filter from context
authorsshutina <sshutina@opencascade.com>
Thu, 13 May 2021 09:01:58 +0000 (12:01 +0300)
committerbugmaster <bugmaster@opencascade.com>
Fri, 14 May 2021 17:44:00 +0000 (20:44 +0300)
src/AIS/AIS_InteractiveContext.hxx

index f313834eb7fd5d8ae3d57e39e3a0b01dd7cc6cb8..eebacf247395f5ad4adc15cc4be2ce4a05e12b34 100644 (file)
@@ -793,6 +793,9 @@ public: //! @name Selection Filters management
   //! Returns the list of filters active in a local context.
   const SelectMgr_ListOfFilter& Filters() const { return myFilters->StoredFilters(); }
 
+  //! @return the context selection global context filter.
+  const Handle(SelectMgr_AndOrFilter)& GlobalFilter() const { return myFilters; }
+
   //! Allows you to add the filter.
   void AddFilter (const Handle(SelectMgr_Filter)& theFilter) { myFilters->Add (theFilter); }