]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/FeaturesPlugin/FeaturesPlugin_Pipe.h
Salome HOME
Meet the coding style (line length <= 100)
[modules/shaper.git] / src / FeaturesPlugin / FeaturesPlugin_Pipe.h
index 6682f230c19f9394ce7c779bae346502185f88d9..9d79324662b5d34f9a479c1c41a3b15d5fb66835 100644 (file)
@@ -17,7 +17,8 @@
 /// \class FeaturesPlugin_Pipe
 /// \ingroup Plugins
 /// \brief Feature for creation of extrusion along a path.
-/// Pipe creates extrusion of objects along a path. It produces the following results from objects:\n
+/// Pipe creates extrusion of objects along a path.
+/// It produces the following results from objects:\n
 /// Vertex -> Edge\n
 /// Edge -> Face\n
 /// Wire -> Shell\n
@@ -39,6 +40,27 @@ public:
     return MY_CREATION_METHOD;
   }
 
+  /// Attribute name for creation method.
+  inline static const std::string& CREATION_METHOD_SIMPLE()
+  {
+    static const std::string MY_CREATION_METHOD("simple");
+    return MY_CREATION_METHOD;
+  }
+
+  /// Attribute name for creation method.
+  inline static const std::string& CREATION_METHOD_BINORMAL()
+  {
+    static const std::string MY_CREATION_METHOD("binormal");
+    return MY_CREATION_METHOD;
+  }
+
+  /// Attribute name for creation method.
+  inline static const std::string& CREATION_METHOD_LOCATIONS()
+  {
+    static const std::string MY_CREATION_METHOD("locations");
+    return MY_CREATION_METHOD;
+  }
+
   /// Attribute name of base objects.
   inline static const std::string& BASE_OBJECTS_ID()
   {