X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FOBJECT%2FSMESH_ActorUtils.h;fp=src%2FOBJECT%2FSMESH_ActorUtils.h;h=58e72e0a9dbf8aad3b7ac5ab19cffaab385b0d40;hb=ba76cf6d9630185552eed5c251b05e887c28379b;hp=f28e8d6c9ae5568fae70b246c3b4df9b1ec89c57;hpb=a1119a1c80593e7be479943fed1b638b580abaa4;p=modules%2Fsmesh.git diff --git a/src/OBJECT/SMESH_ActorUtils.h b/src/OBJECT/SMESH_ActorUtils.h index f28e8d6c9..58e72e0a9 100644 --- a/src/OBJECT/SMESH_ActorUtils.h +++ b/src/OBJECT/SMESH_ActorUtils.h @@ -23,18 +23,46 @@ #include #include +#include + class vtkUnstructuredGrid; -namespace SMESH{ +namespace SMESH +{ - float GetFloat( const QString& theValue, float theDefault = 0 ); - float GetFloat( const QString& theName, const QString& theSection, float theDefault = 0 ); + vtkFloatingPointType + GetFloat( const QString& theValue, + vtkFloatingPointType theDefault = 0 ); + + vtkFloatingPointType + GetFloat( const QString& theName, + const QString& theSection, + vtkFloatingPointType theDefault = 0 ); + + QColor + GetColor( const QString& theSect, + const QString& theName, + const QColor&t = QColor() ); + + void + GetColor( const QString& theSect, + const QString& theName, + int&, + int&, + int&, + const QColor&t = QColor() ); - QColor GetColor( const QString& theSect, const QString& theName, const QColor&t = QColor() ); - void GetColor( const QString& theSect, const QString& theName, int&, int&, int&, const QColor&t = QColor() ); - void GetColor( const QString& theSect, const QString& theName, float&, float&, float&, const QColor&t = QColor() ); + void + GetColor( const QString& theSect, + const QString& theName, + vtkFloatingPointType&, + vtkFloatingPointType&, + vtkFloatingPointType&, + const QColor&t = QColor() ); - void WriteUnstructuredGrid(vtkUnstructuredGrid* theGrid, const char* theFileName); + void + WriteUnstructuredGrid(vtkUnstructuredGrid* theGrid, + const char* theFileName); }