Salome HOME
bos #26374 Merge branch 'CR26374'
[modules/shaper.git] / src / Model / Model_FiltersFactory.h
index d272d0a4745cda8ec4f4a51aee3de91900622a57..8dab7427684315c94b7c79fa8b18b5c5ef8e0a91 100644 (file)
@@ -47,6 +47,14 @@ public:
                        ResultPtr theResult,
                        GeomShapePtr theShape);
 
+  /// Returns list of all shapes and subshapes in the study, satisfying
+  ///         criteria of all filters of \a theFilterFeature.
+  /// \param theFiltersFeature feature that contains all information about the filters
+  /// \param theShapeType the type of sub-shapes to find
+  virtual std::list< std::pair<ResultPtr, GeomShapePtr> > select
+    (const FiltersFeaturePtr& theFilterFeature,
+     const GeomAPI_Shape::ShapeType theShapeType);
+
   /// Returns the filters that support the given shape type
   virtual std::list<FilterPtr> filters(GeomAPI_Shape::ShapeType theType);
 
@@ -66,4 +74,4 @@ private:
   friend class Model_Session;
 };
 
-#endif
\ No newline at end of file
+#endif