1 // Copyright (C) 2014-20xx CEA/DEN, EDF R&D
3 // File: ModuleBase_ViewerFilters.h
4 // Created: 10 Feb 2015
5 // Author: Natalia ERMOLAEVA
8 #ifndef ModuleBase_FilterNoDegeneratedEdge_H
9 #define ModuleBase_FilterNoDegeneratedEdge_H
11 #include <QStringList>
13 #include <StdSelect_EdgeFilter.hxx>
14 #include <SelectMgr_EntityOwner.hxx>
18 * \class ModuleBase_FilterNoDegeneratedEdge
19 * An edge filter, which additionally filters degenerative edges.
21 DEFINE_STANDARD_HANDLE(ModuleBase_FilterNoDegeneratedEdge, StdSelect_EdgeFilter);
22 class ModuleBase_FilterNoDegeneratedEdge: public StdSelect_EdgeFilter
26 Standard_EXPORT ModuleBase_FilterNoDegeneratedEdge();
29 * Returns true if the owner is computed from decomposition(it is global selection, not the sub-shapes)
30 * of if the selected result is a construction and the result feature is composite and has sub-elements.
31 * \param theOwner the result of selection
32 * \return whether the owner is selectable in the viewer
34 Standard_EXPORT virtual Standard_Boolean IsOk(const Handle(SelectMgr_EntityOwner)& theOwner) const;
36 DEFINE_STANDARD_RTTI(ModuleBase_FilterNoDegeneratedEdge)