Back to index

salome-geom  6.5.0
GEOM_I3DPrimOperations_i.hh
Go to the documentation of this file.
00001 // Copyright (C) 2007-2012  CEA/DEN, EDF R&D, OPEN CASCADE
00002 //
00003 // Copyright (C) 2003-2007  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
00004 // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
00005 //
00006 // This library is free software; you can redistribute it and/or
00007 // modify it under the terms of the GNU Lesser General Public
00008 // License as published by the Free Software Foundation; either
00009 // version 2.1 of the License.
00010 //
00011 // This library is distributed in the hope that it will be useful,
00012 // but WITHOUT ANY WARRANTY; without even the implied warranty of
00013 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00014 // Lesser General Public License for more details.
00015 //
00016 // You should have received a copy of the GNU Lesser General Public
00017 // License along with this library; if not, write to the Free Software
00018 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
00019 //
00020 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
00021 //
00022 
00023 #ifndef _GEOM_I3DPrimOperations_i_HeaderFile
00024 #define _GEOM_I3DPrimOperations_i_HeaderFile
00025 
00026 #include "GEOMImpl_Gen.hxx"
00027 
00028 #include <SALOMEconfig.h>
00029 
00030 #include CORBA_SERVER_HEADER(GEOM_Gen)
00031 #include "GEOM_IOperations_i.hh"
00032 #include "GEOM_Object_i.hh"
00033 
00034 #include "GEOMImpl_I3DPrimOperations.hxx"
00035 
00036 class GEOM_I_EXPORT GEOM_I3DPrimOperations_i :
00037     public virtual POA_GEOM::GEOM_I3DPrimOperations,
00038     public virtual GEOM_IOperations_i
00039 {
00040  public:
00041   GEOM_I3DPrimOperations_i (PortableServer::POA_ptr thePOA, GEOM::GEOM_Gen_ptr theEngine,
00042                          ::GEOMImpl_I3DPrimOperations* theImpl);
00043   ~GEOM_I3DPrimOperations_i();
00044 
00045   GEOM::GEOM_Object_ptr MakeBoxDXDYDZ (CORBA::Double theDX,
00046                                    CORBA::Double theDY,
00047                                    CORBA::Double theDZ);
00048 
00049   GEOM::GEOM_Object_ptr MakeBoxTwoPnt (GEOM::GEOM_Object_ptr thePnt1,
00050                                    GEOM::GEOM_Object_ptr thePnt2);
00051                                 
00052   GEOM::GEOM_Object_ptr MakeFaceHW (CORBA::Double theH,
00053                                 CORBA::Double theW,
00054                                 CORBA::Short  theOrientation);
00055 
00056   GEOM::GEOM_Object_ptr MakeFaceObjHW (GEOM::GEOM_Object_ptr theObj,
00057                                    CORBA::Double theH,
00058                                    CORBA::Double theW);
00059 
00060   GEOM::GEOM_Object_ptr MakeDiskPntVecR (GEOM::GEOM_Object_ptr theCenter,
00061                                     GEOM::GEOM_Object_ptr theVector,
00062                                     double theR);
00063 
00064   GEOM::GEOM_Object_ptr MakeDiskThreePnt (GEOM::GEOM_Object_ptr thePnt1,
00065                                      GEOM::GEOM_Object_ptr thePnt2,
00066                                      GEOM::GEOM_Object_ptr thePnt3);
00067 
00068   GEOM::GEOM_Object_ptr MakeDiskR (CORBA::Double theR,
00069                                CORBA::Short  theOrientation);
00070 
00071   GEOM::GEOM_Object_ptr MakeCylinderRH (CORBA::Double theR,
00072                                    CORBA::Double theH);
00073 
00074   GEOM::GEOM_Object_ptr MakeCylinderPntVecRH (GEOM::GEOM_Object_ptr thePnt,
00075                                          GEOM::GEOM_Object_ptr theVec,
00076                                          CORBA::Double theR,
00077                                          CORBA::Double theH);
00078 
00079   GEOM::GEOM_Object_ptr MakeConeR1R2H (CORBA::Double theR1,
00080                                    CORBA::Double theR2,
00081                                    CORBA::Double theH);
00082 
00083   GEOM::GEOM_Object_ptr MakeConePntVecR1R2H (GEOM::GEOM_Object_ptr thePnt,
00084                                         GEOM::GEOM_Object_ptr theVec,
00085                                         CORBA::Double theR1,
00086                                         CORBA::Double theR2,
00087                                         CORBA::Double theH);
00088 
00089   GEOM::GEOM_Object_ptr MakeSphereR (CORBA::Double theR);
00090 
00091   GEOM::GEOM_Object_ptr MakeSpherePntR (GEOM::GEOM_Object_ptr thePnt,
00092                                    CORBA::Double theR);
00093 
00094   GEOM::GEOM_Object_ptr MakeTorusRR (CORBA::Double theRMajor,
00095                                  CORBA::Double theRMinor);
00096 
00097   GEOM::GEOM_Object_ptr MakeTorusPntVecRR (GEOM::GEOM_Object_ptr theCenter,
00098                                       GEOM::GEOM_Object_ptr theVector,
00099                                       CORBA::Double theRMajor,
00100                                       CORBA::Double theRMinor);
00101 
00102   GEOM::GEOM_Object_ptr MakePrismVecH (GEOM::GEOM_Object_ptr theBase,
00103                                    GEOM::GEOM_Object_ptr theVec,
00104                                    CORBA::Double theH);
00105 
00106   GEOM::GEOM_Object_ptr MakePrismVecH2Ways (GEOM::GEOM_Object_ptr theBase,
00107                                        GEOM::GEOM_Object_ptr theVec,
00108                                        CORBA::Double theH);
00109 
00110   GEOM::GEOM_Object_ptr MakePrismVecHWithScaling (GEOM::GEOM_Object_ptr theBase,
00111                                                   GEOM::GEOM_Object_ptr theVec,
00112                                                   CORBA::Double theH,
00113                                                   CORBA::Double theScaleFactor);
00114 
00115   GEOM::GEOM_Object_ptr MakePrismTwoPnt (GEOM::GEOM_Object_ptr theBase,
00116                                     GEOM::GEOM_Object_ptr thePoint1,
00117                                     GEOM::GEOM_Object_ptr thePoint2);
00118 
00119   GEOM::GEOM_Object_ptr MakePrismTwoPnt2Ways (GEOM::GEOM_Object_ptr theBase,
00120                                          GEOM::GEOM_Object_ptr thePoint1,
00121                                          GEOM::GEOM_Object_ptr thePoint2);
00122 
00123   GEOM::GEOM_Object_ptr MakePrismTwoPntWithScaling (GEOM::GEOM_Object_ptr theBase,
00124                                                     GEOM::GEOM_Object_ptr thePoint1,
00125                                                     GEOM::GEOM_Object_ptr thePoint2,
00126                                                     CORBA::Double         theScaleFactor);
00127 
00128   GEOM::GEOM_Object_ptr MakePrismDXDYDZ (GEOM::GEOM_Object_ptr theBase,
00129                                      CORBA::Double         theDX,
00130                                      CORBA::Double         theDY,
00131                                      CORBA::Double         theDZ);
00132   GEOM::GEOM_Object_ptr MakePrismDXDYDZ2Ways (GEOM::GEOM_Object_ptr theBase,
00133                                           CORBA::Double         theDX,
00134                                           CORBA::Double         theDY,
00135                                           CORBA::Double         theDZ);
00136   GEOM::GEOM_Object_ptr MakePrismDXDYDZWithScaling (GEOM::GEOM_Object_ptr theBase,
00137                                                     CORBA::Double         theDX,
00138                                                     CORBA::Double         theDY,
00139                                                     CORBA::Double         theDZ,
00140                                                     CORBA::Double         theScaleFactor);
00141   
00142   GEOM::GEOM_Object_ptr MakeDraftPrism (GEOM::GEOM_Object_ptr theInitShape,
00143                                         GEOM::GEOM_Object_ptr theBase,
00144                                         CORBA::Double         theHeight,
00145                                         CORBA::Double         theAngle,
00146                                         CORBA::Boolean        theFuse);
00147                             
00148   GEOM::GEOM_Object_ptr MakePipe (GEOM::GEOM_Object_ptr theBase,
00149                               GEOM::GEOM_Object_ptr thePath);
00150 
00151   GEOM::GEOM_Object_ptr MakeRevolutionAxisAngle (GEOM::GEOM_Object_ptr theBase,
00152                                            GEOM::GEOM_Object_ptr theAxis,
00153                                            CORBA::Double theAngle);
00154 
00155   GEOM::GEOM_Object_ptr MakeRevolutionAxisAngle2Ways (GEOM::GEOM_Object_ptr theBase,
00156                                                 GEOM::GEOM_Object_ptr theAxis,
00157                                                 CORBA::Double theAngle);
00158 
00159   GEOM::GEOM_Object_ptr MakeFilling(GEOM::GEOM_Object_ptr theShape,
00160                                     CORBA::Long theMinDeg, CORBA::Long theMaxDeg,
00161                                     CORBA::Double theTol2D, CORBA::Double theTol3D,
00162                                     CORBA::Long theNbIter,
00163                                     GEOM::filling_oper_method theMethod,
00164                                     CORBA::Boolean theApprox);
00165 
00166   GEOM::GEOM_Object_ptr MakeThruSections(const GEOM::ListOfGO& theSeqSections,
00167                                     CORBA::Boolean theModeSolid,
00168                                     CORBA::Double thePreci,
00169                                     CORBA::Boolean theRuled);
00170   
00171   GEOM::GEOM_Object_ptr MakePipeWithDifferentSections(const GEOM::ListOfGO& theBases,
00172                                                 const GEOM::ListOfGO& theLocations,
00173                                                 GEOM::GEOM_Object_ptr thePath,
00174                                                 CORBA::Boolean theWithContact,
00175                                                 CORBA::Boolean theWithCorrections);
00176 
00177   GEOM::GEOM_Object_ptr MakePipeWithShellSections(const GEOM::ListOfGO& theBases,
00178                                             const GEOM::ListOfGO& theSubBases,
00179                                             const GEOM::ListOfGO& theLocations,
00180                                             GEOM::GEOM_Object_ptr thePath,
00181                                             CORBA::Boolean theWithContact,
00182                                             CORBA::Boolean theWithCorrections);
00183 
00184   GEOM::GEOM_Object_ptr MakePipeShellsWithoutPath(const GEOM::ListOfGO& theBases,
00185                                             const GEOM::ListOfGO& theLocations);
00186 
00187   GEOM::GEOM_Object_ptr MakePipeBiNormalAlongVector (GEOM::GEOM_Object_ptr theBase,
00188                                                GEOM::GEOM_Object_ptr thePath,
00189                                                GEOM::GEOM_Object_ptr theVec);
00190 
00191   ::GEOMImpl_I3DPrimOperations* GetOperations()
00192   { return (::GEOMImpl_I3DPrimOperations*)GetImpl(); }
00193 };
00194 
00195 #endif