Salome HOME
Update mail address
[modules/geom.git] / src / GEOM_I / GEOM_ITransformOperations_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_ITransformOperations_i_HeaderFile
22 #define _GEOM_ITransformOperations_i_HeaderFile
23
24
25 #include <SALOMEconfig.h>
26
27 #include CORBA_SERVER_HEADER(GEOM_Gen)
28 #include "GEOM_IOperations_i.hh"
29 #include "GEOM_Object_i.hh"
30
31 #include "GEOMImpl_ITransformOperations.hxx"
32
33 class GEOM_ITransformOperations_i :
34     public virtual POA_GEOM::GEOM_ITransformOperations,
35     public virtual GEOM_IOperations_i
36 {
37  public:
38   GEOM_ITransformOperations_i (PortableServer::POA_ptr thePOA,
39                                GEOM::GEOM_Gen_ptr theEngine,
40                                ::GEOMImpl_ITransformOperations* theImpl);
41   ~GEOM_ITransformOperations_i();
42
43   GEOM::GEOM_Object_ptr TranslateTwoPoints (GEOM::GEOM_Object_ptr theObject,
44                                             GEOM::GEOM_Object_ptr thePoint1,
45                                             GEOM::GEOM_Object_ptr thePoint2);
46
47   GEOM::GEOM_Object_ptr TranslateTwoPointsCopy (GEOM::GEOM_Object_ptr theObject,
48                                                 GEOM::GEOM_Object_ptr thePoint1,
49                                                 GEOM::GEOM_Object_ptr thePoint2);
50
51   GEOM::GEOM_Object_ptr TranslateDXDYDZ (GEOM::GEOM_Object_ptr theObject, CORBA::Double theDX, CORBA::Double theDY, CORBA::Double theDZ);
52
53
54   GEOM::GEOM_Object_ptr TranslateDXDYDZCopy (GEOM::GEOM_Object_ptr theObject,  CORBA::Double theDX, CORBA::Double theDY, CORBA::Double theDZ);
55
56   GEOM::GEOM_Object_ptr TranslateVector (GEOM::GEOM_Object_ptr theObject,
57                                          GEOM::GEOM_Object_ptr theVector);
58
59   GEOM::GEOM_Object_ptr TranslateVectorCopy (GEOM::GEOM_Object_ptr theObject,
60                                              GEOM::GEOM_Object_ptr theVector);
61
62   GEOM::GEOM_Object_ptr MultiTranslate1D (GEOM::GEOM_Object_ptr theObject, GEOM::GEOM_Object_ptr theVector, CORBA::Double theStep, CORBA::Long theNbTimes);
63
64   GEOM::GEOM_Object_ptr MultiTranslate2D (GEOM::GEOM_Object_ptr theObject, GEOM::GEOM_Object_ptr theVector1, CORBA::Double theStep1, CORBA::Long theNbTimes1,
65                                                        GEOM::GEOM_Object_ptr theVector2, CORBA::Double theStep2, CORBA::Long theNbTimes2);
66
67   GEOM::GEOM_Object_ptr Rotate (GEOM::GEOM_Object_ptr theObject,
68                                 GEOM::GEOM_Object_ptr theAxis,
69                                 CORBA::Double theAngle);
70
71   GEOM::GEOM_Object_ptr MultiRotate1D (GEOM::GEOM_Object_ptr theObject,
72                                        GEOM::GEOM_Object_ptr theVector,
73                                        CORBA::Long theNbTimes);
74
75  
76   GEOM::GEOM_Object_ptr MultiRotate2D (GEOM::GEOM_Object_ptr theObject,
77                                        GEOM::GEOM_Object_ptr theVector, 
78                                        CORBA::Double theAngle, 
79                                        CORBA::Long theNbTimes1, 
80                                        CORBA::Double theStep, 
81                                        CORBA::Long theNbTimes2);
82                                            
83   GEOM::GEOM_Object_ptr RotateCopy (GEOM::GEOM_Object_ptr theObject,
84                                     GEOM::GEOM_Object_ptr theAxis,
85                                     CORBA::Double theAngle);  
86
87   GEOM::GEOM_Object_ptr MirrorPlane (GEOM::GEOM_Object_ptr theObject,
88                                      GEOM::GEOM_Object_ptr thePlane);
89
90   GEOM::GEOM_Object_ptr MirrorPlaneCopy (GEOM::GEOM_Object_ptr theObject,
91                                          GEOM::GEOM_Object_ptr thePlane);
92
93   GEOM::GEOM_Object_ptr MirrorAxis (GEOM::GEOM_Object_ptr theObject,
94                                     GEOM::GEOM_Object_ptr theAxis);
95
96   GEOM::GEOM_Object_ptr MirrorAxisCopy (GEOM::GEOM_Object_ptr theObject,
97                                         GEOM::GEOM_Object_ptr theAxis);
98
99   GEOM::GEOM_Object_ptr MirrorPoint (GEOM::GEOM_Object_ptr theObject,
100                                      GEOM::GEOM_Object_ptr thePoint);
101
102   GEOM::GEOM_Object_ptr MirrorPointCopy (GEOM::GEOM_Object_ptr theObject,
103                                          GEOM::GEOM_Object_ptr thePoint);
104
105   GEOM::GEOM_Object_ptr OffsetShape (GEOM::GEOM_Object_ptr theObject,
106                                      CORBA::Double theOffset);
107
108   GEOM::GEOM_Object_ptr OffsetShapeCopy (GEOM::GEOM_Object_ptr theObject,
109                                          CORBA::Double theOffset);
110
111   GEOM::GEOM_Object_ptr ScaleShape (GEOM::GEOM_Object_ptr theObject,
112                                     GEOM::GEOM_Object_ptr thePoint,
113                                     CORBA::Double theFactor);
114
115   GEOM::GEOM_Object_ptr ScaleShapeCopy (GEOM::GEOM_Object_ptr theObject,
116                                         GEOM::GEOM_Object_ptr thePoint,
117                                         CORBA::Double theFactor);
118
119   GEOM::GEOM_Object_ptr PositionShape (GEOM::GEOM_Object_ptr theObject,
120                                        GEOM::GEOM_Object_ptr theStartLCS,
121                                        GEOM::GEOM_Object_ptr theEndLCS);
122
123   GEOM::GEOM_Object_ptr PositionShapeCopy (GEOM::GEOM_Object_ptr theObject,
124                                            GEOM::GEOM_Object_ptr theStartLCS,
125                                            GEOM::GEOM_Object_ptr theEndLCS);
126
127   ::GEOMImpl_ITransformOperations* GetOperations() { return (::GEOMImpl_ITransformOperations*)GetImpl(); }
128 };
129
130 #endif