1 // Copyright (C) 2014-20xx CEA/DEN, EDF R&D
3 // File: PartSet_FilterSketchEntity.h
4 // Created: 13 Mar 2015
5 // Author: Natalia ERMOLAEVA
7 #ifndef PartSet_FilterSketchEntity_H
8 #define PartSet_FilterSketchEntity_H
10 #include <ModuleBase_ViewerFilters.h>
13 * \class PartSet_FilterSketchEntity
15 * A class which filters groups object in addition to documents (see issue #310)
17 DEFINE_STANDARD_HANDLE(PartSet_FilterSketchEntity, ModuleBase_ShapeDocumentFilter);
18 class PartSet_FilterSketchEntity: public ModuleBase_ShapeDocumentFilter
22 /// \param theWorkshop a pointer to workshop
23 PartSet_FilterSketchEntity(ModuleBase_IWorkshop* theWorkshop)
24 : ModuleBase_ShapeDocumentFilter(theWorkshop) {}
26 /// Returns True if selected presentation can be selected
27 /// \param theOwner an owner of the persentation
28 Standard_EXPORT virtual Standard_Boolean IsOk(const Handle(SelectMgr_EntityOwner)& theOwner) const;
30 DEFINE_STANDARD_RTTI(PartSet_FilterSketchEntity)