- public:
- SMESH_Mesh();
- SMESH_Mesh(int localId, int studyId, SMESH_Gen * gen,
- SMESHDS_Document * myDocument);
-
- virtual ~SMESH_Mesh();
-
- void ShapeToMesh(const TopoDS_Shape & aShape);
- /*!
- * consult DriverMED_R_SMESHDS_Mesh::ReadStatus for returned value
- */
- int MEDToMesh(const char* theFileName, const char* theMeshName);
-
- SMESH_Hypothesis::Hypothesis_Status
- AddHypothesis(const TopoDS_Shape & aSubShape, int anHypId)
- throw(SALOME_Exception);
-
- SMESH_Hypothesis::Hypothesis_Status
- RemoveHypothesis(const TopoDS_Shape & aSubShape, int anHypId)
- throw(SALOME_Exception);
-
- const list <const SMESHDS_Hypothesis * >&
- GetHypothesisList(const TopoDS_Shape & aSubShape) const
- throw(SALOME_Exception);
-
- const list<SMESHDS_Command*> & GetLog() throw(SALOME_Exception);
-
-// const SMESHDS_ListOfAsciiString& GetLog()
-// throw (SALOME_Exception);
-
- void ClearLog() throw(SALOME_Exception);
-
- int GetId();
-
- SMESHDS_Mesh * GetMeshDS();
-
- SMESH_Gen *GetGen();
-
- SMESH_subMesh *GetSubMesh(const TopoDS_Shape & aSubShape)
- throw(SALOME_Exception);
-
- SMESH_subMesh *GetSubMeshContaining(const TopoDS_Shape & aSubShape)
- throw(SALOME_Exception);
-
- const list < SMESH_subMesh * >&
- GetSubMeshUsingHypothesis(SMESHDS_Hypothesis * anHyp)
- throw(SALOME_Exception);
-
- bool IsUsedHypothesis(SMESHDS_Hypothesis * anHyp,
- const TopoDS_Shape & aSubShape);
- // Return True if anHyp is used to mesh aSubShape
-
- bool IsNotConformAllowed() const;
- // check if a hypothesis alowing notconform mesh is present
-
- bool IsMainShape(const TopoDS_Shape& theShape) const;
-
- const TopTools_ListOfShape& GetAncestors(const TopoDS_Shape& theSubShape);
- // return list of ancestors of theSubShape in the order
- // that lower dimention shapes come first.
-
- void ExportDAT(const char *file) throw(SALOME_Exception);
- void ExportMED(const char *file, const char* theMeshName = NULL, bool theAutoGroups = true) throw(SALOME_Exception);
- void ExportUNV(const char *file) throw(SALOME_Exception);
-
- int NbNodes() throw(SALOME_Exception);
-
- int NbEdges() throw(SALOME_Exception);
-
- int NbFaces() throw(SALOME_Exception);
-
- int NbTriangles() throw(SALOME_Exception);
+ SMESH_Mesh();
+ SMESH_Mesh(const SMESH_Mesh&);
+public:
+ SMESH_Mesh(int localId, int studyId, SMESH_Gen * gen,
+ SMESHDS_Document * myDocument);
+
+ virtual ~SMESH_Mesh();
+
+ void ShapeToMesh(const TopoDS_Shape & aShape);
+
+ int UNVToMesh(const char* theFileName);
+ /*!
+ * consult DriverMED_R_SMESHDS_Mesh::ReadStatus for returned value
+ */
+ int MEDToMesh(const char* theFileName, const char* theMeshName);
+
+ int STLToMesh(const char* theFileName);