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
Angle presentation from NewGEOM_2.0.0. It is moved here to prepare a patch for OCCT...
[modules/shaper.git]
/
src
/
ModelAPI
/
ModelAPI_ResultGroup.h
diff --git
a/src/ModelAPI/ModelAPI_ResultGroup.h
b/src/ModelAPI/ModelAPI_ResultGroup.h
index 8e55134ef7feb0e34f7ea9612d7fe495d2938624..8e2ac8adabcc20489a236b1f5a894ca347eefee6 100644
(file)
--- a/
src/ModelAPI/ModelAPI_ResultGroup.h
+++ b/
src/ModelAPI/ModelAPI_ResultGroup.h
@@
-21,19
+21,24
@@
class ModelAPI_ResultGroup : public ModelAPI_Result
{
public:
class ModelAPI_ResultGroup : public ModelAPI_Result
{
public:
+ MODELAPI_EXPORT virtual ~ModelAPI_ResultGroup();
/// Returns the group identifier of this result
/// Returns the group identifier of this result
- virtual std::string groupName()
- {
- return group();
- }
+ MODELAPI_EXPORT virtual std::string groupName();
/// Returns the group identifier of this result
/// Returns the group identifier of this result
- static std::string group()
+
inline
static std::string group()
{
static std::string MY_GROUP = "Groups";
return MY_GROUP;
}
{
static std::string MY_GROUP = "Groups";
return MY_GROUP;
}
+ /// default color for a result body
+ inline static const std::string& DEFAULT_COLOR()
+ {
+ static const std::string RESULT_GROUP_COLOR("150,150,180");
+ return RESULT_GROUP_COLOR;
+ }
+
};
//! Pointer on feature object
};
//! Pointer on feature object