Salome HOME
Issue #2082 Sketch multiple rotation does not work as expected: debug information
[modules/shaper.git] / src / FeaturesPlugin / FeaturesPlugin_RevolutionCut.h
index 9116a46cd981397ed342cc6e5bd65798ab2c4678..d63073c9f6e53af22639c98537a46b4883168ffc 100644 (file)
@@ -7,14 +7,18 @@
 #ifndef FeaturesPlugin_RevolutionCut_H_
 #define FeaturesPlugin_RevolutionCut_H_
 
-#include <FeaturesPlugin_RevolutionBoolean.h>
+#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