X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FFeaturesPlugin%2FFeaturesPlugin_RevolutionBoolean.h;h=3e8576aad1484019b304eea28ff92e5ef9781b82;hb=57ca5f04d759387755c59382cf085f6c1c782c07;hp=354f5badce048f6c30915df19c872104ac133be9;hpb=7e53ef4d34d299d8f78e72795b0178238ded5874;p=modules%2Fshaper.git diff --git a/src/FeaturesPlugin/FeaturesPlugin_RevolutionBoolean.h b/src/FeaturesPlugin/FeaturesPlugin_RevolutionBoolean.h index 354f5badc..3e8576aad 100644 --- a/src/FeaturesPlugin/FeaturesPlugin_RevolutionBoolean.h +++ b/src/FeaturesPlugin/FeaturesPlugin_RevolutionBoolean.h @@ -29,11 +29,11 @@ public: return METHOD_ATTR; } - /// Attribute name of an object from which the revolution grows. - inline static const std::string& FROM_OBJECT_ID() + /// Attribute name of revolution to angle. + inline static const std::string& TO_ANGLE_ID() { - static const std::string MY_FROM_OBJECT_ID("from_object"); - return MY_FROM_OBJECT_ID; + static const std::string MY_TO_ANGLE_ID("to_angle"); + return MY_TO_ANGLE_ID; } /// Attribute name of revolution from angle. @@ -42,19 +42,33 @@ public: static const std::string MY_FROM_ANGLE_ID("from_angle"); return MY_FROM_ANGLE_ID; } - - /// attribute name of an object to which the revolution grows. + + /// Attribute name of an object to which the revolution grows. inline static const std::string& TO_OBJECT_ID() { static const std::string MY_TO_OBJECT_ID("to_object"); return MY_TO_OBJECT_ID; } - /// Attribute name of revolution to angle. - inline static const std::string& TO_ANGLE_ID() + /// Attribute name of extrusion offset. + inline static const std::string& TO_OFFSET_ID() { - static const std::string MY_TO_ANGLE_ID("to_angle"); - return MY_TO_ANGLE_ID; + static const std::string MY_TO_OFFSET_ID("to_offset"); + return MY_TO_OFFSET_ID; + } + + /// Attribute name of an object from which the revolution grows. + inline static const std::string& FROM_OBJECT_ID() + { + static const std::string MY_FROM_OBJECT_ID("from_object"); + return MY_FROM_OBJECT_ID; + } + + /// Attribute name of extrusion offset. + inline static const std::string& FROM_OFFSET_ID() + { + static const std::string MY_FROM_OFFSET_ID("from_offset"); + return MY_FROM_OFFSET_ID; } protected: