1) 0020976: EDF 1471 SMESH: New ergonomy to display quality controls

interface SMESH_IDSource
   {
+    long_array GetNbElementsByType();

2) Compute progress bar

  interface SMESH_Mesh
  {
+    double GetComputeProgress();
This commit is contained in:
eap 2013-07-03 16:00:19 +00:00
parent 6cd017c643
commit 29d50dfec3

View File

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