20 #ifndef FeaturesAPI_Defeaturing_H_
21 #define FeaturesAPI_Defeaturing_H_
23 #include "FeaturesAPI.h"
25 #include <FeaturesPlugin_Defeaturing.h>
27 #include <ModelHighAPI_Interface.h>
28 #include <ModelHighAPI_Macro.h>
45 const std::list<ModelHighAPI_Selection>& theFacesToRemove);
64 void execIfBaseNotEmpty();
Interface for the Defeaturing feature.
Definition: FeaturesAPI_Defeaturing.h:36
virtual void dump(ModelHighAPI_Dumper &theDumper) const
Dump wrapped feature.
Definition: FeaturesAPI_Defeaturing.cpp:53
FeaturesAPI_Defeaturing(const std::shared_ptr< ModelAPI_Feature > &theFeature)
Constructor without values.
Definition: FeaturesAPI_Defeaturing.cpp:25
void setFaces(const std::list< ModelHighAPI_Selection > &theFacesToRemove)
Modify faces to be removed.
Definition: FeaturesAPI_Defeaturing.cpp:45
virtual std::shared_ptr< ModelAPI_AttributeSelectionList > baseObjects() const
Base objects.
Definition: FeaturesAPI_Defeaturing.h:53
virtual ~FeaturesAPI_Defeaturing()
Destructor.
Definition: FeaturesAPI_Defeaturing.cpp:41
static const std::string & OBJECT_LIST_ID()
Attribute name of main objects.
Definition: FeaturesPlugin_Defeaturing.h:51
static const std::string & ID()
Feature kind.
Definition: FeaturesPlugin_Defeaturing.h:37
Attribute that contains list of references to the sub-shapes with possibility to manage them.
Definition: ModelAPI_AttributeSelectionList.h:37
Document for internal data structure of any object storage.
Definition: ModelAPI_Document.h:52
Dump engine for the model.
Definition: ModelHighAPI_Dumper.h:81
Base class for feature interfaces.
Definition: ModelHighAPI_Interface.h:46
Class for filling ModelAPI_AttributeSelection.
Definition: ModelHighAPI_Selection.h:49
DefeaturingPtr addDefeaturing(const std::shared_ptr< ModelAPI_Document > &thePart, const std::list< ModelHighAPI_Selection > &theFaces)
Create Defeaturing feature.
Definition: FeaturesAPI_Defeaturing.cpp:74