1 // File: XGUI_ViewerFilters.h
2 // Created: 07 Okt 2014
3 // Author: Vitaly SMETANNIKOV
6 #ifndef XGUI_ViewerFilters_H
7 #define XGUI_ViewerFilters_H
9 #include <SelectMgr_Filter.hxx>
10 #include <SelectMgr_EntityOwner.hxx>
15 DEFINE_STANDARD_HANDLE(XGUI_ShapeDocumentFilter, SelectMgr_Filter);
17 class XGUI_ShapeDocumentFilter: public SelectMgr_Filter
20 Standard_EXPORT XGUI_ShapeDocumentFilter(XGUI_Displayer* myDisp): SelectMgr_Filter(),
21 myDisplayer(myDisp) {}
23 Standard_EXPORT virtual Standard_Boolean IsOk(const Handle(SelectMgr_EntityOwner)& theOwner) const;
25 DEFINE_STANDARD_RTTI(XGUI_ShapeDocumentFilter)
28 XGUI_Displayer* myDisplayer;