20 #ifndef FILTERSPLUGIN_EXTERNALFACES_H_
21 #define FILTERSPLUGIN_EXTERNALFACES_H_
23 #include "FiltersPlugin.h"
25 #include <ModelAPI_Filter.h>
36 virtual const std::string&
name()
const {
37 static const std::string kName(
"External faces");
49 virtual bool isOk(
const GeomShapePtr& theShape,
50 const ResultPtr& theResult,
Filter for faces not shared between solids in compsolid.
Definition: FiltersPlugin_ExternalFaces.h:32
virtual const std::string & name() const
Returns name of the filter to represent it in GUI.
Definition: FiltersPlugin_ExternalFaces.h:36
virtual bool isOk(const GeomShapePtr &theShape, const ResultPtr &theResult, const ModelAPI_FiltersArgs &theArgs) const override
This method should contain the filter logic.
Definition: FiltersPlugin_ExternalFaces.cpp:32
virtual bool isSupported(GeomAPI_Shape::ShapeType theType) const override
Returns true for any type because it supports all selection types.
Definition: FiltersPlugin_ExternalFaces.cpp:27
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