1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-29 14:00:49 +03:00

0032364: Visualization - Add interface to return global filter from context

This commit is contained in:
sshutina
2021-05-13 12:01:58 +03:00
committed by bugmaster
parent 06392edef7
commit d1b8120b69

View 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); }