X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FSMESH_I%2FSMESH_Mesh_i.hxx;h=fe867784ad9737468c878ed6d66dfaac3da73d9f;hb=HEAD;hp=8a50d12262c0fe3ab58ee23a96400e364037e576;hpb=5123821d4d502b36f36307b003e09ccf21ff11d8;p=modules%2Fsmesh.git diff --git a/src/SMESH_I/SMESH_Mesh_i.hxx b/src/SMESH_I/SMESH_Mesh_i.hxx index 8a50d1226..a7cb38fab 100644 --- a/src/SMESH_I/SMESH_Mesh_i.hxx +++ b/src/SMESH_I/SMESH_Mesh_i.hxx @@ -1,4 +1,4 @@ -// Copyright (C) 2007-2022 CEA/DEN, EDF R&D, OPEN CASCADE +// Copyright (C) 2007-2024 CEA, EDF, OPEN CASCADE // // Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS @@ -218,6 +218,11 @@ public: void ExportDAT( const char* file, const CORBA::Boolean renumber ); void ExportUNV( const char* file, const CORBA::Boolean renumber ); void ExportSTL( const char* file, bool isascii ); + + void ExportStructuredCGNS(SMESH::SMESH_IDSource_ptr meshPart, + const char* file, + CORBA::Boolean overwrite); + void ExportCGNS(SMESH::SMESH_IDSource_ptr meshPart, const char* file, CORBA::Boolean overwrite, @@ -226,7 +231,7 @@ public: const char* file, CORBA::Boolean withRequiredGroups); - + template void ExportPartToMEDCommon(SPECLS& speCls, SMESH::SMESH_IDSource_ptr meshPart, @@ -248,6 +253,10 @@ public: CORBA::Double ZTolerance, CORBA::Boolean saveNumbers ); + void ExportPartToMESHIO(SMESH::SMESH_IDSource_ptr meshPart, + const char* file, + const char* selectedFilter); + CORBA::LongLong ExportPartToMEDCoupling(SMESH::SMESH_IDSource_ptr meshPart, CORBA::Boolean auto_groups, CORBA::Boolean autoDim, @@ -264,7 +273,7 @@ public: CORBA::Boolean renumber); void ExportPartToSTL(SMESH::SMESH_IDSource_ptr meshPart, const char* file, - CORBA::Boolean isascii); + CORBA::Boolean isascii); CORBA::Double GetComputeProgress(); @@ -424,15 +433,15 @@ public: */ void CreateGroupServants(); - /*! - * \brief Return true if all sub-meshes are computed OK - to update an icon - */ - bool IsComputedOK(); // ==================================== // SMESH_Mesh interface (continuation) // ==================================== + /*! + * \brief Return true if all sub-meshes are computed OK - to update an icon + */ + CORBA::Boolean IsComputedOK(); /*! * \brief Return groups cantained in _mapGroups by their IDs @@ -571,7 +580,7 @@ public: * Persistence of geometry tick */ int& MainShapeTick() { return _mainShapeTick; } - + /*! * Sets list of notebook variables used for Mesh operations separated by ":" symbol @@ -678,10 +687,11 @@ private: */ TListOfListOfInt findConcurrentSubMeshes(); + protected: + ::SMESH_Mesh* _impl; // :: force no namespace here private: static int _idGenerator; - ::SMESH_Mesh* _impl; // :: force no namespace here SMESH_Gen_i* _gen_i; int _id; // id given by creator (unique within the creator instance) int _nbInvalidHypos;