Salome HOME
Merge from V6_main 15/03/2013
[modules/geom.git] / src / GEOM_I / GEOM_IAdvancedOperations_i.hh
1 // Copyright (C) 2007-2012  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 //  File   : GEOM_IAdvancedOperations.hh
20 //  Author : Vadim SANDLER, Open CASCADE S.A.S. (vadim.sandler@opencascade.com)
21
22 #ifndef _GEOM_IAdvancedOperations_i_HeaderFile
23 #define _GEOM_IAdvancedOperations_i_HeaderFile
24
25 #include "GEOMImpl_Gen.hxx"
26
27 #include <SALOMEconfig.h>
28
29 #include CORBA_SERVER_HEADER(GEOM_Gen)
30 #include "GEOM_IOperations_i.hh"
31 #include "GEOM_Object_i.hh"
32
33 #include "GEOMImpl_IAdvancedOperations.hxx"
34
35 class GEOM_I_EXPORT GEOM_IAdvancedOperations_i :
36     public virtual POA_GEOM::GEOM_IAdvancedOperations,
37     public virtual GEOM_IOperations_i
38 {
39  public:
40   GEOM_IAdvancedOperations_i (PortableServer::POA_ptr thePOA, GEOM::GEOM_Gen_ptr theEngine,
41                             ::GEOMImpl_IAdvancedOperations* theImpl);
42   ~GEOM_IAdvancedOperations_i();
43
44   // PipeTShape without thickness reduction
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
67   // PipeTShape with thickness reduction
68   GEOM::ListOfGO* MakePipeTShapeTR
69     (CORBA::Double theR1, CORBA::Double theW1, CORBA::Double theL1,
70      CORBA::Double theR2, CORBA::Double theW2, CORBA::Double theL2,
71      CORBA::Double theRL, CORBA::Double theWL, CORBA::Double theLtransL, CORBA::Double theLthinL,
72      CORBA::Double theRR, CORBA::Double theWR, CORBA::Double theLtransR, CORBA::Double theLthinR,
73      CORBA::Double theRI, CORBA::Double theWI, CORBA::Double theLtransI, CORBA::Double theLthinI,
74      CORBA::Boolean theHexMesh);
75   GEOM::ListOfGO* MakePipeTShapeTRWithPosition
76     (CORBA::Double theR1, CORBA::Double theW1, CORBA::Double theL1,
77      CORBA::Double theR2, CORBA::Double theW2, CORBA::Double theL2,
78      CORBA::Double theRL, CORBA::Double theWL, CORBA::Double theLtransL, CORBA::Double theLthinL,
79      CORBA::Double theRR, CORBA::Double theWR, CORBA::Double theLtransR, CORBA::Double theLthinR,
80      CORBA::Double theRI, CORBA::Double theWI, CORBA::Double theLtransI, CORBA::Double theLthinI,
81      CORBA::Boolean theHexMesh,
82      GEOM::GEOM_Object_ptr theP1, GEOM::GEOM_Object_ptr theP2, GEOM::GEOM_Object_ptr theP3);
83   GEOM::ListOfGO* MakePipeTShapeTRChamfer
84     (CORBA::Double theR1, CORBA::Double theW1, CORBA::Double theL1,
85      CORBA::Double theR2, CORBA::Double theW2, CORBA::Double theL2,
86      CORBA::Double theRL, CORBA::Double theWL, CORBA::Double theLtransL, CORBA::Double theLthinL,
87      CORBA::Double theRR, CORBA::Double theWR, CORBA::Double theLtransR, CORBA::Double theLthinR,
88      CORBA::Double theRI, CORBA::Double theWI, CORBA::Double theLtransI, CORBA::Double theLthinI,
89      CORBA::Double theH, CORBA::Double theW, CORBA::Boolean theHexMesh);
90   GEOM::ListOfGO* MakePipeTShapeTRChamferWithPosition
91     (CORBA::Double theR1, CORBA::Double theW1, CORBA::Double theL1,
92      CORBA::Double theR2, CORBA::Double theW2, CORBA::Double theL2,
93      CORBA::Double theRL, CORBA::Double theWL, CORBA::Double theLtransL, CORBA::Double theLthinL,
94      CORBA::Double theRR, CORBA::Double theWR, CORBA::Double theLtransR, CORBA::Double theLthinR,
95      CORBA::Double theRI, CORBA::Double theWI, CORBA::Double theLtransI, CORBA::Double theLthinI,
96      CORBA::Double theH, CORBA::Double theW, CORBA::Boolean theHexMesh,
97      GEOM::GEOM_Object_ptr theP1, GEOM::GEOM_Object_ptr theP2, GEOM::GEOM_Object_ptr theP3);
98   GEOM::ListOfGO* MakePipeTShapeTRFillet
99     (CORBA::Double theR1, CORBA::Double theW1, CORBA::Double theL1,
100      CORBA::Double theR2, CORBA::Double theW2, CORBA::Double theL2,
101      CORBA::Double theRL, CORBA::Double theWL, CORBA::Double theLtransL, CORBA::Double theLthinL,
102      CORBA::Double theRR, CORBA::Double theWR, CORBA::Double theLtransR, CORBA::Double theLthinR,
103      CORBA::Double theRI, CORBA::Double theWI, CORBA::Double theLtransI, CORBA::Double theLthinI,
104      CORBA::Double theRF, CORBA::Boolean theHexMesh);
105   GEOM::ListOfGO* MakePipeTShapeTRFilletWithPosition
106     (CORBA::Double theR1, CORBA::Double theW1, CORBA::Double theL1,
107      CORBA::Double theR2, CORBA::Double theW2, CORBA::Double theL2,
108      CORBA::Double theRL, CORBA::Double theWL, CORBA::Double theLtransL, CORBA::Double theLthinL,
109      CORBA::Double theRR, CORBA::Double theWR, CORBA::Double theLtransR, CORBA::Double theLthinR,
110      CORBA::Double theRI, CORBA::Double theWI, CORBA::Double theLtransI, CORBA::Double theLthinI,
111      CORBA::Double theRF, CORBA::Boolean theHexMesh,
112      GEOM::GEOM_Object_ptr theP1, GEOM::GEOM_Object_ptr theP2, GEOM::GEOM_Object_ptr theP3);
113
114   GEOM::GEOM_Object_ptr MakeDividedDisk        (CORBA::Double theR,
115                                                 CORBA::Double theRatio,
116                                                 CORBA::Short theOrientation,
117                                                 GEOM::pattern thePattern);
118
119   GEOM::GEOM_Object_ptr MakeDividedDiskPntVecR (GEOM::GEOM_Object_ptr theCenter,
120                                                 GEOM::GEOM_Object_ptr theVector,
121                                                 CORBA::Double theR,
122                                                 CORBA::Double theRatio,
123                                                 GEOM::pattern thePattern);
124
125   GEOM::GEOM_Object_ptr MakeDividedCylinder (CORBA::Double theR,
126                                              CORBA::Double theH,
127                                              GEOM::pattern thePattern);
128   /*@@ insert new functions before this line @@ do not remove this line @@*/
129
130   ::GEOMImpl_IAdvancedOperations* GetOperations()
131   { return (::GEOMImpl_IAdvancedOperations*)GetImpl(); }
132 };
133
134 #endif