void ExportSTL( const char* file, bool isascii ) throw (SALOME::SALOME_Exception);
void ExportCGNS(SMESH::SMESH_IDSource_ptr meshPart,
const char* file,
- CORBA::Boolean overwrite) throw (SALOME::SALOME_Exception);
+ CORBA::Boolean overwrite,
+ CORBA::Boolean groupElemsByType) throw (SALOME::SALOME_Exception);
void ExportGMF(SMESH::SMESH_IDSource_ptr meshPart,
const char* file,
CORBA::Boolean withRequiredGroups) throw (SALOME::SALOME_Exception);
const char* theGroupName)
throw (SALOME::SALOME_Exception);
+ // ===================================================
// Internal methods not available through CORBA
// They are called by corresponding interface methods
+ // ===================================================
+
SMESH_Hypothesis::Hypothesis_Status addHypothesis(GEOM::GEOM_Object_ptr aSubShape,
SMESH::SMESH_Hypothesis_ptr anHyp,
std::string* anErrorText=0);
/*!
* \brief Update hypotheses assigned to geom groups if the latter change
*
- * NPAL16168: "geometrical group edition from a submesh don't modifiy mesh computation"
+ * NPAL16168: "geometrical group edition from a submesh don't modify mesh computation"
*/
void CheckGeomGroupModif();
*/
void CreateGroupServants();
+ /*!
+ * \brief Return true if all sub-meshes are computed OK - to update an icon
+ */
+ bool IsComputedOK();
+
+
+ // ====================================
+ // SMESH_Mesh interface (continuation)
+ // ====================================
+
/*!
* \brief Return groups cantained in _mapGroups by their IDs
*/
*/
virtual SMESH::MedFileInfo* GetMEDFileInfo();
+ /*!
+ * Persistence of file info
+ */
+ std::string FileInfoToString();
+ void FileInfoFromString(const std::string& info);
+
/*!
* Sets list of notebook variables used for Mesh operations separated by ":" symbol
*/
* happen if mesh data is not yet fully loaded from the file of study.
*/
bool IsMeshInfoCorrect();
- /*!
- * Returns mesh unstructed grid information.
- */
- virtual SALOMEDS::TMPFile* GetVtkUgStream();
+ /*!
+ * Returns mesh unstructed grid information.
+ */
+ virtual SALOMEDS::TMPFile* GetVtkUgStream();
+
std::map<int, SMESH_subMesh_i*> _mapSubMesh_i; //NRI
std::map<int, ::SMESH_subMesh*> _mapSubMesh; //NRI