Salome HOME
Add a unit-test for the Fillet feature interaction with other constraints
[modules/shaper.git] / src / SketchPlugin / SketchPlugin_MultiTranslation.h
index b9d44214d7f980837841a29d2d67c69928de0600..cdf08a5a5b5eaee2631521c3469647299d73c468 100644 (file)
@@ -59,12 +59,6 @@ class SketchPlugin_MultiTranslation : public SketchPlugin_ConstraintBase
     static const std::string MY_START_POINT_ID("MultiTranslationStartPoint");
     return MY_START_POINT_ID;
   }
-  /// Start point of translation
-  inline static const std::string& START_FULL_POINT_ID()
-  {
-    static const std::string MY_START_FULL_POINT_ID("MultiTranslationFullStartPoint");
-    return MY_START_FULL_POINT_ID;
-  }
 
   /// End point of translation
   inline static const std::string& END_POINT_ID()
@@ -72,12 +66,6 @@ class SketchPlugin_MultiTranslation : public SketchPlugin_ConstraintBase
     static const std::string MY_END_POINT_ID("MultiTranslationEndPoint");
     return MY_END_POINT_ID;
   }
-  /// End point of translation
-  inline static const std::string& END_FULL_POINT_ID()
-  {
-    static const std::string MY_END_FULL_POINT_ID("MultiTranslationFullEndPoint");
-    return MY_END_FULL_POINT_ID;
-  }
 
   /// Total number of objects, initial and translated objects
   inline static const std::string& NUMBER_OF_OBJECTS_ID()
@@ -99,14 +87,15 @@ class SketchPlugin_MultiTranslation : public SketchPlugin_ConstraintBase
   /// Returns the AIS preview
   SKETCHPLUGIN_EXPORT virtual AISObjectPtr getAISObject(AISObjectPtr thePrevious);
 
+  /// removes all fields from this feature: results, data, etc
+  SKETCHPLUGIN_EXPORT virtual void erase();
+
   /// \brief Use plugin manager for features creation
   SketchPlugin_MultiTranslation();
 
 private:
   ObjectPtr copyFeature(ObjectPtr theObject);
 
-private:
-  bool myBlockValue; /// a boolean state to avoid recusive value change in attributeChanged
 };
 
 #endif