Salome HOME
Copyright update 2020
[modules/shaper.git] / src / FiltersPlugin / FiltersPlugin_BelongsTo.h
index f270103af3de3a1ae24aa02f2f41d6cb9d2d0c8b..c1b1b778f307937d60d294a364ab7b4135e3f0bf 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2019  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2020  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
@@ -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;