]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
0021208: Performance issue when loading SMESH with an hdf file containing a big mesh
authoreap <eap@opencascade.com>
Fri, 24 Feb 2012 10:49:36 +0000 (10:49 +0000)
committereap <eap@opencascade.com>
Fri, 24 Feb 2012 10:49:36 +0000 (10:49 +0000)
+  virtual bool IsMeshInfoCorrect();

src/SMESH_I/SMESH_Filter_i.hxx
src/SMESH_I/SMESH_MeshEditor_i.cxx

index ca041a7a740cccd394029de13f366a4ff66d9270..2930f941db0fa280404b924d4b69b979ada909aa 100644 (file)
@@ -973,6 +973,7 @@ namespace SMESH
     virtual SMESH::long_array*           GetMeshInfo();
     virtual SMESH::array_of_ElementType* GetTypes();
     virtual SMESH::SMESH_Mesh_ptr        GetMesh();
+    virtual bool                         IsMeshInfoCorrect() { return true; }
 
     /*!
      * \brief Object notified on change of predicate
index 4c1ff5c3b3ebb22a64a3269ade51a9afaefbaf58..65a6eff039a2af333e9f5dab99e3253e82742cb2 100644 (file)
@@ -434,6 +434,7 @@ struct _IDSource : public POA_SMESH::SMESH_IDSource
   SMESH::long_array* GetIDs()      { return new SMESH::long_array( _ids ); }
   SMESH::long_array* GetMeshInfo() { return 0; }
   SMESH::SMESH_Mesh_ptr GetMesh()  { return SMESH::SMESH_Mesh::_duplicate( _mesh ); }
+  bool IsMeshInfoCorrect()         { return true; }
   SMESH::array_of_ElementType* GetTypes()
   {
     SMESH::array_of_ElementType_var types = new SMESH::array_of_ElementType;