Salome HOME
Merge from BR_size_maps
[plugins/hexoticplugin.git] / idl / HexoticPlugin_Algorithm.idl
index b11968669b91e64f5072f72032927f2450932e19..cd9851e86275859ee6af8f9bcea0f95ac71a96e4 100644 (file)
 #define _SMESH_HexoticALGORITHM_IDL_
 
 #include "SMESH_Hypothesis.idl"
+#include "GEOM_Gen.idl"
 
 /*!
  * HexoticPlugin: interfaces to Hexotic related hypotheses and algorithms
  */
 module HexoticPlugin
-{    
+{
+  /*!
+   * Type definitions for the size maps
+   */
+  struct HexoticPluginSizeMap {
+  string entry;
+  double size;
+  };
+  
+  typedef sequence<HexoticPluginSizeMap> HexoticPluginSizeMapsList;  
+
   /*!
    * HexoticPlugin_Hexotic: interface of Hexotic algorithm
    */
@@ -79,6 +90,13 @@ module HexoticPlugin
 
     void SetHexoticMaxMemory(in long value);
     long GetHexoticMaxMemory();
+
+    void SetSizeMapEntry(in string entry, 
+                         in double size);
+    void SetSizeMap(in GEOM::GEOM_Object GeomObj, 
+                    in double size);
+    void ClearSizeMaps();
+    HexoticPluginSizeMapsList GetSizeMaps();
   };
 };