20 #ifndef FeaturesPlugin_Fillet_H_
21 #define FeaturesPlugin_Fillet_H_
23 #include "FeaturesPlugin_VersionedChFi.h"
33 inline static const std::string&
ID()
35 static const std::string MY_ID(
"Fillet");
40 FEATURESPLUGIN_EXPORT
virtual const std::string&
getKind()
46 inline static const std::string& CREATION_METHOD()
48 static std::string MY_CREATION_METHOD(
"creation_method");
49 return MY_CREATION_METHOD;
52 inline static const std::string CREATION_METHOD_SINGLE_RADIUS()
54 static std::string MY_SINGLE_RADIUS(
"fixed_radius");
55 return MY_SINGLE_RADIUS;
58 inline static const std::string CREATION_METHOD_VARYING_RADIUS()
60 static std::string MY_VARYING_RADIUS(
"variable_radius");
61 return MY_VARYING_RADIUS;
67 static const std::string MY_OBJECT_LIST_ID(
"main_objects");
68 return MY_OBJECT_LIST_ID;
74 static const std::string MY_START_RADIUS_ID(
"radius1");
75 return MY_START_RADIUS_ID;
81 static const std::string MY_END_RADIUS_ID(
"radius2");
82 return MY_END_RADIUS_ID;
99 virtual std::shared_ptr<ModelAPI_Attribute> objectsAttribute();
102 virtual const std::string& modifiedShapePrefix()
const;
105 virtual std::shared_ptr<GeomAlgoAPI_MakeShape>
106 performOperation(
const GeomShapePtr& theSolid,
const ListOfShape& theEdges);
Feature for applying the Fillet operations on Solids.
Definition: FeaturesPlugin_Fillet.h:30
virtual const std::string & getKind()
Definition: FeaturesPlugin_Fillet.h:40
static const std::string & OBJECT_LIST_ID()
Attribute name of main objects.
Definition: FeaturesPlugin_Fillet.h:65
FeaturesPlugin_Fillet()
Use plugin manager for features creation.
Definition: FeaturesPlugin_Fillet.cpp:45
static const std::string & RADIUS_ID()
Attribute name of a radius for fillet with fixed radius.
Definition: FeaturesPlugin_Fillet.h:86
static const std::string & END_RADIUS_ID()
Attribute name of end radius.
Definition: FeaturesPlugin_Fillet.h:79
static const std::string & START_RADIUS_ID()
Attribute name of start radius.
Definition: FeaturesPlugin_Fillet.h:72
static const std::string & ID()
Feature kind.
Definition: FeaturesPlugin_Fillet.h:33
virtual void initAttributes()
Request for initialization of data model of the feature: adding all attributes.
Definition: FeaturesPlugin_Fillet.cpp:49
Base feature for the Fillet and the Chamfer operations which supports versioning.
Definition: FeaturesPlugin_VersionedChFi.h:37