Salome HOME
Additional fix for the #2659 optimization
[modules/shaper.git] / src / Model / Model_AttributeSelectionList.h
index 289534c62e340b5a03004332e73c51e7b7846d04..7e0736fe836a496485a913a9455348321fdb1ffd 100644 (file)
@@ -57,7 +57,15 @@ public:
 
   /// Adds the new reference to the end of the list by the naming name of the selected shape
   /// The type of shape is taken from the current selection type if the given is empty
-  MODEL_EXPORT virtual void append(const std::string theNamingName, const std::string& theType="");
+  MODEL_EXPORT virtual void append(const std::string& theNamingName, const std::string& theType="");
+
+  /// Adds the new reference to the end of the list by inner point on the selected shape
+  MODEL_EXPORT virtual void append(const std::shared_ptr<GeomAPI_Pnt>& thePoint,
+                                   const std::string& theType);
+
+  /// Adds the new reference to the end of the list by weak naming index
+  MODEL_EXPORT virtual void append(const std::string& theType, const std::string& theContextName,
+                                   const int theIndex);
 
   /// Reset temporary stored values
   virtual void removeTemporaryValues();