1 // Copyright (C) 2007-2019 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, or (at your option) any later version.
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 : AdvancedEngine_IOperations_i.hh
21 // Author : Vadim SANDLER, Open CASCADE S.A.S. (vadim.sandler@opencascade.com)
23 #ifndef _AdvancedEngine_IOperations_i_HeaderFile
24 #define _AdvancedEngine_IOperations_i_HeaderFile
26 #include "AdvancedEngine.hxx"
28 #include "GEOM_IOperations_i.hh"
29 #include "GEOM_Object_i.hh"
31 #include <SALOMEconfig.h>
32 #include CORBA_SERVER_HEADER(GEOM_Gen)
33 #include CORBA_SERVER_HEADER(AdvancedGEOM)
35 class AdvancedEngine_IOperations;
37 class ADVANCEDENGINE_EXPORT AdvancedEngine_IOperations_i :
38 public virtual POA_GEOM::IAdvancedOperations,
39 public virtual GEOM_IOperations_i
42 AdvancedEngine_IOperations_i (PortableServer::POA_ptr thePOA, GEOM::GEOM_Gen_ptr theEngine,
43 AdvancedEngine_IOperations* theImpl);
44 ~AdvancedEngine_IOperations_i();
46 // PipeTShape without thickness reduction
47 GEOM::ListOfGO* MakePipeTShape (CORBA::Double theR1, CORBA::Double theW1, CORBA::Double theL1,
48 CORBA::Double theR2, CORBA::Double theW2, CORBA::Double theL2,
49 CORBA::Boolean theHexMesh);
50 GEOM::ListOfGO* MakePipeTShapeWithPosition (CORBA::Double theR1, CORBA::Double theW1, CORBA::Double theL1,
51 CORBA::Double theR2, CORBA::Double theW2, CORBA::Double theL2,
52 CORBA::Boolean theHexMesh,
53 GEOM::GEOM_Object_ptr theP1, GEOM::GEOM_Object_ptr theP2, GEOM::GEOM_Object_ptr theP3);
54 GEOM::ListOfGO* MakePipeTShapeChamfer (CORBA::Double theR1, CORBA::Double theW1, CORBA::Double theL1,
55 CORBA::Double theR2, CORBA::Double theW2, CORBA::Double theL2,
56 CORBA::Double theH, CORBA::Double theW, CORBA::Boolean theHexMesh);
57 GEOM::ListOfGO* MakePipeTShapeChamferWithPosition (CORBA::Double theR1, CORBA::Double theW1, CORBA::Double theL1,
58 CORBA::Double theR2, CORBA::Double theW2, CORBA::Double theL2,
59 CORBA::Double theH, CORBA::Double theW, CORBA::Boolean theHexMesh,
60 GEOM::GEOM_Object_ptr theP1, GEOM::GEOM_Object_ptr theP2, GEOM::GEOM_Object_ptr theP3);
61 GEOM::ListOfGO* MakePipeTShapeFillet (CORBA::Double theR1, CORBA::Double theW1, CORBA::Double theL1,
62 CORBA::Double theR2, CORBA::Double theW2, CORBA::Double theL2,
63 CORBA::Double theRF, CORBA::Boolean theHexMesh);
64 GEOM::ListOfGO* MakePipeTShapeFilletWithPosition (CORBA::Double theR1, CORBA::Double theW1, CORBA::Double theL1,
65 CORBA::Double theR2, CORBA::Double theW2, CORBA::Double theL2,
66 CORBA::Double theRF, CORBA::Boolean theHexMesh,
67 GEOM::GEOM_Object_ptr theP1, GEOM::GEOM_Object_ptr theP2, GEOM::GEOM_Object_ptr theP3);
69 // PipeTShape with thickness reduction
70 GEOM::ListOfGO* MakePipeTShapeTR
71 (CORBA::Double theR1, CORBA::Double theW1, CORBA::Double theL1,
72 CORBA::Double theR2, CORBA::Double theW2, CORBA::Double theL2,
73 CORBA::Double theRL, CORBA::Double theWL, CORBA::Double theLtransL, CORBA::Double theLthinL,
74 CORBA::Double theRR, CORBA::Double theWR, CORBA::Double theLtransR, CORBA::Double theLthinR,
75 CORBA::Double theRI, CORBA::Double theWI, CORBA::Double theLtransI, CORBA::Double theLthinI,
76 CORBA::Boolean theHexMesh);
77 GEOM::ListOfGO* MakePipeTShapeTRWithPosition
78 (CORBA::Double theR1, CORBA::Double theW1, CORBA::Double theL1,
79 CORBA::Double theR2, CORBA::Double theW2, CORBA::Double theL2,
80 CORBA::Double theRL, CORBA::Double theWL, CORBA::Double theLtransL, CORBA::Double theLthinL,
81 CORBA::Double theRR, CORBA::Double theWR, CORBA::Double theLtransR, CORBA::Double theLthinR,
82 CORBA::Double theRI, CORBA::Double theWI, CORBA::Double theLtransI, CORBA::Double theLthinI,
83 CORBA::Boolean theHexMesh,
84 GEOM::GEOM_Object_ptr theP1, GEOM::GEOM_Object_ptr theP2, GEOM::GEOM_Object_ptr theP3);
85 GEOM::ListOfGO* MakePipeTShapeTRChamfer
86 (CORBA::Double theR1, CORBA::Double theW1, CORBA::Double theL1,
87 CORBA::Double theR2, CORBA::Double theW2, CORBA::Double theL2,
88 CORBA::Double theRL, CORBA::Double theWL, CORBA::Double theLtransL, CORBA::Double theLthinL,
89 CORBA::Double theRR, CORBA::Double theWR, CORBA::Double theLtransR, CORBA::Double theLthinR,
90 CORBA::Double theRI, CORBA::Double theWI, CORBA::Double theLtransI, CORBA::Double theLthinI,
91 CORBA::Double theH, CORBA::Double theW, CORBA::Boolean theHexMesh);
92 GEOM::ListOfGO* MakePipeTShapeTRChamferWithPosition
93 (CORBA::Double theR1, CORBA::Double theW1, CORBA::Double theL1,
94 CORBA::Double theR2, CORBA::Double theW2, CORBA::Double theL2,
95 CORBA::Double theRL, CORBA::Double theWL, CORBA::Double theLtransL, CORBA::Double theLthinL,
96 CORBA::Double theRR, CORBA::Double theWR, CORBA::Double theLtransR, CORBA::Double theLthinR,
97 CORBA::Double theRI, CORBA::Double theWI, CORBA::Double theLtransI, CORBA::Double theLthinI,
98 CORBA::Double theH, CORBA::Double theW, CORBA::Boolean theHexMesh,
99 GEOM::GEOM_Object_ptr theP1, GEOM::GEOM_Object_ptr theP2, GEOM::GEOM_Object_ptr theP3);
100 GEOM::ListOfGO* MakePipeTShapeTRFillet
101 (CORBA::Double theR1, CORBA::Double theW1, CORBA::Double theL1,
102 CORBA::Double theR2, CORBA::Double theW2, CORBA::Double theL2,
103 CORBA::Double theRL, CORBA::Double theWL, CORBA::Double theLtransL, CORBA::Double theLthinL,
104 CORBA::Double theRR, CORBA::Double theWR, CORBA::Double theLtransR, CORBA::Double theLthinR,
105 CORBA::Double theRI, CORBA::Double theWI, CORBA::Double theLtransI, CORBA::Double theLthinI,
106 CORBA::Double theRF, CORBA::Boolean theHexMesh);
107 GEOM::ListOfGO* MakePipeTShapeTRFilletWithPosition
108 (CORBA::Double theR1, CORBA::Double theW1, CORBA::Double theL1,
109 CORBA::Double theR2, CORBA::Double theW2, CORBA::Double theL2,
110 CORBA::Double theRL, CORBA::Double theWL, CORBA::Double theLtransL, CORBA::Double theLthinL,
111 CORBA::Double theRR, CORBA::Double theWR, CORBA::Double theLtransR, CORBA::Double theLthinR,
112 CORBA::Double theRI, CORBA::Double theWI, CORBA::Double theLtransI, CORBA::Double theLthinI,
113 CORBA::Double theRF, CORBA::Boolean theHexMesh,
114 GEOM::GEOM_Object_ptr theP1, GEOM::GEOM_Object_ptr theP2, GEOM::GEOM_Object_ptr theP3);
116 GEOM::GEOM_Object_ptr MakeDividedDisk (CORBA::Double theR,
117 CORBA::Double theRatio,
118 CORBA::Short theOrientation,
119 GEOM::pattern thePattern);
121 GEOM::GEOM_Object_ptr MakeDividedDiskPntVecR (GEOM::GEOM_Object_ptr theCenter,
122 GEOM::GEOM_Object_ptr theVector,
124 CORBA::Double theRatio,
125 GEOM::pattern thePattern);
127 GEOM::GEOM_Object_ptr MakeDividedCylinder (CORBA::Double theR,
129 GEOM::pattern thePattern);
130 GEOM::GEOM_Object_ptr MakeSmoothingSurface (const GEOM::ListOfGO& thelPoints,
131 CORBA::Long theNbMax,
132 CORBA::Long theDegMax,
133 CORBA::Double theDMax);
135 AdvancedEngine_IOperations* GetOperations();