20 #ifndef FeaturesPlugin_BooleanSmash_H_
21 #define FeaturesPlugin_BooleanSmash_H_
23 #include "FeaturesPlugin_Boolean.h"
25 #include <ModelAPI_ResultBody.h>
35 inline static const std::string&
ID()
37 static const std::string MY_ID(
"Smash");
42 FEATURESPLUGIN_EXPORT
virtual const std::string&
getKind()
51 static const std::string MY_OBJECT_LIST_ID(
"main_objects");
52 return MY_OBJECT_LIST_ID;
58 static const std::string MY_TOOL_LIST_ID(
"tool_objects");
59 return MY_TOOL_LIST_ID;
66 FEATURESPLUGIN_EXPORT
virtual void execute();
Feature for applying of Boolean Smash operation.
Definition: FeaturesPlugin_BooleanSmash.h:31
static const std::string & OBJECT_LIST_ID()
Attribute name of main objects.
Definition: FeaturesPlugin_BooleanSmash.h:49
virtual void initAttributes()
Request for initialization of data model of the feature: adding all attributes.
Definition: FeaturesPlugin_BooleanSmash.cpp:49
static const std::string & TOOL_LIST_ID()
Attribute name of tool objects.
Definition: FeaturesPlugin_BooleanSmash.h:56
virtual const std::string & getKind()
Definition: FeaturesPlugin_BooleanSmash.h:42
static const std::string & ID()
Feature kind.
Definition: FeaturesPlugin_BooleanSmash.h:35
FeaturesPlugin_BooleanSmash()
Use plugin manager for features creation.
Definition: FeaturesPlugin_BooleanSmash.cpp:43
virtual void execute()
Performs the algorithm and stores results it in the data structure.
Definition: FeaturesPlugin_BooleanSmash.cpp:63
Feature for applying of Boolean operations on Solids.
Definition: FeaturesPlugin_Boolean.h:30