X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FFiltersPlugin%2FFiltersPlugin_BelongsTo.h;h=c1b1b778f307937d60d294a364ab7b4135e3f0bf;hb=50a8df0c6a66da8067b16155e5ae39f8f26a7ebc;hp=f270103af3de3a1ae24aa02f2f41d6cb9d2d0c8b;hpb=2272de4179731e4841f6d6ca8b7f33ec67bd0d4e;p=modules%2Fshaper.git diff --git a/src/FiltersPlugin/FiltersPlugin_BelongsTo.h b/src/FiltersPlugin/FiltersPlugin_BelongsTo.h index f270103af..c1b1b778f 100644 --- a/src/FiltersPlugin/FiltersPlugin_BelongsTo.h +++ b/src/FiltersPlugin/FiltersPlugin_BelongsTo.h @@ -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 -/**\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;