Salome HOME
Issue #555 Make a number of shifted/rotated copies - selected object does not appear...
[modules/shaper.git] / src / PartSet / PartSet_FilterInfinite.h
1 // Copyright (C) 2014-20xx CEA/DEN, EDF R&D
2
3 // File:        PartSet_Filters.h
4 // Created:     19 Jun 2015
5 // Author:      Natalia ERMOLAEVA
6
7 #ifndef PartSet_FilterInfinite_H
8 #define PartSet_FilterInfinite_H
9
10 #include <ModuleBase_ViewerFilters.h>
11
12 #include <SelectMgr_Filter.hxx>
13
14 /**
15 * \class PartSet_FilterInfinite
16 * \ingroup Modules
17 * A class which filters AIS objects with the true infinite state
18 */
19 DEFINE_STANDARD_HANDLE(PartSet_FilterInfinite, SelectMgr_Filter);
20 class PartSet_FilterInfinite : public SelectMgr_Filter
21 {
22 public:
23   /// Constructor
24   /// \param theWorkshop a pointer to workshop
25   PartSet_FilterInfinite()
26     : SelectMgr_Filter() {}
27
28   /// Returns True if selected presentation can be selected
29   /// \param theOwner an owner of the persentation
30   Standard_EXPORT virtual Standard_Boolean IsOk(const Handle(SelectMgr_EntityOwner)& theOwner) const;
31
32   DEFINE_STANDARD_RTTI(PartSet_FilterInfinite)
33 };
34
35 #endif