]> SALOME platform Git repositories - modules/geom.git/blob - src/GEOMImpl/GEOMImpl_ITransformOperations.hxx
Salome HOME
Merge with version on tag OCC-V2_1_0d
[modules/geom.git] / src / GEOMImpl / GEOMImpl_ITransformOperations.hxx
1
2 #ifndef _GEOMImpl_ITransformOperations_HXX_
3 #define _GEOMImpl_ITransformOperations_HXX_
4
5 #include "Utils_SALOME_Exception.hxx"
6 #include "GEOM_IOperations.hxx"
7 #include "GEOM_Engine.hxx"
8 #include "GEOM_Object.hxx"
9 #include <TDocStd_Document.hxx>
10
11 class GEOMImpl_ITransformOperations : public GEOM_IOperations {
12  public:
13   GEOMImpl_ITransformOperations(GEOM_Engine* theEngine, int theDocID);
14   ~GEOMImpl_ITransformOperations();
15
16   Handle(GEOM_Object) TranslateTwoPoints (Handle(GEOM_Object) theObject,
17                                           Handle(GEOM_Object) thePoint1,
18                                           Handle(GEOM_Object) thePoint2);
19
20   Handle(GEOM_Object) TranslateTwoPointsCopy (Handle(GEOM_Object) theObject,
21                                               Handle(GEOM_Object) thePoint1,
22                                               Handle(GEOM_Object) thePoint2);
23
24   Handle(GEOM_Object) TranslateDXDYDZ (Handle(GEOM_Object) theObject, double theX, double theY,  double theZ);
25
26   Handle(GEOM_Object) TranslateDXDYDZCopy (Handle(GEOM_Object) theObject, double theX, double theY,  double theZ);
27
28   Handle(GEOM_Object) TranslateVector (Handle(GEOM_Object) theObject,
29                                        Handle(GEOM_Object) theVector);
30
31   Handle(GEOM_Object) TranslateVectorCopy (Handle(GEOM_Object) theObject,
32                                            Handle(GEOM_Object) theVector);
33
34   Handle(GEOM_Object) Translate1D (Handle(GEOM_Object) theObject, Handle(GEOM_Object) theVector, double theStep, Standard_Integer theNbTimes);
35
36   Handle(GEOM_Object) Translate2D (Handle(GEOM_Object) theObject, Handle(GEOM_Object) theVector, double theStep1, Standard_Integer theNbTimes1,
37                                    Handle(GEOM_Object) theVector2, double theStep2, Standard_Integer theNbTimes2);
38
39   Handle(GEOM_Object) MirrorPlane (Handle(GEOM_Object) theObject,
40                                    Handle(GEOM_Object) thePlane);
41
42   Handle(GEOM_Object) MirrorPlaneCopy (Handle(GEOM_Object) theObject,
43                                        Handle(GEOM_Object) thePlane);
44
45   Handle(GEOM_Object) MirrorAxis (Handle(GEOM_Object) theObject,
46                                   Handle(GEOM_Object) theAxis);
47
48   Handle(GEOM_Object) MirrorAxisCopy (Handle(GEOM_Object) theObject,
49                                       Handle(GEOM_Object) theAxis);
50
51   Handle(GEOM_Object) MirrorPoint (Handle(GEOM_Object) theObject,
52                                    Handle(GEOM_Object) thePoint);
53
54   Handle(GEOM_Object) MirrorPointCopy (Handle(GEOM_Object) theObject,
55                                        Handle(GEOM_Object) thePoint);
56
57   Handle(GEOM_Object) OffsetShape (Handle(GEOM_Object) theObject,
58                                    double theOffset);
59
60   Handle(GEOM_Object) OffsetShapeCopy (Handle(GEOM_Object) theObject,
61                                        double theOffset);
62
63   Handle(GEOM_Object) ScaleShape (Handle(GEOM_Object) theObject,
64                                   Handle(GEOM_Object) thePoint,
65                                   double theFactor);
66
67   Handle(GEOM_Object) ScaleShapeCopy (Handle(GEOM_Object) theObject,
68                                       Handle(GEOM_Object) thePoint,
69                                       double theFactor);
70
71   Handle(GEOM_Object) PositionShape (Handle(GEOM_Object) theObject,
72                                      Handle(GEOM_Object) theStartLCS,
73                                      Handle(GEOM_Object) theEndLCS);
74
75   Handle(GEOM_Object) PositionShapeCopy (Handle(GEOM_Object) theObject,
76                                          Handle(GEOM_Object) theStartLCS,
77                                          Handle(GEOM_Object) theEndLCS);
78
79   Handle(GEOM_Object) Rotate (Handle(GEOM_Object) theObject, Handle(GEOM_Object) theAxis, double theAngle);
80
81   Handle(GEOM_Object) RotateCopy (Handle(GEOM_Object) theObject, Handle(GEOM_Object) theAxis, double theAngle);
82
83   Handle(GEOM_Object) Rotate1D (Handle(GEOM_Object) theObject, Handle(GEOM_Object) theAxis, Standard_Integer theNbTimes);
84   
85   Handle(GEOM_Object) Rotate2D (Handle(GEOM_Object) theObject, 
86                                 Handle(GEOM_Object) theAxis, 
87                                 double theAngle, 
88                                 Standard_Integer theNbTimes1,
89                                 double theStep, 
90                                 Standard_Integer theNbTimes2);
91 };
92
93 #endif