Back to index

salome-geom  6.5.0
GEOM_ITransformOperations_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_ITransformOperations_i_HeaderFile
00024 #define _GEOM_ITransformOperations_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_ITransformOperations.hxx"
00035 
00036 class GEOM_I_EXPORT GEOM_ITransformOperations_i :
00037     public virtual POA_GEOM::GEOM_ITransformOperations,
00038     public virtual GEOM_IOperations_i
00039 {
00040  public:
00041   GEOM_ITransformOperations_i (PortableServer::POA_ptr thePOA,
00042                             GEOM::GEOM_Gen_ptr theEngine,
00043                             ::GEOMImpl_ITransformOperations* theImpl);
00044   ~GEOM_ITransformOperations_i();
00045 
00046   GEOM::GEOM_Object_ptr TranslateTwoPoints (GEOM::GEOM_Object_ptr theObject,
00047                                        GEOM::GEOM_Object_ptr thePoint1,
00048                                        GEOM::GEOM_Object_ptr thePoint2);
00049 
00050   GEOM::GEOM_Object_ptr TranslateTwoPointsCopy (GEOM::GEOM_Object_ptr theObject,
00051                                           GEOM::GEOM_Object_ptr thePoint1,
00052                                           GEOM::GEOM_Object_ptr thePoint2);
00053 
00054   GEOM::GEOM_Object_ptr TranslateDXDYDZ (GEOM::GEOM_Object_ptr theObject,
00055                                          CORBA::Double theDX, CORBA::Double theDY, CORBA::Double theDZ);
00056 
00057 
00058   GEOM::GEOM_Object_ptr TranslateDXDYDZCopy (GEOM::GEOM_Object_ptr theObject,
00059                                              CORBA::Double theDX, CORBA::Double theDY, CORBA::Double theDZ);
00060 
00061   GEOM::GEOM_Object_ptr TranslateVector (GEOM::GEOM_Object_ptr theObject,
00062                                     GEOM::GEOM_Object_ptr theVector);
00063 
00064   GEOM::GEOM_Object_ptr TranslateVectorCopy (GEOM::GEOM_Object_ptr theObject,
00065                                         GEOM::GEOM_Object_ptr theVector);
00066 
00067   GEOM::GEOM_Object_ptr TranslateVectorDistance (GEOM::GEOM_Object_ptr theObject,
00068                                            GEOM::GEOM_Object_ptr theVector,
00069                                            CORBA::Double theDistance,
00070                                            CORBA::Boolean theCopy);
00071 
00072   GEOM::GEOM_Object_ptr MultiTranslate1D (GEOM::GEOM_Object_ptr theObject,
00073                                           GEOM::GEOM_Object_ptr theVector,
00074                                           CORBA::Double theStep, CORBA::Long theNbTimes);
00075 
00076   GEOM::GEOM_Object_ptr MultiTranslate2D (GEOM::GEOM_Object_ptr theObject,
00077                                           GEOM::GEOM_Object_ptr theVector1,
00078                                           CORBA::Double theStep1, CORBA::Long theNbTimes1,
00079                                           GEOM::GEOM_Object_ptr theVector2,
00080                                           CORBA::Double theStep2, CORBA::Long theNbTimes2);
00081 
00082   GEOM::GEOM_Object_ptr Rotate (GEOM::GEOM_Object_ptr theObject,
00083                                 GEOM::GEOM_Object_ptr theAxis,
00084                             CORBA::Double theAngle);
00085 
00086   GEOM::GEOM_Object_ptr MultiRotate1D (GEOM::GEOM_Object_ptr theObject,
00087                                    GEOM::GEOM_Object_ptr theVector,
00088                                    CORBA::Long theNbTimes);
00089  
00090   GEOM::GEOM_Object_ptr MultiRotate2D (GEOM::GEOM_Object_ptr theObject,
00091                                    GEOM::GEOM_Object_ptr theVector, 
00092                                    CORBA::Double theAngle, 
00093                                    CORBA::Long theNbTimes1, 
00094                                    CORBA::Double theStep, 
00095                                    CORBA::Long theNbTimes2);
00096                                       
00097   GEOM::GEOM_Object_ptr RotateCopy (GEOM::GEOM_Object_ptr theObject,
00098                                 GEOM::GEOM_Object_ptr theAxis,
00099                                 CORBA::Double theAngle);  
00100 
00101   GEOM::GEOM_Object_ptr MirrorPlane (GEOM::GEOM_Object_ptr theObject,
00102                                  GEOM::GEOM_Object_ptr thePlane);
00103 
00104   GEOM::GEOM_Object_ptr MirrorPlaneCopy (GEOM::GEOM_Object_ptr theObject,
00105                                     GEOM::GEOM_Object_ptr thePlane);
00106 
00107   GEOM::GEOM_Object_ptr MirrorAxis (GEOM::GEOM_Object_ptr theObject,
00108                                 GEOM::GEOM_Object_ptr theAxis);
00109 
00110   GEOM::GEOM_Object_ptr MirrorAxisCopy (GEOM::GEOM_Object_ptr theObject,
00111                                    GEOM::GEOM_Object_ptr theAxis);
00112 
00113   GEOM::GEOM_Object_ptr MirrorPoint (GEOM::GEOM_Object_ptr theObject,
00114                                  GEOM::GEOM_Object_ptr thePoint);
00115 
00116   GEOM::GEOM_Object_ptr MirrorPointCopy (GEOM::GEOM_Object_ptr theObject,
00117                                     GEOM::GEOM_Object_ptr thePoint);
00118 
00119   GEOM::GEOM_Object_ptr OffsetShape (GEOM::GEOM_Object_ptr theObject,
00120                                  CORBA::Double theOffset);
00121 
00122   GEOM::GEOM_Object_ptr OffsetShapeCopy (GEOM::GEOM_Object_ptr theObject,
00123                                     CORBA::Double theOffset);
00124 
00125   GEOM::GEOM_Object_ptr ProjectShapeCopy (GEOM::GEOM_Object_ptr theSource,
00126                                           GEOM::GEOM_Object_ptr theTarget);
00127 
00128   GEOM::GEOM_Object_ptr ScaleShape (GEOM::GEOM_Object_ptr theObject,
00129                                 GEOM::GEOM_Object_ptr thePoint,
00130                                 CORBA::Double theFactor);
00131 
00132   GEOM::GEOM_Object_ptr ScaleShapeCopy (GEOM::GEOM_Object_ptr theObject,
00133                                    GEOM::GEOM_Object_ptr thePoint,
00134                                    CORBA::Double theFactor);
00135 
00136   GEOM::GEOM_Object_ptr ScaleShapeAlongAxes (GEOM::GEOM_Object_ptr theObject,
00137                                         GEOM::GEOM_Object_ptr thePoint,
00138                                         CORBA::Double theFactorX,
00139                                         CORBA::Double theFactorY,
00140                                         CORBA::Double theFactorZ);
00141 
00142   GEOM::GEOM_Object_ptr ScaleShapeAlongAxesCopy (GEOM::GEOM_Object_ptr theObject,
00143                                            GEOM::GEOM_Object_ptr thePoint,
00144                                            CORBA::Double theFactorX,
00145                                            CORBA::Double theFactorY,
00146                                            CORBA::Double theFactorZ);
00147 
00148   GEOM::GEOM_Object_ptr PositionShape (GEOM::GEOM_Object_ptr theObject,
00149                                    GEOM::GEOM_Object_ptr theStartLCS,
00150                                    GEOM::GEOM_Object_ptr theEndLCS);
00151 
00152   GEOM::GEOM_Object_ptr PositionShapeCopy (GEOM::GEOM_Object_ptr theObject,
00153                                       GEOM::GEOM_Object_ptr theStartLCS,
00154                                       GEOM::GEOM_Object_ptr theEndLCS);
00155 
00156   GEOM::GEOM_Object_ptr PositionAlongPath (GEOM::GEOM_Object_ptr theObject,
00157                                       GEOM::GEOM_Object_ptr thePath,
00158                                       CORBA::Double         theDistance,
00159                                       CORBA::Boolean        theCopy,
00160                                       CORBA::Boolean        theReverse);
00161 
00162   GEOM::GEOM_Object_ptr RotateThreePoints (GEOM::GEOM_Object_ptr theObject,
00163                                       GEOM::GEOM_Object_ptr theCentPoint,
00164                                       GEOM::GEOM_Object_ptr thePoint1,
00165                                       GEOM::GEOM_Object_ptr thePoint2);
00166 
00167   GEOM::GEOM_Object_ptr RotateThreePointsCopy (GEOM::GEOM_Object_ptr theObject,
00168                                           GEOM::GEOM_Object_ptr theCentPoint,
00169                                           GEOM::GEOM_Object_ptr thePoint1,
00170                                           GEOM::GEOM_Object_ptr thePoint2);
00171 
00172   GEOM::GEOM_Object_ptr TransformLikeOtherCopy (GEOM::GEOM_Object_ptr theObject,
00173                                                 GEOM::GEOM_Object_ptr theSample);
00174 
00175   GEOM::GEOM_Object_ptr RecomputeObject (GEOM::GEOM_Object_ptr theObject);
00176 
00177 
00178   ::GEOMImpl_ITransformOperations* GetOperations() { return (::GEOMImpl_ITransformOperations*)GetImpl(); }
00179 };
00180 
00181 #endif