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
registerNotObligatory is not necessary if this property is set in XML.
[modules/shaper.git]
/
src
/
ModelAPI
/
ModelAPI_ResultConstruction.h
diff --git
a/src/ModelAPI/ModelAPI_ResultConstruction.h
b/src/ModelAPI/ModelAPI_ResultConstruction.h
index f24fb0d909a1ad387282367cf0b6c8b3c3df1d13..41d74975c1960e82ce44ad175510b70ed73d3db0 100644
(file)
--- a/
src/ModelAPI/ModelAPI_ResultConstruction.h
+++ b/
src/ModelAPI/ModelAPI_ResultConstruction.h
@@
-33,6
+33,13
@@
class ModelAPI_ResultConstruction : public ModelAPI_Result
return MY_GROUP;
}
return MY_GROUP;
}
+ /// default color for a result construction
+ inline static const std::string& DEFAULT_COLOR()
+ {
+ static const std::string RESULT_CONSTRUCTION_COLOR("120,120,120");
+ return RESULT_CONSTRUCTION_COLOR;
+ }
+
/// Sets the result
virtual void setShape(std::shared_ptr<GeomAPI_Shape> theShape) = 0;
/// Sets the result
virtual void setShape(std::shared_ptr<GeomAPI_Shape> theShape) = 0;