X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FXGUI%2FXGUI_CustomPrs.h;h=6a2af267c0e7d73b876b162f7aa9a22c2bb439c0;hb=4c763543675ec80cad142d3a2f8b4766ca64ac0f;hp=7b5e2e1845a516c0ef672da90419b808334d7334;hpb=7074394f8f08413d885f63be01df6bd5007b868c;p=modules%2Fshaper.git diff --git a/src/XGUI/XGUI_CustomPrs.h b/src/XGUI/XGUI_CustomPrs.h index 7b5e2e184..6a2af267c 100644 --- a/src/XGUI/XGUI_CustomPrs.h +++ b/src/XGUI/XGUI_CustomPrs.h @@ -55,6 +55,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