Salome HOME
Issue #3140: Modify Iso-lines of a shape presentation
[modules/shaper.git] / src / ModelAPI / ModelAPI_Result.h
index 81709e749e22f35a65e570547bae02b8aeb16a87..a53c1e04fd8b4fdce4811494a1a6fb0bad0d96dd 100644 (file)
@@ -63,6 +63,14 @@ class ModelAPI_Result : public ModelAPI_Object
     return MY_TRANSPARENCY_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& ISO_LINES_ID()
+  {
+    static const std::string MY_ISO_LINES_ID("Iso_lines");
+    return MY_ISO_LINES_ID;
+  }
+
   /// Returns true if the result is concealed from the data tree (referenced by other objects)
   MODELAPI_EXPORT virtual bool isConcealed();