20 #ifndef FILTERSPLUGIN_HORIZONTALPLANE_H_
21 #define FILTERSPLUGIN_HORIZONTALPLANE_H_
23 #include "FiltersPlugin.h"
25 #include <ModelAPI_Filter.h>
36 virtual const std::string&
name()
const {
37 static const std::string kName(
"Horizontal faces");
48 virtual bool isOk(
const GeomShapePtr& theShape,
const ResultPtr&,
Filter for horizontal faces only.
Definition: FiltersPlugin_HorizontalFace.h:32
virtual const std::string & name() const
Returns name of the filter to represent it in GUI.
Definition: FiltersPlugin_HorizontalFace.h:36
virtual bool isOk(const GeomShapePtr &theShape, const ResultPtr &, const ModelAPI_FiltersArgs &theArgs) const override
This method should contain the filter logic.
Definition: FiltersPlugin_HorizontalFace.cpp:30
virtual bool isSupported(GeomAPI_Shape::ShapeType theType) const override
Returns true if the given shape type is supported.
Definition: FiltersPlugin_HorizontalFace.cpp:25
ShapeType
Shape type enum.
Definition: GeomAPI_Shape.h:46
Definition: ModelAPI_Filter.h:34
definition of arguments of filters: id of the argument to attributes
Definition: ModelAPI_FiltersArgs.h:31