X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FFeaturesPlugin%2FFeaturesPlugin_RevolutionCut.h;h=d63073c9f6e53af22639c98537a46b4883168ffc;hb=658fccce59f75b0cfa7c3f3d45f1ffb295ed24be;hp=9116a46cd981397ed342cc6e5bd65798ab2c4678;hpb=7ae8f08629e5f99575f3cec07a8b701dd9209591;p=modules%2Fshaper.git diff --git a/src/FeaturesPlugin/FeaturesPlugin_RevolutionCut.h b/src/FeaturesPlugin/FeaturesPlugin_RevolutionCut.h index 9116a46cd..d63073c9f 100644 --- a/src/FeaturesPlugin/FeaturesPlugin_RevolutionCut.h +++ b/src/FeaturesPlugin/FeaturesPlugin_RevolutionCut.h @@ -7,14 +7,18 @@ #ifndef FeaturesPlugin_RevolutionCut_H_ #define FeaturesPlugin_RevolutionCut_H_ -#include +#include "FeaturesPlugin_RevolutionBoolean.h" -/** \class FeaturesPlugin_RevolutionCut - * \ingroup Plugins - */ +/// \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() { @@ -29,11 +33,8 @@ class FeaturesPlugin_RevolutionCut : public FeaturesPlugin_RevolutionBoolean return MY_KIND; } - /// Use plugin manager for features creation. - FeaturesPlugin_RevolutionCut() - { - myBooleanOperationType = GeomAlgoAPI_Boolean::BOOL_CUT; - } + /// Creates a new part document if needed. + FEATURESPLUGIN_EXPORT virtual void execute(); }; #endif