Salome HOME
Issue #1343: Architecture changes. Composite features now derived from extrusion...
[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 /// \brief This feature allows to create sketch, revol faces from this sketch and
15 ///        cut result from other objects in a single operation.
16 class FeaturesPlugin_RevolutionCut : public FeaturesPlugin_RevolutionBoolean
17 {
18 public:
19   /// Use plugin manager for features creation.
20   FeaturesPlugin_RevolutionCut();
21
22   /// Feature kind.
23   inline static const std::string& ID()
24   {
25     static const std::string MY_REVOLUTION_ID("RevolutionCut");
26     return MY_REVOLUTION_ID;
27   }
28
29   /// \return the kind of a feature
30   FEATURESPLUGIN_EXPORT virtual const std::string& getKind()
31   {
32     static std::string MY_KIND = FeaturesPlugin_RevolutionCut::ID();
33     return MY_KIND;
34   }
35 };
36
37 #endif