X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FModelAPI%2FModelAPI_FiltersFactory.h;h=6e5e7a3e799c17436ff3a25fedce64906fcf4e28;hb=a211165b993cec59888b300199b44b525c0daf69;hp=bc24d0d3eee8f9841958c00fb695b431654be199;hpb=bae2c0f9a9f1c1adbaa371b938feb25ccdfd61ac;p=modules%2Fshaper.git diff --git a/src/ModelAPI/ModelAPI_FiltersFactory.h b/src/ModelAPI/ModelAPI_FiltersFactory.h index bc24d0d3e..6e5e7a3e7 100644 --- a/src/ModelAPI/ModelAPI_FiltersFactory.h +++ b/src/ModelAPI/ModelAPI_FiltersFactory.h @@ -22,6 +22,7 @@ #include "ModelAPI_Feature.h" #include "ModelAPI_Filter.h" +#include "ModelAPI_ResultBody.h" #include @@ -41,8 +42,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) = 0; + virtual bool isValid(FeaturePtr theFiltersFeature, + ResultPtr theResult, + GeomShapePtr theShape) = 0; /// Returns the filters that support the given shape type virtual std::list filters(GeomAPI_Shape::ShapeType theType) = 0;