X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FFeaturesPlugin%2FFeaturesPlugin_RevolutionCut.h;h=d63073c9f6e53af22639c98537a46b4883168ffc;hb=21a0c85b52bb93f94680e2342370764e6510e387;hp=3c1340262ba1a953287a3c004394cbad385cccef;hpb=de65be6c9f19bdf26ecb91fd3afd51c4d54e8d4a;p=modules%2Fshaper.git diff --git a/src/FeaturesPlugin/FeaturesPlugin_RevolutionCut.h b/src/FeaturesPlugin/FeaturesPlugin_RevolutionCut.h index 3c1340262..d63073c9f 100644 --- a/src/FeaturesPlugin/FeaturesPlugin_RevolutionCut.h +++ b/src/FeaturesPlugin/FeaturesPlugin_RevolutionCut.h @@ -7,16 +7,18 @@ #ifndef FeaturesPlugin_RevolutionCut_H_ #define FeaturesPlugin_RevolutionCut_H_ -#include +#include "FeaturesPlugin_RevolutionBoolean.h" -/** \class FeaturesPlugin_RevolutionCut - * \ingroup Plugins - * \brief This feature allows to create sketch, revol faces from this sketch and - * cut result from other objects in a single operation. - */ +/// \class FeaturesPlugin_RevolutionCut +/// \ingroup Plugins +/// \brief This feature allows to create sketch, revol faces from this sketch and +/// cut result from other objects in a single operation. class FeaturesPlugin_RevolutionCut : public FeaturesPlugin_RevolutionBoolean { - public: +public: + /// Use plugin manager for features creation. + FeaturesPlugin_RevolutionCut(); + /// Feature kind. inline static const std::string& ID() { @@ -31,8 +33,8 @@ class FeaturesPlugin_RevolutionCut : public FeaturesPlugin_RevolutionBoolean return MY_KIND; } - /// Use plugin manager for features creation. - FeaturesPlugin_RevolutionCut(); + /// Creates a new part document if needed. + FEATURESPLUGIN_EXPORT virtual void execute(); }; #endif