Salome HOME
Update copyrights
[modules/shaper.git] / src / XGUI / XGUI_CustomPrs.h
index 80008449709ea237b00e7baf0c681561cba5c7f5..62d18d3356ec66a8188d1100a628c01b7abb3520 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2017  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2019  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
@@ -12,9 +12,9 @@
 //
 // You should have received a copy of the GNU Lesser General Public
 // License along with this library; if not, write to the Free Software
-// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 //
-// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com<mailto:webmaster.salome@opencascade.com>
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 
 #ifndef XGUI_CustomPrs_H
@@ -54,6 +54,11 @@ public:
   /// \return theDeflection a real value
   static double getResultDeflection(const ResultPtr& theResult);
 
+  /// Returns transparency of a result object
+  /// \param theResult a result object
+  /// \return theTransparency a real value
+  static double getResultTransparency(const ResultPtr& theResult);
+
   /// Returns the default object color. It obtains colorConfigInfo of the object
   /// and find it in preferences. If there are no this color in preference and an empty
   /// color is interpreted as invalid, it shows error message