X-Git-Url: http://git.salome-platform.org/gitweb/?p=modules%2Fsmesh.git;a=blobdiff_plain;f=src%2FOBJECT%2FSMESH_ActorUtils.h;h=f28e8d6c9ae5568fae70b246c3b4df9b1ec89c57;hp=4595495244e191733922426f2207bca901fc7208;hb=2387bfa403855b82751bf9f122295b1fc6923a18;hpb=e4737e85f0da6d3f90fd08f6be1c2825195fe16f diff --git a/src/OBJECT/SMESH_ActorUtils.h b/src/OBJECT/SMESH_ActorUtils.h index 459549524..f28e8d6c9 100644 --- a/src/OBJECT/SMESH_ActorUtils.h +++ b/src/OBJECT/SMESH_ActorUtils.h @@ -20,12 +20,22 @@ #ifndef SMESH_ACTORUTILS_H #define SMESH_ACTORUTILS_H +#include #include +class vtkUnstructuredGrid; namespace SMESH{ - float GetFloat(const QString& theValue, float theDefault = 0); -} + + float GetFloat( const QString& theValue, float theDefault = 0 ); + float GetFloat( const QString& theName, const QString& theSection, float 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() ); + void GetColor( const QString& theSect, const QString& theName, float&, float&, float&, const QColor&t = QColor() ); + void WriteUnstructuredGrid(vtkUnstructuredGrid* theGrid, const char* theFileName); + +} #endif