Salome HOME
Delete key regression corrections: in previous implementation sketch entities did...
[modules/shaper.git] / src / SketchShapePlugin / SketchShapePlugin_Feature.h
index 6e38662a278eb9ab179bcb8c41f3c089be99b3a4..0a59da95d1fffd31f42279bbd3e22dff76720ccb 100755 (executable)
@@ -29,11 +29,11 @@ class SketchShapePlugin_Feature : public ModelAPI_Feature
     return MY_SKETCH_SHAPE_ID;
   }
 
-  /// List of vertices to be extracted
-  inline static const std::string& VERTEX_LIST_ID()
+  /// Sketch feature
+  inline static const std::string& SKETCH_ID()
   {
-    static const std::string MY_VERTEX_LIST_ID("VertexList");
-    return MY_VERTEX_LIST_ID;
+    static const std::string MY_SKETCH_ID("Sketch");
+    return MY_SKETCH_ID;
   }
 
   /// State whether the vertices are selectable
@@ -43,6 +43,41 @@ class SketchShapePlugin_Feature : public ModelAPI_Feature
     return MY_VERTEX_CHOICE_ID;
   }
 
+  /// List of vertices to be extracted
+  inline static const std::string& VERTEX_LIST_ID()
+  {
+    static const std::string MY_VERTEX_LIST_ID("VertexList");
+    return MY_VERTEX_LIST_ID;
+  }
+
+    /// State whether the vertices are selectable
+  inline static const std::string& EDGE_CHOICE_ID()
+  {
+    static const std::string MY_EDGE_CHOICE_ID("EdgeChoice");
+    return MY_EDGE_CHOICE_ID;
+  }
+
+  /// List of vertices to be extracted
+  inline static const std::string& EDGE_LIST_ID()
+  {
+    static const std::string MY_EDGE_LIST_ID("EdgeList");
+    return MY_EDGE_LIST_ID;
+  }
+
+    /// State whether the vertices are selectable
+  inline static const std::string& FACE_CHOICE_ID()
+  {
+    static const std::string MY_FACE_CHOICE_ID("FaceChoice");
+    return MY_FACE_CHOICE_ID;
+  }
+
+  /// List of vertices to be extracted
+  inline static const std::string& FACE_LIST_ID()
+  {
+    static const std::string MY_FACE_LIST_ID("FaceList");
+    return MY_FACE_LIST_ID;
+  }
+
   /// Returns the kind of a feature
   SKETCHSHAPEPLUGIN_EXPORT virtual const std::string& getKind()
   {