X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FGeomAPI%2FGeomAPI_AISObject.h;h=54c6840b2197707f2e1883c2b920ab93486c7c38;hb=f60dc9dd94d5d4b0ea07e3e3cbfd5b3028f0942d;hp=70e06b9beae47857b236e600bd9fb2e9c14f0112;hpb=423c10234142d14d0d5de89383f2f96a4ec5930f;p=modules%2Fshaper.git diff --git a/src/GeomAPI/GeomAPI_AISObject.h b/src/GeomAPI/GeomAPI_AISObject.h index 70e06b9be..54c6840b2 100644 --- a/src/GeomAPI/GeomAPI_AISObject.h +++ b/src/GeomAPI/GeomAPI_AISObject.h @@ -1,8 +1,22 @@ -// Copyright (C) 2014-20xx CEA/DEN, EDF R&D - -// File: GeomAPI_AISObject.hxx -// Created: 25 Jun 2014 -// Author: Artem ZHIDKOV +// Copyright (C) 2014-2017 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 +// License as published by the Free Software Foundation; either +// version 2.1 of the License, or (at your option) any later version. +// +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Lesser General Public License for more details. +// +// 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 +// +// See http://www.salome-platform.org/ or +// email : webmaster.salome@opencascade.com +// #ifndef GeomAPI_AISObject_H_ #define GeomAPI_AISObject_H_ @@ -134,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();