X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FFeaturesPlugin%2FFeaturesPlugin_Revolution.h;h=2ebbf84a3d67b4402834403e585817ee3ac93599;hb=8f060aedd5949990421a96e3b4086f43efa13d24;hp=f31e4c917e0640e7a1287bd5ec73a40ab1362221;hpb=87b74a6fd4660ebfa71a40f0be84e44535f84798;p=modules%2Fshaper.git diff --git a/src/FeaturesPlugin/FeaturesPlugin_Revolution.h b/src/FeaturesPlugin/FeaturesPlugin_Revolution.h index f31e4c917..2ebbf84a3 100644 --- a/src/FeaturesPlugin/FeaturesPlugin_Revolution.h +++ b/src/FeaturesPlugin/FeaturesPlugin_Revolution.h @@ -35,6 +35,20 @@ public: return MY_CREATION_METHOD_ID; } + /// Attribute name for creation method. + inline static const std::string& CREATION_METHOD_BY_ANGLES() + { + static const std::string MY_CREATION_METHOD_ID("ByAngles"); + return MY_CREATION_METHOD_ID; + } + + /// Attribute name for creation method. + inline static const std::string& CREATION_METHOD_BY_PLANES() + { + static const std::string MY_CREATION_METHOD_ID("ByPlanesAndOffsets"); + return MY_CREATION_METHOD_ID; + } + /// Attribute name of an revolution axis. inline static const std::string& AXIS_OBJECT_ID() {