X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FFeaturesPlugin%2FFeaturesPlugin_RevolutionFuse.h;h=32fc8a6ec75be98141aed0502bfcb8e9a8119ed3;hb=32dfd57e82f818f4e3e36c276d78a30bbc2d9f7d;hp=f7e93977348bff3830f2b0e62d4d3b683666b6ed;hpb=7ae8f08629e5f99575f3cec07a8b701dd9209591;p=modules%2Fshaper.git diff --git a/src/FeaturesPlugin/FeaturesPlugin_RevolutionFuse.h b/src/FeaturesPlugin/FeaturesPlugin_RevolutionFuse.h index f7e939773..32fc8a6ec 100644 --- a/src/FeaturesPlugin/FeaturesPlugin_RevolutionFuse.h +++ b/src/FeaturesPlugin/FeaturesPlugin_RevolutionFuse.h @@ -7,15 +7,19 @@ #ifndef FeaturesPlugin_RevolutionFuse_H_ #define FeaturesPlugin_RevolutionFuse_H_ -#include +#include "FeaturesPlugin_RevolutionBoolean.h" -/** \class FeaturesPlugin_RevolutionFuse - * \ingroup Plugins - */ +/// \class FeaturesPlugin_RevolutionFuse +/// \ingroup Plugins +/// \brief This feature allows to create sketch, revol faces from this sketch and +/// fuse result with other objects in a single operation. class FeaturesPlugin_RevolutionFuse : public FeaturesPlugin_RevolutionBoolean { public: - /// Feature kind. + /// Use plugin manager for features creation. + FeaturesPlugin_RevolutionFuse(); + + /// Feature kind. inline static const std::string& ID() { static const std::string MY_REVOLUTION_ID("RevolutionFuse"); @@ -29,11 +33,8 @@ class FeaturesPlugin_RevolutionFuse : public FeaturesPlugin_RevolutionBoolean return MY_KIND; } - /// Use plugin manager for features creation. - FeaturesPlugin_RevolutionFuse() - { - myBooleanOperationType = GeomAlgoAPI_Boolean::BOOL_FUSE; - } + /// Creates a new part document if needed. + FEATURESPLUGIN_EXPORT virtual void execute(); }; #endif