X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FGeomAPI%2FGeomAPI_AISObject.h;h=54c6840b2197707f2e1883c2b920ab93486c7c38;hb=f60dc9dd94d5d4b0ea07e3e3cbfd5b3028f0942d;hp=d7675c133f3c7f26d7961b96ebb2ab25ab5e9053;hpb=2532fb2df83ee1ddd9ff3e8b381d3788eaa15b69;p=modules%2Fshaper.git diff --git a/src/GeomAPI/GeomAPI_AISObject.h b/src/GeomAPI/GeomAPI_AISObject.h index d7675c133..54c6840b2 100644 --- a/src/GeomAPI/GeomAPI_AISObject.h +++ b/src/GeomAPI/GeomAPI_AISObject.h @@ -14,7 +14,8 @@ // License along with this library; if not, write to the Free Software // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA // -// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com +// See http://www.salome-platform.org/ or +// email : webmaster.salome@opencascade.com // #ifndef GeomAPI_AISObject_H_ @@ -147,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();