Salome HOME
Insertion des valeurs définies dans les préférences comme valeurs par défaut...
[modules/homard.git] / idl / HOMARD_Boundary.idl
1 // Copyright (C) 2011-2013  CEA/DEN, EDF R&D
2 //
3 // This library is free software; you can redistribute it and/or
4 // modify it under the terms of the GNU Lesser General Public
5 // License as published by the Free Software Foundation; either
6 // version 2.1 of the License.
7 //
8 // This library is distributed in the hope that it will be useful,
9 // but WITHOUT ANY WARRANTY; without even the implied warranty of
10 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
11 // Lesser General Public License for more details.
12 //
13 // You should have received a copy of the GNU Lesser General Public
14 // License along with this library; if not, write to the Free Software
15 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
16 //
17 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
18 //
19 // Remarques :
20 // L'ordre de description des fonctions est le meme dans tous les fichiers
21 // HOMARD_aaaa.idl, HOMARD_aaaa.hxx, HOMARD_aaaa.cxx, HOMARD_aaaa_i.hxx, HOMARD_aaaa_i.cxx :
22 // 1. Les generalites : Name, Delete, DumpPython, Dump, Restore
23 // 2. Les caracteristiques
24 // 3. Le lien avec les autres structures
25 //
26 // Quand les 2 fonctions Setxxx et Getxxx sont presentes, Setxxx est decrit en premier
27 //
28
29 #ifndef _HOMARD_Boundary_IDL
30 #define _HOMARD_Boundary_IDL
31
32 #include "SALOME_Component.idl"
33 #include "SALOME_Exception.idl"
34 #include "SALOMEDS.idl"
35
36 #include "HOMARD_Cas.idl"
37 #include "HOMARD_Zone.idl"
38
39
40 module HOMARD
41 {
42   interface HOMARD_Boundary : Engines::EngineComponent
43   {
44 // Generalites
45     void     SetName(in string Name)                       raises (SALOME::SALOME_Exception);
46     string   GetName()                                     raises (SALOME::SALOME_Exception);
47
48     long     Delete()                                      raises (SALOME::SALOME_Exception);
49
50     string   GetDumpPython()                               raises (SALOME::SALOME_Exception);
51
52 // Caracteristiques
53     void     SetType (in long Type)                        raises (SALOME::SALOME_Exception);
54     long     GetType()                                     raises (SALOME::SALOME_Exception);
55
56     void     SetMeshFile(in string MeshFile)               raises (SALOME::SALOME_Exception);
57     string   GetMeshFile()                                 raises (SALOME::SALOME_Exception);
58
59     void     SetMeshName(in string MeshName)               raises (SALOME::SALOME_Exception);
60     string   GetMeshName()                                 raises (SALOME::SALOME_Exception);
61
62     void     SetCylinder (in double Xcentre, in double Ycentre, in double Zcentre,
63                           in double Xaxe, in double Yaxe, in double Zaxe, in double rayon)
64                                                            raises (SALOME::SALOME_Exception);
65
66     void     SetSphere (in double Xcentre, in double Ycentre, in double Zcentre, in double rayon)
67                                                            raises (SALOME::SALOME_Exception);
68
69     void     SetConeR (in double Xcentre1, in double Ycentre1, in double Zcentre1, in double Rayon1,
70                        in double Xcentre2, in double Ycentre2, in double Zcentre2, in double Rayon2)
71                                                            raises (SALOME::SALOME_Exception);
72
73     void     SetConeA(in double Xaxe,in double Yaxe,in double Zaxe,in double Angle,
74                       in double Xcentre,in double Ycentre,in double ZCentre)
75                                                            raises (SALOME::SALOME_Exception);
76
77     void     SetTorus (in double Xcentre, in double Ycentre, in double Zcentre,
78                           in double Xaxe, in double Yaxe, in double Zaxe, in double rayonRev, in double rayonPri)
79                                                            raises (SALOME::SALOME_Exception);
80
81
82     HOMARD::double_array GetCoords()                       raises (SALOME::SALOME_Exception);
83
84     void     SetLimit (in double Xincr, in double Yincr, in double Zincr)
85                                                            raises (SALOME::SALOME_Exception);
86     HOMARD::double_array GetLimit()                        raises (SALOME::SALOME_Exception);
87
88     void       AddGroup(in string LeGroupe)                raises (SALOME::SALOME_Exception);
89     void       SetGroups(in ListGroupType ListGroup)       raises (SALOME::SALOME_Exception);
90     ListGroupType GetGroups()                              raises (SALOME::SALOME_Exception);
91
92 // Liens avec les autres iterations
93     void     SetCaseCreation(in string NomCas)             raises (SALOME::SALOME_Exception);
94     string   GetCaseCreation()                             raises (SALOME::SALOME_Exception);
95
96   };
97 };
98 #endif