1 // File : SMESHGUI_Swig.hxx
2 // Created : Mon Jun 17 13:41:12 2002
3 // Author : Nicolas REJNERI
7 // Copyright : Open CASCADE 2002
11 #ifndef _SMESHGUI_SWIG_HXX_
12 #define _SMESHGUI_SWIG_HXX_
15 #include <SALOMEconfig.h>
16 #include CORBA_SERVER_HEADER(SALOMEDS)
17 #include CORBA_SERVER_HEADER(SALOMEDS_Attributes)
27 void Init(int studyID);
29 const char* AddNewMesh(const char* IOR);
31 const char* AddNewHypothesis(const char* IOR);
32 const char* AddNewAlgorithms(const char* IOR);
34 void SetShape(const char* ShapeEntry, const char* MeshEntry);
36 void SetHypothesis(const char* Mesh_Or_SubMesh_Entry, const char* Hypothesis_Entry);
37 void SetAlgorithms(const char* Mesh_Or_SubMesh_Entry, const char* Algorithms_Entry);
39 void UnSetHypothesis(const char* Applied_Hypothesis_Entry );
41 const char* AddSubMesh (const char* Mesh_Entry, const char* SM_IOR, int ST);
42 const char* AddSubMeshOnShape (const char* Mesh_Entry, const char* GeomShape_Entry, const char* SM_IOR, int ST);
44 void CreateAndDisplayActor( const char* Mesh_Entry );
46 void SetName(const char* Entry, const char* Name);
49 SALOMEDS::Study_var myStudy;
50 SALOMEDS::StudyBuilder_var myStudyBuilder;
51 SALOMEDS::SComponent_var mySComponentMesh;
54 long Tag_HypothesisRoot;
55 long Tag_AlgorithmsRoot;
58 long Tag_RefOnAppliedHypothesis;
59 long Tag_RefOnAppliedAlgorithms;
61 long Tag_SubMeshOnVertex;
62 long Tag_SubMeshOnEdge;
63 long Tag_SubMeshOnFace;
64 long Tag_SubMeshOnSolid;
65 long Tag_SubMeshOnCompound;