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:
@@ -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); }
|
||||
|
||||
|
Reference in New Issue
Block a user