Salome HOME
Merge branch 'Dev_1.4.0' of newgeom:newgeom into Dev_1.4.0
[modules/shaper.git] / src / FeaturesPlugin / FeaturesPlugin_RevolutionFuse.h
1 // Copyright (C) 2014-20xx CEA/DEN, EDF R&D
2
3 // File:        FeaturesPlugin_RevolutionFuse.h
4 // Created:     11 June 2015
5 // Author:      Dmitry Bobylev
6
7 #ifndef FeaturesPlugin_RevolutionFuse_H_
8 #define FeaturesPlugin_RevolutionFuse_H_
9
10 #include <FeaturesPlugin_RevolutionBoolean.h>
11
12 /** \class FeaturesPlugin_RevolutionFuse
13  *  \ingroup Plugins
14  *  \brief This feature allows to create sketch, revol faces from this sketch and
15  *         fuse result with other objects in a single operation.
16  */
17 class FeaturesPlugin_RevolutionFuse : public FeaturesPlugin_RevolutionBoolean
18 {
19  public:
20   /// Feature kind.
21   inline static const std::string& ID()
22   {
23     static const std::string MY_REVOLUTION_ID("RevolutionFuse");
24     return MY_REVOLUTION_ID;
25   }
26
27   /// \return the kind of a feature
28   FEATURESPLUGIN_EXPORT virtual const std::string& getKind()
29   {
30     static std::string MY_KIND = FeaturesPlugin_RevolutionFuse::ID();
31     return MY_KIND;
32   }
33
34   /// Use plugin manager for features creation.
35   FeaturesPlugin_RevolutionFuse();
36 };
37
38 #endif