Salome HOME
yfr : Merge with v1.2
[modules/smesh.git] / src / SMDS / SMDSEdit_Transform.hxx
1 // File generated by CPPExt (Value)
2 //                     Copyright (C) 1991,1995 by
3 //  
4 //                      MATRA DATAVISION, FRANCE
5 //  
6 // This software is furnished in accordance with the terms and conditions
7 // of the contract and with the inclusion of the above copyright notice.
8 // This software or any other copy thereof may not be provided or otherwise
9 // be made available to any other person. No title to an ownership of the
10 // software is hereby transferred.
11 //  
12 // At the termination of the contract, the software and all copies of this
13 // software must be deleted.
14
15 #ifndef _SMDSEdit_Transform_HeaderFile
16 #define _SMDSEdit_Transform_HeaderFile
17
18 #ifndef _Handle_SMDS_Mesh_HeaderFile
19 #include "Handle_SMDS_Mesh.hxx"
20 #endif
21 #ifndef _gp_Trsf_HeaderFile
22 #include <gp_Trsf.hxx>
23 #endif
24 #ifndef _SMDS_ListOfMeshElement_HeaderFile
25 #include "SMDS_ListOfMeshElement.hxx"
26 #endif
27 class SMDS_Mesh;
28 class gp_Trsf;
29 class SMDS_ListOfMeshElement;
30
31
32 #ifndef _Standard_HeaderFile
33 #include <Standard.hxx>
34 #endif
35 #ifndef _Standard_Macro_HeaderFile
36 #include <Standard_Macro.hxx>
37 #endif
38
39 class SMDSEdit_Transform  {
40
41 public:
42
43     inline void* operator new(size_t,void* anAddress) 
44       {
45         return anAddress;
46       }
47     inline void* operator new(size_t size) 
48       { 
49         return Standard::Allocate(size); 
50       }
51     inline void  operator delete(void *anAddress) 
52       { 
53         if (anAddress) Standard::Free((Standard_Address&)anAddress); 
54       }
55 //    inline void  operator delete(void *anAddress, size_t size) 
56 //      { 
57 //        if (anAddress) Standard::Free((Standard_Address&)anAddress,size); 
58 //      }
59  // Methods PUBLIC
60  // 
61 Standard_EXPORT SMDSEdit_Transform(const Handle(SMDS_Mesh)& aMesh,const gp_Trsf& aTrsf);
62 Standard_EXPORT SMDSEdit_Transform(const Handle(SMDS_Mesh)& aMesh,const SMDS_ListOfMeshElement& aListOfME,const gp_Trsf& aTrsf);
63 Standard_EXPORT   void Perform() ;
64 Standard_EXPORT   void SetTrsf(const gp_Trsf& aTrsf) ;
65 Standard_EXPORT   gp_Trsf GetTrsf() const;
66
67
68
69
70
71 protected:
72
73  // Methods PROTECTED
74  // 
75
76
77  // Fields PROTECTED
78  //
79
80
81 private: 
82
83  // Methods PRIVATE
84  // 
85
86
87  // Fields PRIVATE
88  //
89 Handle_SMDS_Mesh myMesh;
90 gp_Trsf myTrsf;
91 SMDS_ListOfMeshElement myListOfME;
92
93
94 };
95
96
97
98
99
100 // other inline functions and methods (like "C++: function call" methods)
101 //
102
103
104 #endif