X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FSketchPlugin%2FSketchPlugin_MultiTranslation.h;h=7a3a78bc8b13ce7f94fe6e865c4c6c1822fd1150;hb=c7a5ff20294ae8270bfb9120b8887f0c9959d658;hp=967c60d186e0b951abb4aeae8d0495a2fc0b3472;hpb=aa7989f7a1aff79777404200842d8bc905ee8a45;p=modules%2Fshaper.git diff --git a/src/SketchPlugin/SketchPlugin_MultiTranslation.h b/src/SketchPlugin/SketchPlugin_MultiTranslation.h index 967c60d18..7a3a78bc8 100644 --- a/src/SketchPlugin/SketchPlugin_MultiTranslation.h +++ b/src/SketchPlugin/SketchPlugin_MultiTranslation.h @@ -46,18 +46,27 @@ class SketchPlugin_MultiTranslation : public SketchPlugin_ConstraintBase return MY_TRANSLATION_LIST_ID; } + /// attribute name for first point + inline static const std::string& VALUE_TYPE() + { + static const std::string VALUE_TYPE_ATTR("ValueType"); + return VALUE_TYPE_ATTR; + } + /// Start point of translation inline static const std::string& START_POINT_ID() { static const std::string MY_START_POINT_ID("MultiTranslationStartPoint"); return MY_START_POINT_ID; } + /// End point of translation inline static const std::string& END_POINT_ID() { static const std::string MY_END_POINT_ID("MultiTranslationEndPoint"); return MY_END_POINT_ID; } + /// Total number of objects, initial and translated objects inline static const std::string& NUMBER_OF_OBJECTS_ID() { @@ -83,6 +92,7 @@ class SketchPlugin_MultiTranslation : public SketchPlugin_ConstraintBase private: ObjectPtr copyFeature(ObjectPtr theObject); + }; #endif