1 // Copyright (C) 2007-2013 CEA/DEN, EDF R&D, OPEN CASCADE
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.
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.
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
17 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
20 // File : GEOM_IAdvancedOperations.hh
21 // Author : Vadim SANDLER, Open CASCADE S.A.S. (vadim.sandler@opencascade.com)
23 #ifndef _GEOM_IAdvancedOperations_i_HeaderFile
24 #define _GEOM_IAdvancedOperations_i_HeaderFile
26 #include "GEOMImpl_Gen.hxx"
28 #include <SALOMEconfig.h>
30 #include CORBA_SERVER_HEADER(GEOM_Gen)
31 #include "GEOM_IOperations_i.hh"
32 #include "GEOM_Object_i.hh"
34 #include "GEOMImpl_IAdvancedOperations.hxx"
36 class GEOM_I_EXPORT GEOM_IAdvancedOperations_i :
37 public virtual POA_GEOM::GEOM_IAdvancedOperations,
38 public virtual GEOM_IOperations_i
41 GEOM_IAdvancedOperations_i (PortableServer::POA_ptr thePOA, GEOM::GEOM_Gen_ptr theEngine,
42 ::GEOMImpl_IAdvancedOperations* theImpl);
43 ~GEOM_IAdvancedOperations_i();
45 // PipeTShape without thickness reduction
46 GEOM::ListOfGO* MakePipeTShape (CORBA::Double theR1, CORBA::Double theW1, CORBA::Double theL1,
47 CORBA::Double theR2, CORBA::Double theW2, CORBA::Double theL2,
48 CORBA::Boolean theHexMesh);
49 GEOM::ListOfGO* MakePipeTShapeWithPosition (CORBA::Double theR1, CORBA::Double theW1, CORBA::Double theL1,
50 CORBA::Double theR2, CORBA::Double theW2, CORBA::Double theL2,
51 CORBA::Boolean theHexMesh,
52 GEOM::GEOM_Object_ptr theP1, GEOM::GEOM_Object_ptr theP2, GEOM::GEOM_Object_ptr theP3);
53 GEOM::ListOfGO* MakePipeTShapeChamfer (CORBA::Double theR1, CORBA::Double theW1, CORBA::Double theL1,
54 CORBA::Double theR2, CORBA::Double theW2, CORBA::Double theL2,
55 CORBA::Double theH, CORBA::Double theW, CORBA::Boolean theHexMesh);
56 GEOM::ListOfGO* MakePipeTShapeChamferWithPosition (CORBA::Double theR1, CORBA::Double theW1, CORBA::Double theL1,
57 CORBA::Double theR2, CORBA::Double theW2, CORBA::Double theL2,
58 CORBA::Double theH, CORBA::Double theW, CORBA::Boolean theHexMesh,
59 GEOM::GEOM_Object_ptr theP1, GEOM::GEOM_Object_ptr theP2, GEOM::GEOM_Object_ptr theP3);
60 GEOM::ListOfGO* MakePipeTShapeFillet (CORBA::Double theR1, CORBA::Double theW1, CORBA::Double theL1,
61 CORBA::Double theR2, CORBA::Double theW2, CORBA::Double theL2,
62 CORBA::Double theRF, CORBA::Boolean theHexMesh);
63 GEOM::ListOfGO* MakePipeTShapeFilletWithPosition (CORBA::Double theR1, CORBA::Double theW1, CORBA::Double theL1,
64 CORBA::Double theR2, CORBA::Double theW2, CORBA::Double theL2,
65 CORBA::Double theRF, CORBA::Boolean theHexMesh,
66 GEOM::GEOM_Object_ptr theP1, GEOM::GEOM_Object_ptr theP2, GEOM::GEOM_Object_ptr theP3);
68 // PipeTShape with thickness reduction
69 GEOM::ListOfGO* MakePipeTShapeTR
70 (CORBA::Double theR1, CORBA::Double theW1, CORBA::Double theL1,
71 CORBA::Double theR2, CORBA::Double theW2, CORBA::Double theL2,
72 CORBA::Double theRL, CORBA::Double theWL, CORBA::Double theLtransL, CORBA::Double theLthinL,
73 CORBA::Double theRR, CORBA::Double theWR, CORBA::Double theLtransR, CORBA::Double theLthinR,
74 CORBA::Double theRI, CORBA::Double theWI, CORBA::Double theLtransI, CORBA::Double theLthinI,
75 CORBA::Boolean theHexMesh);
76 GEOM::ListOfGO* MakePipeTShapeTRWithPosition
77 (CORBA::Double theR1, CORBA::Double theW1, CORBA::Double theL1,
78 CORBA::Double theR2, CORBA::Double theW2, CORBA::Double theL2,
79 CORBA::Double theRL, CORBA::Double theWL, CORBA::Double theLtransL, CORBA::Double theLthinL,
80 CORBA::Double theRR, CORBA::Double theWR, CORBA::Double theLtransR, CORBA::Double theLthinR,
81 CORBA::Double theRI, CORBA::Double theWI, CORBA::Double theLtransI, CORBA::Double theLthinI,
82 CORBA::Boolean theHexMesh,
83 GEOM::GEOM_Object_ptr theP1, GEOM::GEOM_Object_ptr theP2, GEOM::GEOM_Object_ptr theP3);
84 GEOM::ListOfGO* MakePipeTShapeTRChamfer
85 (CORBA::Double theR1, CORBA::Double theW1, CORBA::Double theL1,
86 CORBA::Double theR2, CORBA::Double theW2, CORBA::Double theL2,
87 CORBA::Double theRL, CORBA::Double theWL, CORBA::Double theLtransL, CORBA::Double theLthinL,
88 CORBA::Double theRR, CORBA::Double theWR, CORBA::Double theLtransR, CORBA::Double theLthinR,
89 CORBA::Double theRI, CORBA::Double theWI, CORBA::Double theLtransI, CORBA::Double theLthinI,
90 CORBA::Double theH, CORBA::Double theW, CORBA::Boolean theHexMesh);
91 GEOM::ListOfGO* MakePipeTShapeTRChamferWithPosition
92 (CORBA::Double theR1, CORBA::Double theW1, CORBA::Double theL1,
93 CORBA::Double theR2, CORBA::Double theW2, CORBA::Double theL2,
94 CORBA::Double theRL, CORBA::Double theWL, CORBA::Double theLtransL, CORBA::Double theLthinL,
95 CORBA::Double theRR, CORBA::Double theWR, CORBA::Double theLtransR, CORBA::Double theLthinR,
96 CORBA::Double theRI, CORBA::Double theWI, CORBA::Double theLtransI, CORBA::Double theLthinI,
97 CORBA::Double theH, CORBA::Double theW, CORBA::Boolean theHexMesh,
98 GEOM::GEOM_Object_ptr theP1, GEOM::GEOM_Object_ptr theP2, GEOM::GEOM_Object_ptr theP3);
99 GEOM::ListOfGO* MakePipeTShapeTRFillet
100 (CORBA::Double theR1, CORBA::Double theW1, CORBA::Double theL1,
101 CORBA::Double theR2, CORBA::Double theW2, CORBA::Double theL2,
102 CORBA::Double theRL, CORBA::Double theWL, CORBA::Double theLtransL, CORBA::Double theLthinL,
103 CORBA::Double theRR, CORBA::Double theWR, CORBA::Double theLtransR, CORBA::Double theLthinR,
104 CORBA::Double theRI, CORBA::Double theWI, CORBA::Double theLtransI, CORBA::Double theLthinI,
105 CORBA::Double theRF, CORBA::Boolean theHexMesh);
106 GEOM::ListOfGO* MakePipeTShapeTRFilletWithPosition
107 (CORBA::Double theR1, CORBA::Double theW1, CORBA::Double theL1,
108 CORBA::Double theR2, CORBA::Double theW2, CORBA::Double theL2,
109 CORBA::Double theRL, CORBA::Double theWL, CORBA::Double theLtransL, CORBA::Double theLthinL,
110 CORBA::Double theRR, CORBA::Double theWR, CORBA::Double theLtransR, CORBA::Double theLthinR,
111 CORBA::Double theRI, CORBA::Double theWI, CORBA::Double theLtransI, CORBA::Double theLthinI,
112 CORBA::Double theRF, CORBA::Boolean theHexMesh,
113 GEOM::GEOM_Object_ptr theP1, GEOM::GEOM_Object_ptr theP2, GEOM::GEOM_Object_ptr theP3);
115 GEOM::GEOM_Object_ptr MakeDividedDisk (CORBA::Double theR,
116 CORBA::Double theRatio,
117 CORBA::Short theOrientation,
118 GEOM::pattern thePattern);
120 GEOM::GEOM_Object_ptr MakeDividedDiskPntVecR (GEOM::GEOM_Object_ptr theCenter,
121 GEOM::GEOM_Object_ptr theVector,
123 CORBA::Double theRatio,
124 GEOM::pattern thePattern);
126 GEOM::GEOM_Object_ptr MakeDividedCylinder (CORBA::Double theR,
128 GEOM::pattern thePattern);
129 GEOM::GEOM_Object_ptr MakeSmoothingSurface (const GEOM::ListOfGO& thelPoints);
130 /*@@ insert new functions before this line @@ do not remove this line @@*/
132 ::GEOMImpl_IAdvancedOperations* GetOperations()
133 { return (::GEOMImpl_IAdvancedOperations*)GetImpl(); }