Salome HOME
Fix compilation problems under windows.
[modules/smesh.git] / src / OBJECT / SMESH_ActorUtils.h
index ce189fbe8dcb88a6304e514733ced33702a8294d..4167e5ae1e27077bd161353668ccf07e034fd7c0 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2007-2012  CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-2021  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
 //
 // Copyright (C) 2003-2007  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
 // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
@@ -6,7 +6,7 @@
 // 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
 // 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.
+// 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
 //
 // This library is distributed in the hope that it will be useful,
 // but WITHOUT ANY WARRANTY; without even the implied warranty of
@@ -37,19 +37,19 @@ namespace SMESH
   enum LabelFont { 
     FntArial,    //!< arial font family
     FntCourier,  //!< courier font family
   enum LabelFont { 
     FntArial,    //!< arial font family
     FntCourier,  //!< courier font family
-    FntTimes,    //!< times font family
+    FntTimes     //!< times font family
   };
 
 SMESHOBJECT_EXPORT  
   };
 
 SMESHOBJECT_EXPORT  
-  vtkFloatingPointTyp
+  doubl
   GetFloat( const QString& theValue, 
   GetFloat( const QString& theValue, 
-            vtkFloatingPointType theDefault = 0 );
+            double theDefault = 0 );
 
 SMESHOBJECT_EXPORT
 
 SMESHOBJECT_EXPORT
-  vtkFloatingPointTyp
+  doubl
   GetFloat( const QString& theName, 
             const QString& theSection, 
   GetFloat( const QString& theName, 
             const QString& theSection, 
-            vtkFloatingPointType theDefault = 0 );
+            double theDefault = 0 );
 
 SMESHOBJECT_EXPORT
   QColor 
 
 SMESHOBJECT_EXPORT
   QColor 
@@ -70,9 +70,9 @@ SMESHOBJECT_EXPORT
   void
   GetColor( const QString& theSect, 
             const QString& theName, 
   void
   GetColor( const QString& theSect, 
             const QString& theName, 
-            vtkFloatingPointType&, 
-            vtkFloatingPointType&, 
-            vtkFloatingPointType&, 
+            double&, 
+            double&, 
+            double&, 
             const QColor& = QColor() );
 
  SMESHOBJECT_EXPORT
             const QColor& = QColor() );
 
  SMESHOBJECT_EXPORT
@@ -84,7 +84,7 @@ SMESHOBJECT_EXPORT
               QString def);
    
  SMESHOBJECT_EXPORT
               QString def);
    
  SMESHOBJECT_EXPORT
-   std::map<SMDSAbs_ElementType,int>
+   std::map<SMDSAbs_ElementType,::smIdType>
    GetEntitiesFromObject(SMESH_VisualObj *theObject);
    
 SMESHOBJECT_EXPORT
    GetEntitiesFromObject(SMESH_VisualObj *theObject);
    
 SMESHOBJECT_EXPORT