]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/ModelAPI/ModelAPI_Result.h
Salome HOME
Issue #3140: Add show/hide Isos menu item.
[modules/shaper.git] / src / ModelAPI / ModelAPI_Result.h
index a53c1e04fd8b4fdce4811494a1a6fb0bad0d96dd..f242ce3d300a0acdd5fa6f358de29fd52b309a20 100644 (file)
@@ -71,6 +71,14 @@ class ModelAPI_Result : public ModelAPI_Object
     return MY_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_ISO_LINES_ID()
+  {
+    static const std::string MY_SHOW_ISO_LINES_ID("Show_Iso_lines");
+    return MY_SHOW_ISO_LINES_ID;
+  }
+
   /// Returns true if the result is concealed from the data tree (referenced by other objects)
   MODELAPI_EXPORT virtual bool isConcealed();