Salome HOME
Change color for construction/body/group.
[modules/shaper.git] / src / Model / Model_ResultGroup.h
index 33b4351c9ac3e59bd7527528d6b8d5a0d6490272..33c0e17a74ba47245741359e4e8c9d50653826c7 100644 (file)
@@ -20,6 +20,15 @@ class Model_ResultGroup : public ModelAPI_ResultGroup
 {
   std::shared_ptr<ModelAPI_Data> myOwnerData;  ///< data of owner of this result
 public:
+  /// default color for a result body
+  inline static const std::string& DEFAULT_COLOR()
+  {
+    static const std::string RESULT_GROUP_COLOR("#E0A01B");
+    return RESULT_GROUP_COLOR;
+  }
+  /// Request for initialization of data model of the result: adding all attributes
+  virtual void initAttributes();
+
   /// Returns the compound of selected entities
   MODEL_EXPORT virtual std::shared_ptr<GeomAPI_Shape> shape();