+ const std::list<SMESHDS_Command*> & GetLog() throw(SALOME_Exception);
+
+ void ClearLog() throw(SALOME_Exception);
+
+ int GetId() { return _id; }
+
+ SMESHDS_Mesh * GetMeshDS() { return _myMeshDS; }
+
+ SMESH_Gen *GetGen() { return _gen; }
+
+ SMESH_subMesh *GetSubMesh(const TopoDS_Shape & aSubShape)
+ throw(SALOME_Exception);
+
+ SMESH_subMesh *GetSubMeshContaining(const TopoDS_Shape & aSubShape) const
+ throw(SALOME_Exception);
+
+ SMESH_subMesh *GetSubMeshContaining(const int aShapeID) const
+ throw(SALOME_Exception);
+ /*!
+ * \brief Return submeshes of groups containing the given subshape
+ */
+ std::list<SMESH_subMesh*> GetGroupSubMeshesContaining(const TopoDS_Shape & shape) const
+ throw(SALOME_Exception);
+ /*!
+ * \brief Say all submeshes that theChangedHyp has been modified
+ */
+ void NotifySubMeshesHypothesisModification(const SMESH_Hypothesis* theChangedHyp);
+
+ const std::list < SMESH_subMesh * >&
+ GetSubMeshUsingHypothesis(SMESHDS_Hypothesis * anHyp) throw(SALOME_Exception);
+ /*!
+ * \brief Return True if anHyp is used to mesh aSubShape
+ */
+ bool IsUsedHypothesis(SMESHDS_Hypothesis * anHyp,
+ const SMESH_subMesh * aSubMesh);
+ /*!
+ * \brief check if a hypothesis alowing notconform mesh is present
+ */
+ bool IsNotConformAllowed() const;
+
+ bool IsMainShape(const TopoDS_Shape& theShape) const;
+ /*!
+ * \brief Return list of ancestors of theSubShape in the order
+ * that lower dimention shapes come first
+ */
+ const TopTools_ListOfShape& GetAncestors(const TopoDS_Shape& theSubShape) const;
+
+ void SetAutoColor(bool theAutoColor) throw(SALOME_Exception);
+
+ bool GetAutoColor() throw(SALOME_Exception);
+
+ /*!
+ * \brief Return data map of descendant to ancestor shapes
+ */
+ typedef TopTools_IndexedDataMapOfShapeListOfShape TAncestorMap;
+ const TAncestorMap& GetAncestorMap() const { return _mapAncestors; }
+ /*!
+ * \brief Check group names for duplications.
+ * Consider maximum group name length stored in MED file
+ */
+ bool HasDuplicatedGroupNamesMED();
+
+ void ExportMED(const char *file,
+ const char* theMeshName = NULL,
+ bool theAutoGroups = true,
+ int theVersion = 0)
+ throw(SALOME_Exception);
+
+ void ExportDAT(const char *file) throw(SALOME_Exception);
+ void ExportUNV(const char *file) throw(SALOME_Exception);
+ void ExportSTL(const char *file, const bool isascii) throw(SALOME_Exception);
+
+ int NbNodes() throw(SALOME_Exception);
+
+ int Nb0DElements() throw(SALOME_Exception);
+
+ int NbEdges(SMDSAbs_ElementOrder order = ORDER_ANY) throw(SALOME_Exception);
+
+ int NbFaces(SMDSAbs_ElementOrder order = ORDER_ANY) throw(SALOME_Exception);
+
+ int NbTriangles(SMDSAbs_ElementOrder order = ORDER_ANY) throw(SALOME_Exception);
+
+ int NbQuadrangles(SMDSAbs_ElementOrder order = ORDER_ANY) throw(SALOME_Exception);