20 #ifndef FeaturesPlugin_Loft_H_
21 #define FeaturesPlugin_Loft_H_
23 #include "FeaturesPlugin.h"
25 #include <GeomAlgoAPI_Loft.h>
27 #include <ModelAPI_Feature.h>
28 #include <ModelAPI_ResultBody.h>
45 inline static const std::string&
ID()
47 static const std::string MY_FEATURE_ID(
"Loft");
54 static const std::string MY_FIRST_OBJECT(
"first_object");
55 return MY_FIRST_OBJECT;
61 static const std::string MY_SECOND_OBJECT(
"second_object");
62 return MY_SECOND_OBJECT;
66 FEATURESPLUGIN_EXPORT
virtual const std::string&
getKind()
73 FEATURESPLUGIN_EXPORT
virtual void execute();
Feature for creation of extrusion along a path.
Definition: FeaturesPlugin_Loft.h:42
static const std::string & SECOND_OBJECT_ID()
Attribute name for second object selected.
Definition: FeaturesPlugin_Loft.h:59
virtual const std::string & getKind()
Definition: FeaturesPlugin_Loft.h:66
virtual void initAttributes()
Request for initialization of data model of the feature: adding all attributes.
Definition: FeaturesPlugin_Loft.cpp:40
FeaturesPlugin_Loft()
Use plugin manager for features creation.
Definition: FeaturesPlugin_Loft.cpp:35
static const std::string & ID()
Feature kind.
Definition: FeaturesPlugin_Loft.h:45
virtual void execute()
Performs the algorithm and stores results it in the data structure.
Definition: FeaturesPlugin_Loft.cpp:47
static const std::string & FIRST_OBJECT_ID()
Attribute name for first object selected.
Definition: FeaturesPlugin_Loft.h:52
3D point defined by three coordinates
Definition: GeomAPI_Pnt.h:38
Feature function that represents the particular functionality of this operation.
Definition: ModelAPI_Feature.h:41