Salome HOME
Bos #24055 [CEA 24054] Editing ExtrusionCut object updates other.
[modules/shaper.git] / src / Model / Model_FiltersFactory.h
index 3672516f83fc75720fd155f1cc6193123e385eec..fdc257e3fd1465bd8f55d49d93680c1786b0a38a 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
@@ -41,9 +41,11 @@ public:
 
   /// Returns true if all filters of the Filters feature are ok for the Shape (taking into account
   /// the Reversed states).
-  /// \param theFiltersFeature feature that contains all information about the filters
+  /// \param theResult parent result of the shape to check
   /// \param theShape the checked shape
-  virtual bool isValid(FeaturePtr theFiltersFeature, GeomShapePtr theShape);
+  virtual bool isValid(FeaturePtr theFiltersFeature,
+                       ResultPtr theResult,
+                       GeomShapePtr theShape);
 
   /// Returns the filters that support the given shape type
   virtual std::list<FilterPtr> filters(GeomAPI_Shape::ShapeType theType);