]> SALOME platform Git repositories - modules/smesh.git/blobdiff - src/OBJECT/SMESH_ActorUtils.h
Salome HOME
PR: synchro V6_main tag mergeto_V7_main_11Feb13
[modules/smesh.git] / src / OBJECT / SMESH_ActorUtils.h
index e98d0f5deeb3bc1eebe6a82a5107705813c1c768..ce189fbe8dcb88a6304e514733ced33702a8294d 100644 (file)
@@ -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
@@ -24,6 +24,7 @@
 #define SMESH_ACTORUTILS_H
 
 #include "SMESH_Object.h"
+#include <map>
 
 #include <QColor>
 
@@ -32,6 +33,13 @@ 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 
   GetFloat( const QString& theValue, 
@@ -70,10 +78,14 @@ SMESHOBJECT_EXPORT
  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<SMDSAbs_ElementType,int>
+   GetEntitiesFromObject(SMESH_VisualObj *theObject);
    
 SMESHOBJECT_EXPORT
   void