From 19e34e530157310b64a08b54e29e58da987407a2 Mon Sep 17 00:00:00 2001 From: eap Date: Fri, 24 Feb 2012 10:58:14 +0000 Subject: [PATCH] 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(); --- idl/SMESH_Mesh.idl | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) 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 */ -- 2.39.2