Salome HOME
Update the management of the updates: use transactions ID to detect correctly depende...
[modules/shaper.git] / src / FeaturesPlugin / FeaturesPlugin_Revolution.h
index 160cc890cdde64c1f54e6b47bd4eb1c7e424b49c..57150bdf73a3d3060467c76cb38f44b73321fc65 100644 (file)
@@ -46,6 +46,13 @@ class FeaturesPlugin_Revolution : public ModelAPI_Feature
     return MY_AXIS_ID;
   }
 
+  /// attribute name for creation method
+  inline static const std::string& CREATION_METHOD()
+  {
+    static const std::string METHOD_ATTR("CreationMethod");
+    return METHOD_ATTR;
+  }
+
   /// Attribute name of revolution angle.
   inline static const std::string& TO_ANGLE_ID()
   {
@@ -67,6 +74,13 @@ class FeaturesPlugin_Revolution : 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()
   {
@@ -74,6 +88,13 @@ class FeaturesPlugin_Revolution : 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;
+  }
+
   /// \return the kind of a feature.
   FEATURESPLUGIN_EXPORT virtual const std::string& getKind()
   {