]> SALOME platform Git repositories - modules/geom.git/blob - src/GEOM_I/GEOM_I3DPrimOperations_i.hh
Salome HOME
*** empty log message ***
[modules/geom.git] / src / GEOM_I / GEOM_I3DPrimOperations_i.hh
1 // Copyright (C) 2005  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
2 // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
3 // 
4 // This library is free software; you can redistribute it and/or
5 // modify it under the terms of the GNU Lesser General Public
6 // License as published by the Free Software Foundation; either 
7 // version 2.1 of the License.
8 // 
9 // This library is distributed in the hope that it will be useful 
10 // but WITHOUT ANY WARRANTY; without even the implied warranty of 
11 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
12 // Lesser General Public License for more details.
13 //
14 // You should have received a copy of the GNU Lesser General Public  
15 // License along with this library; if not, write to the Free Software 
16 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
17 //
18 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
19 //
20
21 #ifndef _GEOM_I3DPrimOperations_i_HeaderFile
22 #define _GEOM_I3DPrimOperations_i_HeaderFile
23
24 #include "GEOMImpl_Gen.hxx"
25
26 #include <SALOMEconfig.h>
27
28 #include CORBA_SERVER_HEADER(GEOM_Gen)
29 #include "GEOM_IOperations_i.hh"
30 #include "GEOM_Object_i.hh"
31
32 #include "GEOMImpl_I3DPrimOperations.hxx"
33
34 class GEOM_I_EXPORT GEOM_I3DPrimOperations_i :
35     public virtual POA_GEOM::GEOM_I3DPrimOperations,
36     public virtual GEOM_IOperations_i
37 {
38  public:
39   GEOM_I3DPrimOperations_i (PortableServer::POA_ptr thePOA, GEOM::GEOM_Gen_ptr theEngine,
40                             ::GEOMImpl_I3DPrimOperations* theImpl);
41   ~GEOM_I3DPrimOperations_i();
42
43   GEOM::GEOM_Object_ptr MakeBoxDXDYDZ (CORBA::Double theDX,
44                                        CORBA::Double theDY,
45                                        CORBA::Double theDZ);
46
47   GEOM::GEOM_Object_ptr MakeBoxTwoPnt (GEOM::GEOM_Object_ptr thePnt1,
48                                        GEOM::GEOM_Object_ptr thePnt2);
49
50   GEOM::GEOM_Object_ptr MakeCylinderRH (CORBA::Double theR,
51                                         CORBA::Double theH);
52
53   GEOM::GEOM_Object_ptr MakeCylinderPntVecRH (GEOM::GEOM_Object_ptr thePnt,
54                                               GEOM::GEOM_Object_ptr theVec,
55                                               CORBA::Double theR,
56                                               CORBA::Double theH);
57
58   GEOM::GEOM_Object_ptr MakeConeR1R2H (CORBA::Double theR1,
59                                        CORBA::Double theR2,
60                                        CORBA::Double theH);
61
62   GEOM::GEOM_Object_ptr MakeConePntVecR1R2H (GEOM::GEOM_Object_ptr thePnt,
63                                              GEOM::GEOM_Object_ptr theVec,
64                                              CORBA::Double theR1,
65                                              CORBA::Double theR2,
66                                              CORBA::Double theH);
67
68   GEOM::GEOM_Object_ptr MakeSphereR (CORBA::Double theR);
69
70   GEOM::GEOM_Object_ptr MakeSpherePntR (GEOM::GEOM_Object_ptr thePnt,
71                                         CORBA::Double theR);
72
73   GEOM::GEOM_Object_ptr MakeTorusRR (CORBA::Double theRMajor,
74                                      CORBA::Double theRMinor);
75
76   GEOM::GEOM_Object_ptr MakeTorusPntVecRR (GEOM::GEOM_Object_ptr theCenter,
77                                            GEOM::GEOM_Object_ptr theVector,
78                                            CORBA::Double theRMajor,
79                                            CORBA::Double theRMinor);
80
81   GEOM::GEOM_Object_ptr MakePrismVecH (GEOM::GEOM_Object_ptr theBase,
82                                        GEOM::GEOM_Object_ptr theVec,
83                                        CORBA::Double theH);
84
85   GEOM::GEOM_Object_ptr MakePrismTwoPnt (GEOM::GEOM_Object_ptr theBase,
86                                          GEOM::GEOM_Object_ptr thePoint1,
87                                          GEOM::GEOM_Object_ptr thePoint2);
88
89   GEOM::GEOM_Object_ptr MakePipe (GEOM::GEOM_Object_ptr theBase,
90                                   GEOM::GEOM_Object_ptr thePath);
91
92   GEOM::GEOM_Object_ptr MakeRevolutionAxisAngle (GEOM::GEOM_Object_ptr theBase,
93                                                  GEOM::GEOM_Object_ptr theAxis,
94                                                  CORBA::Double theAngle);
95
96   GEOM::GEOM_Object_ptr MakeFilling(GEOM::GEOM_Object_ptr theShape, CORBA::Long theMinDeg, CORBA::Long theMaxDeg, CORBA::Double theTol2D, CORBA::Double theTol3D, CORBA::Long theNbIter);
97
98   GEOM::GEOM_Object_ptr MakeThruSections(const GEOM::ListOfGO& theSeqSections,
99                                          CORBA::Boolean theModeSolid,
100                                          CORBA::Double thePreci,
101                                          CORBA::Boolean theRuled);
102   
103   GEOM::GEOM_Object_ptr MakePipeWithDifferentSections(const GEOM::ListOfGO& theBases,
104                                                       const GEOM::ListOfGO& theLocations,
105                                                       GEOM::GEOM_Object_ptr thePath,
106                                                       CORBA::Boolean theWithContact,
107                                                       CORBA::Boolean theWithCorrections);
108
109   GEOM::GEOM_Object_ptr MakePipeWithShellSections(const GEOM::ListOfGO& theBases,
110                                                   const GEOM::ListOfGO& theSubBases,
111                                                   const GEOM::ListOfGO& theLocations,
112                                                   GEOM::GEOM_Object_ptr thePath,
113                                                   CORBA::Boolean theWithContact,
114                                                   CORBA::Boolean theWithCorrections);
115
116   ::GEOMImpl_I3DPrimOperations* GetOperations()
117   { return (::GEOMImpl_I3DPrimOperations*)GetImpl(); }
118 };
119
120 #endif