Salome HOME
print
[modules/shaper.git] / src / FiltersAPI / FiltersAPI_Selection.h
index dd35f559bf6e8b7a04044e8442186512656a58a2..7c7014d56acfd0dbf87ed2c41783a4102ec441cf 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2022  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
@@ -44,6 +44,12 @@ public:
   /// Return filters feature
   FILTERSAPI_EXPORT
   FiltersFeaturePtr feature() const;
+
+  /// Return selected entities
+  FILTERSAPI_EXPORT
+  std::list<ModelHighAPI_Selection> select(const std::string theShapeType) const;
+  FILTERSAPI_EXPORT
+  std::list<ModelHighAPI_Selection> select(const GeomAPI_Shape::ShapeType theShapeType) const;
 };
 
 /// Create list of filters