Version: 9.12.0
GEOM_ITransformOperations_i.hh
Go to the documentation of this file.
1 // Copyright (C) 2007-2023 CEA, EDF, OPEN CASCADE
2 //
3 // Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
4 // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
5 //
6 // This library is free software; you can redistribute it and/or
7 // modify it under the terms of the GNU Lesser General Public
8 // License as published by the Free Software Foundation; either
9 // version 2.1 of the License, or (at your option) any later version.
10 //
11 // This library is distributed in the hope that it will be useful,
12 // but WITHOUT ANY WARRANTY; without even the implied warranty of
13 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 // Lesser General Public License for more details.
15 //
16 // You should have received a copy of the GNU Lesser General Public
17 // License along with this library; if not, write to the Free Software
18 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19 //
20 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
21 //
22 
23 #ifndef _GEOM_ITransformOperations_i_HeaderFile
24 #define _GEOM_ITransformOperations_i_HeaderFile
25 
26 #include "GEOMImpl_Gen.hxx"
27 
28 #include <SALOMEconfig.h>
29 
30 #include CORBA_SERVER_HEADER(GEOM_Gen)
31 #include "GEOM_IOperations_i.hh"
32 #include "GEOM_Object_i.hh"
33 
35 
37  public virtual POA_GEOM::GEOM_ITransformOperations,
38  public virtual GEOM_IOperations_i
39 {
40  public:
41  GEOM_ITransformOperations_i (PortableServer::POA_ptr thePOA,
42  GEOM::GEOM_Gen_ptr theEngine,
45 
46  GEOM::GEOM_Object_ptr TranslateTwoPoints (GEOM::GEOM_Object_ptr theObject,
47  GEOM::GEOM_Object_ptr thePoint1,
48  GEOM::GEOM_Object_ptr thePoint2);
49 
50  GEOM::GEOM_Object_ptr TranslateTwoPointsCopy (GEOM::GEOM_Object_ptr theObject,
51  GEOM::GEOM_Object_ptr thePoint1,
52  GEOM::GEOM_Object_ptr thePoint2);
53 
54  GEOM::GEOM_Object_ptr TranslateDXDYDZ (GEOM::GEOM_Object_ptr theObject,
55  CORBA::Double theDX, CORBA::Double theDY, CORBA::Double theDZ);
56 
57 
58  GEOM::GEOM_Object_ptr TranslateDXDYDZCopy (GEOM::GEOM_Object_ptr theObject,
59  CORBA::Double theDX, CORBA::Double theDY, CORBA::Double theDZ);
60 
61  GEOM::GEOM_Object_ptr TranslateVector (GEOM::GEOM_Object_ptr theObject,
62  GEOM::GEOM_Object_ptr theVector);
63 
64  GEOM::GEOM_Object_ptr TranslateVectorCopy (GEOM::GEOM_Object_ptr theObject,
65  GEOM::GEOM_Object_ptr theVector);
66 
67  GEOM::GEOM_Object_ptr TranslateVectorDistance (GEOM::GEOM_Object_ptr theObject,
68  GEOM::GEOM_Object_ptr theVector,
69  CORBA::Double theDistance,
70  CORBA::Boolean theCopy);
71 
72  GEOM::GEOM_Object_ptr MultiTranslate1D (GEOM::GEOM_Object_ptr theObject,
73  GEOM::GEOM_Object_ptr theVector,
74  CORBA::Double theStep, CORBA::Long theNbTimes);
75 
76  GEOM::GEOM_Object_ptr MultiTranslate2D (GEOM::GEOM_Object_ptr theObject,
77  GEOM::GEOM_Object_ptr theVector1,
78  CORBA::Double theStep1, CORBA::Long theNbTimes1,
79  GEOM::GEOM_Object_ptr theVector2,
80  CORBA::Double theStep2, CORBA::Long theNbTimes2);
81 
82  GEOM::GEOM_Object_ptr Rotate (GEOM::GEOM_Object_ptr theObject,
83  GEOM::GEOM_Object_ptr theAxis,
84  CORBA::Double theAngle);
85 
86  GEOM::GEOM_Object_ptr MultiRotate1D (GEOM::GEOM_Object_ptr theObject,
87  GEOM::GEOM_Object_ptr theVector,
88  CORBA::Long theNbTimes);
89 
90  GEOM::GEOM_Object_ptr MultiRotate1DByStep (GEOM::GEOM_Object_ptr theObject,
91  GEOM::GEOM_Object_ptr theAxis,
92  CORBA::Double theAngleStep,
93  CORBA::Long theNbSteps);
94 
95  GEOM::GEOM_Object_ptr MultiRotate2DNbTimes (GEOM::GEOM_Object_ptr theObject,
96  GEOM::GEOM_Object_ptr theAxis,
97  CORBA::Long theNbObjects,
98  CORBA::Double theRadialStep,
99  CORBA::Long theNbSteps);
100 
101  GEOM::GEOM_Object_ptr MultiRotate2DByStep (GEOM::GEOM_Object_ptr theObject,
102  GEOM::GEOM_Object_ptr theVector,
103  CORBA::Double theAngle,
104  CORBA::Long theNbTimes1,
105  CORBA::Double theStep,
106  CORBA::Long theNbTimes2);
107 
108  GEOM::GEOM_Object_ptr MultiRotate2D (GEOM::GEOM_Object_ptr theObject,
109  GEOM::GEOM_Object_ptr theVector,
110  CORBA::Double theAngle,
111  CORBA::Long theNbTimes1,
112  CORBA::Double theStep,
113  CORBA::Long theNbTimes2);
114 
115  GEOM::GEOM_Object_ptr RotateCopy (GEOM::GEOM_Object_ptr theObject,
116  GEOM::GEOM_Object_ptr theAxis,
117  CORBA::Double theAngle);
118 
119  GEOM::GEOM_Object_ptr MirrorPlane (GEOM::GEOM_Object_ptr theObject,
120  GEOM::GEOM_Object_ptr thePlane);
121 
122  GEOM::GEOM_Object_ptr MirrorPlaneCopy (GEOM::GEOM_Object_ptr theObject,
123  GEOM::GEOM_Object_ptr thePlane);
124 
125  GEOM::GEOM_Object_ptr MirrorAxis (GEOM::GEOM_Object_ptr theObject,
126  GEOM::GEOM_Object_ptr theAxis);
127 
128  GEOM::GEOM_Object_ptr MirrorAxisCopy (GEOM::GEOM_Object_ptr theObject,
129  GEOM::GEOM_Object_ptr theAxis);
130 
131  GEOM::GEOM_Object_ptr MirrorPoint (GEOM::GEOM_Object_ptr theObject,
132  GEOM::GEOM_Object_ptr thePoint);
133 
134  GEOM::GEOM_Object_ptr MirrorPointCopy (GEOM::GEOM_Object_ptr theObject,
135  GEOM::GEOM_Object_ptr thePoint);
136 
137  GEOM::GEOM_Object_ptr OffsetShape (GEOM::GEOM_Object_ptr theObject,
138  CORBA::Double theOffset,
139  CORBA::Boolean theJoinByPipes);
140 
141  GEOM::GEOM_Object_ptr OffsetShapeCopy (GEOM::GEOM_Object_ptr theObject,
142  CORBA::Double theOffset,
143  CORBA::Boolean theJoinByPipes);
144 
145  GEOM::GEOM_Object_ptr ProjectShapeCopy (GEOM::GEOM_Object_ptr theSource,
146  GEOM::GEOM_Object_ptr theTarget);
147 
148  CORBA::Double ProjectPointOnWire (GEOM::GEOM_Object_ptr thePoint,
149  GEOM::GEOM_Object_ptr theWire,
150  GEOM::GEOM_Object_out thePointOnEdge,
151  CORBA::Long& theEdgeInWireIndex);
152 
153  GEOM::GEOM_Object_ptr ScaleShape (GEOM::GEOM_Object_ptr theObject,
154  GEOM::GEOM_Object_ptr thePoint,
155  CORBA::Double theFactor);
156 
157  GEOM::GEOM_Object_ptr ScaleShapeCopy (GEOM::GEOM_Object_ptr theObject,
158  GEOM::GEOM_Object_ptr thePoint,
159  CORBA::Double theFactor);
160 
161  GEOM::GEOM_Object_ptr ScaleShapeAlongAxes (GEOM::GEOM_Object_ptr theObject,
162  GEOM::GEOM_Object_ptr thePoint,
163  CORBA::Double theFactorX,
164  CORBA::Double theFactorY,
165  CORBA::Double theFactorZ);
166 
167  GEOM::GEOM_Object_ptr ScaleShapeAlongAxesCopy (GEOM::GEOM_Object_ptr theObject,
168  GEOM::GEOM_Object_ptr thePoint,
169  CORBA::Double theFactorX,
170  CORBA::Double theFactorY,
171  CORBA::Double theFactorZ);
172 
173  GEOM::GEOM_Object_ptr PositionShape (GEOM::GEOM_Object_ptr theObject,
174  GEOM::GEOM_Object_ptr theStartLCS,
175  GEOM::GEOM_Object_ptr theEndLCS);
176 
177  GEOM::GEOM_Object_ptr PositionShapeCopy (GEOM::GEOM_Object_ptr theObject,
178  GEOM::GEOM_Object_ptr theStartLCS,
179  GEOM::GEOM_Object_ptr theEndLCS);
180 
181  GEOM::GEOM_Object_ptr PositionAlongPath (GEOM::GEOM_Object_ptr theObject,
182  GEOM::GEOM_Object_ptr thePath,
183  CORBA::Double theDistance,
184  CORBA::Boolean theCopy,
185  CORBA::Boolean theReverse);
186 
187  GEOM::GEOM_Object_ptr RotateThreePoints (GEOM::GEOM_Object_ptr theObject,
188  GEOM::GEOM_Object_ptr theCentPoint,
189  GEOM::GEOM_Object_ptr thePoint1,
190  GEOM::GEOM_Object_ptr thePoint2);
191 
192  GEOM::GEOM_Object_ptr RotateThreePointsCopy (GEOM::GEOM_Object_ptr theObject,
193  GEOM::GEOM_Object_ptr theCentPoint,
194  GEOM::GEOM_Object_ptr thePoint1,
195  GEOM::GEOM_Object_ptr thePoint2);
196 
197  GEOM::GEOM_Object_ptr TransformLikeOtherCopy (GEOM::GEOM_Object_ptr theObject,
198  GEOM::GEOM_Object_ptr theSample);
199 
200  GEOM::GEOM_Object_ptr RecomputeObject (GEOM::GEOM_Object_ptr theObject);
201 
202  GEOM::GEOM_Object_ptr MakeProjectionOnCylinder
203  (GEOM::GEOM_Object_ptr theObject,
204  CORBA::Double theRadius,
205  CORBA::Double theStartAngle,
206  CORBA::Double theAngleLength,
207  CORBA::Double theAngleRotation);
208 
210 };
211 
212 #endif
#define GEOM_I_EXPORT
Definition: GEOM_GEOM_I.hxx:33
Definition: GEOMImpl_ITransformOperations.hxx:38
Definition: GEOM_IOperations_i.hh:37
::GEOM_IOperations * GetImpl()
Definition: GEOM_IOperations_i.hh:60
Definition: GEOM_ITransformOperations_i.hh:39
::GEOMImpl_ITransformOperations * GetOperations()
Definition: GEOM_ITransformOperations_i.hh:209