]> SALOME platform Git repositories - modules/shaper.git/blob - src/FeaturesPlugin/FeaturesPlugin_RevolutionCut.h
Salome HOME
Improvement #635: Move maximum functionality to API class
[modules/shaper.git] / src / FeaturesPlugin / FeaturesPlugin_RevolutionCut.h
1 // Copyright (C) 2014-20xx CEA/DEN, EDF R&D
2
3 // File:        FeaturesPlugin_RevolutionCut.h
4 // Created:     11 June 2015
5 // Author:      Dmitry Bobylev
6
7 #ifndef FeaturesPlugin_RevolutionCut_H_
8 #define FeaturesPlugin_RevolutionCut_H_
9
10 #include <FeaturesPlugin_RevolutionBoolean.h>
11
12 /** \class FeaturesPlugin_RevolutionCut
13  *  \ingroup Plugins
14  */
15 class FeaturesPlugin_RevolutionCut : public FeaturesPlugin_RevolutionBoolean
16 {
17  public:
18   /// Feature kind.
19   inline static const std::string& ID()
20   {
21     static const std::string MY_REVOLUTION_ID("RevolutionCut");
22     return MY_REVOLUTION_ID;
23   }
24
25   /// \return the kind of a feature
26   FEATURESPLUGIN_EXPORT virtual const std::string& getKind()
27   {
28     static std::string MY_KIND = FeaturesPlugin_RevolutionCut::ID();
29     return MY_KIND;
30   }
31
32   /// Use plugin manager for features creation.
33   FeaturesPlugin_RevolutionCut()
34   {
35     myBooleanOperationType = GeomAlgoAPI_Boolean::BOOL_CUT;
36   }
37 };
38
39 #endif