Salome HOME
1) 0020976: EDF 1471 SMESH: New ergonomy to display quality controls
authoreap <eap@opencascade.com>
Wed, 3 Jul 2013 16:00:19 +0000 (16:00 +0000)
committereap <eap@opencascade.com>
Wed, 3 Jul 2013 16:00:19 +0000 (16:00 +0000)
   interface SMESH_IDSource
   {
+    long_array GetNbElementsByType();

2) Compute progress bar

  interface SMESH_Mesh
  {
+    double GetComputeProgress();

idl/SMESH_Mesh.idl

index 6d77ef9ea3e447baa14bf8611961a47f8f2c179a..4796428fd1adbc97a1b16202f7e62c56f771384e 100644 (file)
@@ -129,7 +129,8 @@ module SMESH
     FACE,
     VOLUME,
     ELEM0D,
-    BALL
+    BALL,
+    NB_ELEMENT_TYPES
   };
   typedef sequence<ElementType> array_of_ElementType ;
 
@@ -284,11 +285,17 @@ module SMESH
     long_array GetIDs();
 
     /*!
-     * Returns statistic of mesh elements
-     * @return array of number enityties by index of EntityType
+     * Returns number of mesh elements of each \a EntityType
+     * @return array of number of elements per \a EntityType
      */
     long_array GetMeshInfo();
 
+    /*!
+     * Returns number of mesh elements of each \a ElementType
+     * @return array of number of elements per \a ElementType
+     */
+    long_array GetNbElementsByType();
+
     /*!
      * Returns types of elements it contains.
      * It's empty if the SMESH_IDSource contains no IDs
@@ -690,6 +697,10 @@ module SMESH
     void ExportPartToSTL( in SMESH_IDSource meshPart,
                           in string         file,
                           in boolean        isascii ) raises (SALOME::SALOME_Exception);
+    /*!
+     * Return computation progress [0.,1]
+     */
+    double GetComputeProgress();
 
     /*!
      * Get informations about mesh contents