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_Group.h
diff --git
a/src/FeaturesPlugin/FeaturesPlugin_Group.h
b/src/FeaturesPlugin/FeaturesPlugin_Group.h
index 7138c1241ca0a298c6199878f6e2b658a4ea5e4c..50f82339a359872d68b1867a1c59ed9a22c7ea83 100644
(file)
--- a/
src/FeaturesPlugin/FeaturesPlugin_Group.h
+++ b/
src/FeaturesPlugin/FeaturesPlugin_Group.h
@@
-1,3
+1,5
@@
+// Copyright (C) 2014-20xx CEA/DEN, EDF R&D -->
+
// File: FeaturesPlugin_Group.h
// Created: 08 Oct 2014
// Author: Sergey BELASH
// File: FeaturesPlugin_Group.h
// Created: 08 Oct 2014
// Author: Sergey BELASH
@@
-9,6
+11,13
@@
#include <ModelAPI_Feature.h>
#include <GeomAPI_Shape.h>
#include <ModelAPI_Feature.h>
#include <GeomAPI_Shape.h>
+/**\class FeaturesPlugin_Group
+ * \ingroup Plugins
+ * \brief Feature for selection of sub-shapes of some shapes.
+ *
+ * All selected sub-shapes must be of equal type (vertex, edge, face, etc) but may
+ * be selected on different objects.
+ */
class FeaturesPlugin_Group : public ModelAPI_Feature
{
public:
class FeaturesPlugin_Group : public ModelAPI_Feature
{
public:
@@
-18,12
+27,6
@@
class FeaturesPlugin_Group : public ModelAPI_Feature
static const std::string MY_GROUP_ID("Group");
return MY_GROUP_ID;
}
static const std::string MY_GROUP_ID("Group");
return MY_GROUP_ID;
}
- /// attribute name of group name
- //inline static const std::string& NAME_ID()
- //{
- // static const std::string MY_GROUP_NAME_ID("group_name");
- // return MY_GROUP_NAME_ID;
- //}
/// attribute name of selected entities list
inline static const std::string& LIST_ID()
{
/// attribute name of selected entities list
inline static const std::string& LIST_ID()
{
@@
-45,7
+48,7
@@
class FeaturesPlugin_Group : public ModelAPI_Feature
FEATURESPLUGIN_EXPORT virtual void initAttributes();
/// Result of groups is created on the fly and don't stored to the document
FEATURESPLUGIN_EXPORT virtual void initAttributes();
/// Result of groups is created on the fly and don't stored to the document
- FEATURESPLUGIN_EXPORT virtual bool isPersistentResult() {return
fals
e;}
+ FEATURESPLUGIN_EXPORT virtual bool isPersistentResult() {return
tru
e;}
/// Use plugin manager for features creation
FeaturesPlugin_Group();
/// Use plugin manager for features creation
FeaturesPlugin_Group();