Salome HOME
Update copyright
[modules/geom.git] / src / GEOM_I / GEOM_IAdvancedOperations_i.hh
1 // Copyright (C) 2007-2011  CEA/DEN, EDF R&D, OPEN CASCADE
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
20 //  File   : GEOM_IAdvancedOperations.hh
21 //  Author : Vadim SANDLER, Open CASCADE S.A.S. (vadim.sandler@opencascade.com)
22 //
23 #ifndef _GEOM_IAdvancedOperations_i_HeaderFile
24 #define _GEOM_IAdvancedOperations_i_HeaderFile
25
26 #include "GEOMImpl_Gen.hxx"
27
28 #include <SALOMEconfig.h>
29
30 #include CORBA_SERVER_HEADER(GEOM_Gen)
31 #include "GEOM_IOperations_i.hh"
32 #include "GEOM_Object_i.hh"
33
34 #include "GEOMImpl_IAdvancedOperations.hxx"
35
36 class GEOM_I_EXPORT GEOM_IAdvancedOperations_i :
37     public virtual POA_GEOM::GEOM_IAdvancedOperations,
38     public virtual GEOM_IOperations_i
39 {
40  public:
41   GEOM_IAdvancedOperations_i (PortableServer::POA_ptr thePOA, GEOM::GEOM_Gen_ptr theEngine,
42                             ::GEOMImpl_IAdvancedOperations* theImpl);
43   ~GEOM_IAdvancedOperations_i();
44
45   GEOM::ListOfGO* MakePipeTShape (CORBA::Double theR1, CORBA::Double theW1, CORBA::Double theL1, 
46                                   CORBA::Double theR2, CORBA::Double theW2, CORBA::Double theL2,
47                                   CORBA::Boolean theHexMesh);
48   GEOM::ListOfGO* MakePipeTShapeWithPosition (CORBA::Double theR1, CORBA::Double theW1, CORBA::Double theL1, 
49                                               CORBA::Double theR2, CORBA::Double theW2, CORBA::Double theL2,
50                                               CORBA::Boolean theHexMesh,
51                                               GEOM::GEOM_Object_ptr theP1, GEOM::GEOM_Object_ptr theP2, GEOM::GEOM_Object_ptr theP3);
52   GEOM::ListOfGO* MakePipeTShapeChamfer (CORBA::Double theR1, CORBA::Double theW1, CORBA::Double theL1, 
53                                          CORBA::Double theR2, CORBA::Double theW2, CORBA::Double theL2,
54                                          CORBA::Double theH, CORBA::Double theW, CORBA::Boolean theHexMesh);
55   GEOM::ListOfGO* MakePipeTShapeChamferWithPosition (CORBA::Double theR1, CORBA::Double theW1, CORBA::Double theL1, 
56                                                      CORBA::Double theR2, CORBA::Double theW2, CORBA::Double theL2,
57                                                      CORBA::Double theH, CORBA::Double theW, CORBA::Boolean theHexMesh,
58                                                      GEOM::GEOM_Object_ptr theP1, GEOM::GEOM_Object_ptr theP2, GEOM::GEOM_Object_ptr theP3);
59   GEOM::ListOfGO* MakePipeTShapeFillet (CORBA::Double theR1, CORBA::Double theW1, CORBA::Double theL1, 
60                                         CORBA::Double theR2, CORBA::Double theW2, CORBA::Double theL2, 
61                                         CORBA::Double theRF, CORBA::Boolean theHexMesh);
62   GEOM::ListOfGO* MakePipeTShapeFilletWithPosition (CORBA::Double theR1, CORBA::Double theW1, CORBA::Double theL1, 
63                                                     CORBA::Double theR2, CORBA::Double theW2, CORBA::Double theL2, 
64                                                     CORBA::Double theRF, CORBA::Boolean theHexMesh,
65                                                     GEOM::GEOM_Object_ptr theP1, GEOM::GEOM_Object_ptr theP2, GEOM::GEOM_Object_ptr theP3);
66   /*@@ insert new functions before this line @@ do not remove this line @@*/
67
68   ::GEOMImpl_IAdvancedOperations* GetOperations()
69   { return (::GEOMImpl_IAdvancedOperations*)GetImpl(); }
70 };
71
72 #endif