Salome HOME
0020695: EDF 1076 GEOM: Add a new shape in GEOM: T-shape
[modules/geom.git] / src / GEOM_I / GEOM_IAdvancedOperations_i.hh
1 //  Copyright (C) 2007-2008  CEA/DEN, EDF R&D, OPEN CASCADE
2 //
3 //  Copyright (C) 2003-2007  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
4 //  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
5 //
6 //  This library is free software; you can redistribute it and/or
7 //  modify it under the terms of the GNU Lesser General Public
8 //  License as published by the Free Software Foundation; either
9 //  version 2.1 of the License.
10 //
11 //  This library is distributed in the hope that it will be useful,
12 //  but WITHOUT ANY WARRANTY; without even the implied warranty of
13 //  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
14 //  Lesser General Public License for more details.
15 //
16 //  You should have received a copy of the GNU Lesser General Public
17 //  License along with this library; if not, write to the Free Software
18 //  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
19 //
20 //  See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
21 //
22 //  File   : GEOM_IAdvancedOperations.hh
23 //  Author : Vadim SANDLER, Open CASCADE S.A.S. (vadim.sandler@opencascade.com)
24 //
25
26 #ifndef _GEOM_IAdvancedOperations_i_HeaderFile
27 #define _GEOM_IAdvancedOperations_i_HeaderFile
28
29 #include "GEOMImpl_Gen.hxx"
30
31 #include <SALOMEconfig.h>
32
33 #include CORBA_SERVER_HEADER(GEOM_Gen)
34 #include "GEOM_IOperations_i.hh"
35 #include "GEOM_Object_i.hh"
36
37 #include "GEOMImpl_IAdvancedOperations.hxx"
38
39 class GEOM_I_EXPORT GEOM_IAdvancedOperations_i :
40     public virtual POA_GEOM::GEOM_IAdvancedOperations,
41     public virtual GEOM_IOperations_i
42 {
43  public:
44   GEOM_IAdvancedOperations_i (PortableServer::POA_ptr thePOA, GEOM::GEOM_Gen_ptr theEngine,
45                             ::GEOMImpl_IAdvancedOperations* theImpl);
46   ~GEOM_IAdvancedOperations_i();
47
48   GEOM::ListOfGO* MakePipeTShape (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::ListOfGO* MakePipeTShapeWithPosition (CORBA::Double theR1, CORBA::Double theW1, CORBA::Double theL1, 
52                                               CORBA::Double theR2, CORBA::Double theW2, CORBA::Double theL2,
53                                               CORBA::Boolean theHexMesh,
54                                               GEOM::GEOM_Object_ptr theP1, GEOM::GEOM_Object_ptr theP2, GEOM::GEOM_Object_ptr theP3);
55   GEOM::ListOfGO* MakePipeTShapeChamfer (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::ListOfGO* MakePipeTShapeChamferWithPosition (CORBA::Double theR1, CORBA::Double theW1, CORBA::Double theL1, 
59                                                      CORBA::Double theR2, CORBA::Double theW2, CORBA::Double theL2,
60                                                      CORBA::Double theH, CORBA::Double theW, CORBA::Boolean theHexMesh,
61                                                      GEOM::GEOM_Object_ptr theP1, GEOM::GEOM_Object_ptr theP2, GEOM::GEOM_Object_ptr theP3);
62   GEOM::ListOfGO* MakePipeTShapeFillet (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::ListOfGO* MakePipeTShapeFilletWithPosition (CORBA::Double theR1, CORBA::Double theW1, CORBA::Double theL1, 
66                                                     CORBA::Double theR2, CORBA::Double theW2, CORBA::Double theL2, 
67                                                     CORBA::Double theRF, CORBA::Boolean theHexMesh,
68                                                     GEOM::GEOM_Object_ptr theP1, GEOM::GEOM_Object_ptr theP2, GEOM::GEOM_Object_ptr theP3);
69   /*@@ insert new functions before this line @@*/
70
71   ::GEOMImpl_IAdvancedOperations* GetOperations()
72   { return (::GEOMImpl_IAdvancedOperations*)GetImpl(); }
73 };
74
75 #endif