Salome HOME
Change icons for chamfer
[modules/shaper.git] / src / FiltersPlugin / FiltersPlugin_BelongsTo.h
index f270103af3de3a1ae24aa02f2f41d6cb9d2d0c8b..ebe4e6177089ed900701d6853fd1b600f9e94f78 100644 (file)
@@ -24,9 +24,9 @@
 
 #include <ModelAPI_Filter.h>
 
-/**\class FiltersPlugin_HorizontalFace
+/**\class FiltersPlugin_BelongsTo
 * \ingroup DataModel
-* \brief Filter for horizontal faces only
+* \brief Filter for objects which are part of specified objects
 */
 class FiltersPlugin_BelongsTo : public ModelAPI_Filter
 {
@@ -44,8 +44,9 @@ public:
   /// This method should contain the filter logic. It returns true if the given shape
   /// is accepted by the filter.
   /// \param theShape the given shape
-  virtual bool isOk(const GeomShapePtr& theShape,
-    const ModelAPI_FiltersArgs& theArgs) const override;
+  /// \param theArgs arguments of the filter
+  virtual bool isOk(const GeomShapePtr& theShape, const ResultPtr&,
+                    const ModelAPI_FiltersArgs& theArgs) const override;
 
   /// Returns XML string which represents GUI of the filter
   virtual std::string xmlRepresentation() const override;