X-Git-Url: http://git.salome-platform.org/gitweb/?p=modules%2Fsmesh.git;a=blobdiff_plain;f=src%2FOBJECT%2FSMESH_ActorUtils.h;h=9a6200906f35e60d75ca19b8aacefa132d4cbde2;hp=5d02aaa88e832f164844cac0bfd9f9bf6c906069;hb=373c03904b8e3fc5490ff4e17716f0cdcb39c03c;hpb=6665afd414e242331517f0e0c80b0896371facfb diff --git a/src/OBJECT/SMESH_ActorUtils.h b/src/OBJECT/SMESH_ActorUtils.h index 5d02aaa88..9a6200906 100644 --- a/src/OBJECT/SMESH_ActorUtils.h +++ b/src/OBJECT/SMESH_ActorUtils.h @@ -1,4 +1,4 @@ -// Copyright (C) 2007-2011 CEA/DEN, EDF R&D, OPEN CASCADE +// Copyright (C) 2007-2012 CEA/DEN, EDF R&D, OPEN CASCADE // // Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS @@ -33,16 +33,23 @@ class SMESH_Actor; namespace SMESH { + //! Label font family + enum LabelFont { + FntArial, //!< arial font family + FntCourier, //!< courier font family + FntTimes, //!< times font family + }; + SMESHOBJECT_EXPORT - vtkFloatingPointType + double GetFloat( const QString& theValue, - vtkFloatingPointType theDefault = 0 ); + double theDefault = 0 ); SMESHOBJECT_EXPORT - vtkFloatingPointType + double GetFloat( const QString& theName, const QString& theSection, - vtkFloatingPointType theDefault = 0 ); + double theDefault = 0 ); SMESHOBJECT_EXPORT QColor @@ -63,18 +70,18 @@ SMESHOBJECT_EXPORT void GetColor( const QString& theSect, const QString& theName, - vtkFloatingPointType&, - vtkFloatingPointType&, - vtkFloatingPointType&, + double&, + double&, + double&, const QColor& = QColor() ); SMESHOBJECT_EXPORT void GetColor( const QString& theSect, - const QString& theName, - QColor& color, - int& delta, - QString def); + const QString& theName, + QColor& color, + int& delta, + QString def); SMESHOBJECT_EXPORT std::map