]> SALOME platform Git repositories - modules/shaper.git/blob - src/XGUI/XGUI_ViewerFilters.h
Salome HOME
f30f400aeee716ccedc2ea23deb86b8683d1351e
[modules/shaper.git] / src / XGUI / XGUI_ViewerFilters.h
1 // File:        XGUI_ViewerFilters.h
2 // Created:     07 Okt 2014
3 // Author:      Vitaly SMETANNIKOV
4
5
6 #ifndef XGUI_ViewerFilters_H
7 #define XGUI_ViewerFilters_H
8
9 #include <SelectMgr_Filter.hxx>
10 #include <SelectMgr_EntityOwner.hxx>
11
12
13 class XGUI_Displayer;
14
15 DEFINE_STANDARD_HANDLE(XGUI_ShapeDocumentFilter, SelectMgr_Filter);
16
17 class XGUI_ShapeDocumentFilter: public SelectMgr_Filter
18 {
19 public:
20   Standard_EXPORT XGUI_ShapeDocumentFilter(XGUI_Displayer* myDisp): SelectMgr_Filter(),
21     myDisplayer(myDisp) {}
22
23   Standard_EXPORT virtual Standard_Boolean IsOk(const Handle(SelectMgr_EntityOwner)& theOwner) const;
24
25   DEFINE_STANDARD_RTTI(XGUI_ShapeDocumentFilter)
26
27 private:
28   XGUI_Displayer* myDisplayer;
29 };
30
31 #endif