X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FGeomAPI%2FGeomAPI_AISObject.h;h=54c6840b2197707f2e1883c2b920ab93486c7c38;hb=f60dc9dd94d5d4b0ea07e3e3cbfd5b3028f0942d;hp=5a4cd78e98bc30304d48eab3c85c828d5a4572d9;hpb=7074394f8f08413d885f63be01df6bd5007b868c;p=modules%2Fshaper.git diff --git a/src/GeomAPI/GeomAPI_AISObject.h b/src/GeomAPI/GeomAPI_AISObject.h index 5a4cd78e9..54c6840b2 100644 --- a/src/GeomAPI/GeomAPI_AISObject.h +++ b/src/GeomAPI/GeomAPI_AISObject.h @@ -148,6 +148,18 @@ class GeomAPI_AISObject : public GeomAPI_Interface GEOMAPI_EXPORT double getDeflection() const; + /** \brief Assigns the transparency to the shape + * \param[in] theTransparency value of transparency + */ + GEOMAPI_EXPORT + bool setTransparency(const double theTransparency); + + /** \brief Returns deflection for the shape + * \return double value + */ + GEOMAPI_EXPORT + double getTransparency() const; + /// \return Current width of the lines of shape GEOMAPI_EXPORT double width();