Salome HOME
projects
/
modules
/
shaper.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix for the problem if disappeared sketch elements (on Apply) inside of sketch in...
[modules/shaper.git]
/
src
/
FeaturesPlugin
/
FeaturesPlugin_RevolutionCut.h
diff --git
a/src/FeaturesPlugin/FeaturesPlugin_RevolutionCut.h
b/src/FeaturesPlugin/FeaturesPlugin_RevolutionCut.h
index 9116a46cd981397ed342cc6e5bd65798ab2c4678..d63073c9f6e53af22639c98537a46b4883168ffc 100644
(file)
--- a/
src/FeaturesPlugin/FeaturesPlugin_RevolutionCut.h
+++ b/
src/FeaturesPlugin/FeaturesPlugin_RevolutionCut.h
@@
-7,14
+7,18
@@
#ifndef FeaturesPlugin_RevolutionCut_H_
#define FeaturesPlugin_RevolutionCut_H_
#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
{
class FeaturesPlugin_RevolutionCut : public FeaturesPlugin_RevolutionBoolean
{
- public:
+public:
+ /// Use plugin manager for features creation.
+ FeaturesPlugin_RevolutionCut();
+
/// Feature kind.
inline static const std::string& ID()
{
/// Feature kind.
inline static const std::string& ID()
{
@@
-29,11
+33,8
@@
class FeaturesPlugin_RevolutionCut : public FeaturesPlugin_RevolutionBoolean
return MY_KIND;
}
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
};
#endif