X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FFeaturesPlugin%2FFeaturesPlugin_Extrusion.h;h=98c9af7c9ddf90f655fba32f66b2e9b8daf61df1;hb=5a4405dc843479d921b53b83c181cbe9359414fe;hp=2d72d49bb1817b83d968303509ff4f32257ffcf0;hpb=7e53ef4d34d299d8f78e72795b0178238ded5874;p=modules%2Fshaper.git diff --git a/src/FeaturesPlugin/FeaturesPlugin_Extrusion.h b/src/FeaturesPlugin/FeaturesPlugin_Extrusion.h index 2d72d49bb..98c9af7c9 100644 --- a/src/FeaturesPlugin/FeaturesPlugin_Extrusion.h +++ b/src/FeaturesPlugin/FeaturesPlugin_Extrusion.h @@ -75,6 +75,13 @@ class FeaturesPlugin_Extrusion : public ModelAPI_Feature return MY_TO_OBJECT_ID; } + /// attribute name of extrusion offset + inline static const std::string& TO_OFFSET_ID() + { + static const std::string MY_TO_OFFSET_ID("to_offset"); + return MY_TO_OFFSET_ID; + } + /// attribute name of tool object inline static const std::string& FROM_OBJECT_ID() { @@ -82,6 +89,13 @@ class FeaturesPlugin_Extrusion : public ModelAPI_Feature return MY_FROM_OBJECT_ID; } + /// attribute name of extrusion offset + inline static const std::string& FROM_OFFSET_ID() + { + static const std::string MY_FROM_OFFSET_ID("from_offset"); + return MY_FROM_OFFSET_ID; + } + /// Returns the kind of a feature FEATURESPLUGIN_EXPORT virtual const std::string& getKind() { @@ -99,9 +113,9 @@ class FeaturesPlugin_Extrusion : public ModelAPI_Feature FeaturesPlugin_Extrusion(); private: /// Load Naming data structure of the feature to the document - void LoadNamingDS(GeomAlgoAPI_Prism& theFeature, std::shared_ptr theResultBody, - std::shared_ptr theBasis, - std::shared_ptr theContext); + void loadNamingDS(GeomAlgoAPI_Prism& thePrismAlgo, + std::shared_ptr theResultBody, + std::shared_ptr theBasis); }; #endif