#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
{
/// 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;
+
+ /// Initializes arguments of a filter.
+ virtual void initAttributes(ModelAPI_FiltersArgs& theArguments) override;
};
#endif
\ No newline at end of file