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();
This commit is contained in:
eap 2012-02-24 10:58:14 +00:00
parent 481ff62932
commit 19e34e5301

View File

@ -280,6 +280,12 @@ module SMESH
* Returns the mesh * Returns the mesh
*/ */
SMESH_Mesh GetMesh(); 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; interface SMESH_Group;
@ -307,6 +313,18 @@ module SMESH
GEOM::GEOM_Object GetShapeToMesh() GEOM::GEOM_Object GetShapeToMesh()
raises (SALOME::SALOME_Exception); 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 * Remove all nodes and elements
*/ */