Salome HOME
updated copyright message
[modules/shaper.git] / src / ModelAPI / ModelAPI_Result.h
index f242ce3d300a0acdd5fa6f358de29fd52b309a20..319b17da47d886cee743321d1991e575a3e0bf47 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2019  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2023  CEA, EDF
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
@@ -39,7 +39,7 @@ class ModelAPI_Result : public ModelAPI_Object
  public:
 
   /// Reference to the color of the result.
-  /// The integer array is used. It contains tree values for red green and blue values.
+  /// The integer array is used. It contains three values for red, green and blue values.
   /// The values are in [0, 255] range
   inline static const std::string& COLOR_ID()
   {
@@ -79,6 +79,22 @@ class ModelAPI_Result : public ModelAPI_Object
     return MY_SHOW_ISO_LINES_ID;
   }
 
+  /// Reference to the transparency of the result.
+  /// The double value is used. The value is in [0, 1] range
+  inline static const std::string& SHOW_EDGES_DIRECTION_ID()
+  {
+    static const std::string MY_SHOW_EDGES_DIRECTION_ID("Show_Edges_direction");
+    return MY_SHOW_EDGES_DIRECTION_ID;
+  }
+
+  /// Reference to the BringToFront flag of the result.
+  /// The bool value is used.
+  inline static const std::string& BRING_TO_FRONT_ID()
+  {
+    static const std::string MY_BRING_TO_FRONT_ID("Bring_To_Front");
+    return MY_BRING_TO_FRONT_ID;
+  }
+
   /// Returns true if the result is concealed from the data tree (referenced by other objects)
   MODELAPI_EXPORT virtual bool isConcealed();