From: eap Date: Fri, 24 Feb 2012 10:58:14 +0000 (+0000) Subject: 0021208: Performance issue when loading SMESH with an hdf file containing a big mesh X-Git-Tag: V6_5_0a1~98 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=19e34e530157310b64a08b54e29e58da987407a2;p=modules%2Fsmesh.git 0021208: Performance issue when loading SMESH with an hdf file containing a big mesh interface SMESH_Mesh { + boolean IsLoaded() + void Load() interface SMESH_IDSource { + boolean IsMeshInfoCorrect(); --- diff --git a/idl/SMESH_Mesh.idl b/idl/SMESH_Mesh.idl index 59f373909..a73f893d7 100644 --- a/idl/SMESH_Mesh.idl +++ b/idl/SMESH_Mesh.idl @@ -280,6 +280,12 @@ module SMESH * Returns the mesh */ SMESH_Mesh GetMesh(); + + /*! + * Returns false if GetMeshInfo() returns incorrect information that may + * happen if mesh data is not yet fully loaded from the file of study. + */ + boolean IsMeshInfoCorrect(); }; interface SMESH_Group; @@ -307,6 +313,18 @@ module SMESH GEOM::GEOM_Object GetShapeToMesh() raises (SALOME::SALOME_Exception); + /*! + * Return false if the mesh is not yet fully loaded from the study file + */ + boolean IsLoaded() + raises (SALOME::SALOME_Exception); + + /*! + * Load full mesh data from the study file + */ + void Load() + raises (SALOME::SALOME_Exception); + /*! * Remove all nodes and elements */