From: eap Date: Fri, 24 Feb 2012 10:50:28 +0000 (+0000) Subject: 0021208: Performance issue when loading SMESH with an hdf file containing a big mesh X-Git-Tag: V6_5_0a1~104 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=11bf8d1e4d4a48df130439e776a2e5ed2a7657f6;p=modules%2Fsmesh.git 0021208: Performance issue when loading SMESH with an hdf file containing a big mesh + bool ToForgetMeshDataOnHypModif() const { return myToForgetMeshDataOnHypModif; } --- diff --git a/src/SMESH_I/SMESH_Gen_i.hxx b/src/SMESH_I/SMESH_Gen_i.hxx index 6c93b7b20..857a9270a 100644 --- a/src/SMESH_I/SMESH_Gen_i.hxx +++ b/src/SMESH_I/SMESH_Gen_i.hxx @@ -203,6 +203,8 @@ public: CORBA::Boolean byMesh) throw ( SALOME::SALOME_Exception ); + // Preferences + // ------------ /*! * Sets number of segments per diagonal of boundary box of geometry by which * default segment length of appropriate 1D hypotheses is defined @@ -222,6 +224,12 @@ public: */ virtual char* GetOption(const char*); + /*! + * To load full mesh data from study at hyp modification or not + */ + bool ToForgetMeshDataOnHypModif() const { return myToForgetMeshDataOnHypModif; } + + // Create empty mesh on a shape SMESH::SMESH_Mesh_ptr CreateMesh( GEOM::GEOM_Object_ptr theShapeObject ) throw ( SALOME::SALOME_Exception ); @@ -577,7 +585,7 @@ private: static SALOME_NamingService* myNS; // Naming Service static SALOME_LifeCycleCORBA* myLCC; // Life Cycle CORBA static SMESH_Gen_i* mySMESHGen; // Point to last created instance of the class - ::SMESH_Gen myGen; // SMESH_Gen local implementation + ::SMESH_Gen myGen; // SMESH_Gen local implementation // hypotheses managing map myHypCreatorMap; @@ -588,6 +596,9 @@ private: SALOMEDS::Study_var myCurrentStudy; // Current study CORBA::Boolean myIsEmbeddedMode; // Current mode + // To load full mesh data from study at hyp modification or not + bool myToForgetMeshDataOnHypModif; + // Dump Python: trace of API methods calls std::map < int, Handle(TColStd_HSequenceOfAsciiString) > myPythonScripts; bool myIsHistoricalPythonDump;