Salome HOME
Construction of vertices/edges/faces on the base of sketch: clear list attribute...
[modules/shaper.git] / src / SketchShapePlugin / SketchShapePlugin_Feature.h
index 9ed0150d471e60a1b0e15827426b40a136fa6cff..0a59da95d1fffd31f42279bbd3e22dff76720ccb 100755 (executable)
@@ -36,6 +36,13 @@ class SketchShapePlugin_Feature : public ModelAPI_Feature
     return MY_SKETCH_ID;
   }
 
+  /// State whether the vertices are selectable
+  inline static const std::string& VERTEX_CHOICE_ID()
+  {
+    static const std::string MY_VERTEX_CHOICE_ID("VertexChoice");
+    return MY_VERTEX_CHOICE_ID;
+  }
+
   /// List of vertices to be extracted
   inline static const std::string& VERTEX_LIST_ID()
   {
@@ -43,11 +50,32 @@ class SketchShapePlugin_Feature : public ModelAPI_Feature
     return MY_VERTEX_LIST_ID;
   }
 
-  /// State whether the vertices are selectable
-  inline static const std::string& VERTEX_CHOICE_ID()
+    /// State whether the vertices are selectable
+  inline static const std::string& EDGE_CHOICE_ID()
   {
-    static const std::string MY_VERTEX_CHOICE_ID("VertexChoice");
-    return MY_VERTEX_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