Salome HOME
Provide preselection of Line and Point for Distance
[modules/shaper.git] / src / PartSet / PartSet_Filters.h
1 // File:        PartSet_Filters.h
2 // Created:     08 Nov 2014
3 // Author:      Vitaly SMETANNIKOV
4
5 #ifndef PartSet_Filters_H
6 #define PartSet_Filters_H
7
8 #include <ModuleBase_ViewerFilters.h>
9
10
11 /**
12 * A class which filters groups object in addition to documents (see issue #310)
13 */
14 DEFINE_STANDARD_HANDLE(PartSet_GlobalFilter, ModuleBase_ShapeDocumentFilter);
15 class PartSet_GlobalFilter: public ModuleBase_ShapeDocumentFilter
16 {
17 public:
18   PartSet_GlobalFilter(ModuleBase_IWorkshop* theWorkshop)
19     : ModuleBase_ShapeDocumentFilter(theWorkshop) {}
20
21   Standard_EXPORT virtual Standard_Boolean IsOk(const Handle(SelectMgr_EntityOwner)& theOwner) const;
22
23   DEFINE_STANDARD_RTTI(PartSet_GlobalFilter)
24 };
25
26 #endif