Salome HOME
d53badd3a699c7839524d58ac6fae01f566ec494
[modules/smesh.git] / src / SMESHGUI / SMESHGUI_Swig.i
1 //  File      : SMESHGUI_Swig.i
2 //  Created   : Mon Jun 17 13:40:36 2002
3 //  Author    : Nicolas REJNERI
4
5 //  Project   : SALOME
6 //  Module    : SMESH
7 //  Copyright : Open CASCADE 2002
8 //  $Header$
9
10
11 %{
12 #include "SMESHGUI_Swig.hxx"
13 %}
14
15 %include "typemaps.i"
16
17 class SMESH_Swig
18 {
19  public:
20   SMESH_Swig();
21   ~SMESH_Swig();
22
23   void Init(int studyID);
24
25   const char* AddNewMesh(const char* IOR);
26   const char* AddNewHypothesis(const char* IOR);
27   const char* AddNewAlgorithms(const char* IOR);
28
29   void SetShape(const char* ShapeEntry, const char* MeshEntry);
30
31   void SetHypothesis(const char* Mesh_Or_SubMesh_Entry, const char* Hypothesis_Entry);
32   void SetAlgorithms(const char* Mesh_Or_SubMesh_Entry, const char* Algorithms_Entry);
33
34   void UnSetHypothesis(const char* Applied_Hypothesis_Entry );
35
36   const char* AddSubMesh (const char* Mesh_Entry, const char* SM_IOR, int ST);
37   const char* AddSubMeshOnShape (const char* Mesh_Entry, const char* GeomShape_Entry, const char* SM_IOR, int ST);
38
39   void SetName(const char* Entry, const char* Name);
40 };