]> SALOME platform Git repositories - modules/geom.git/blob - src/GEOMAlgo/GEOMAlgo_Gluer.hxx
Salome HOME
b5cfb0bdd9dacf6bd72977c6db9cd31b0e80f5b4
[modules/geom.git] / src / GEOMAlgo / GEOMAlgo_Gluer.hxx
1 // File generated by CPPExt (Value)
2 //
3 //                     Copyright (C) 1991 - 2000 by  
4 //                      Matra Datavision SA.  All rights reserved.
5 //  
6 //                     Copyright (C) 2001 - 2004 by
7 //                     Open CASCADE SA.  All rights reserved.
8 // 
9 // This file is part of the Open CASCADE Technology software.
10 //
11 // This software may be distributed and/or modified under the terms and
12 // conditions of the Open CASCADE Public License as defined by Open CASCADE SA
13 // and appearing in the file LICENSE included in the packaging of this file.
14 //  
15 // This software is distributed on an "AS IS" basis, without warranty of any
16 // kind, and Open CASCADE SA hereby disclaims all such warranties,
17 // including without limitation, any warranties of merchantability, fitness
18 // for a particular purpose or non-infringement. Please see the License for
19 // the specific terms and conditions governing rights and limitations under the
20 // License.
21
22 #ifndef _GEOMAlgo_Gluer_HeaderFile
23 #define _GEOMAlgo_Gluer_HeaderFile
24
25 #ifndef _Standard_Boolean_HeaderFile
26 #include <Standard_Boolean.hxx>
27 #endif
28 #ifndef _TopTools_DataMapOfShapeListOfShape_HeaderFile
29 #include <TopTools_DataMapOfShapeListOfShape.hxx>
30 #endif
31 #ifndef _TopTools_DataMapOfShapeShape_HeaderFile
32 #include <TopTools_DataMapOfShapeShape.hxx>
33 #endif
34 #ifndef _IntTools_Context_HeaderFile
35 #include <IntTools_Context.hxx>
36 #endif
37 #ifndef _TopAbs_ShapeEnum_HeaderFile
38 #include <TopAbs_ShapeEnum.hxx>
39 #endif
40 #ifndef _Standard_Real_HeaderFile
41 #include <Standard_Real.hxx>
42 #endif
43 #ifndef _GEOMAlgo_ShapeAlgo_HeaderFile
44 #include <GEOMAlgo_ShapeAlgo.hxx>
45 #endif
46 class TopoDS_Edge;
47 class GEOMAlgo_PassKey;
48 class TopoDS_Face;
49 class TopTools_DataMapOfShapeListOfShape;
50 class TopTools_DataMapOfShapeShape;
51
52
53 #ifndef _Standard_HeaderFile
54 #include <Standard.hxx>
55 #endif
56 #ifndef _Standard_Macro_HeaderFile
57 #include <Standard_Macro.hxx>
58 #endif
59
60 class GEOMAlgo_Gluer  : public GEOMAlgo_ShapeAlgo {
61
62 public:
63
64     void* operator new(size_t,void* anAddress) 
65       {
66         return anAddress;
67       }
68     void* operator new(size_t size) 
69       { 
70         return Standard::Allocate(size); 
71       }
72     void  operator delete(void *anAddress) 
73       { 
74         if (anAddress) Standard::Free((Standard_Address&)anAddress); 
75       }
76  // Methods PUBLIC
77  // 
78 Standard_EXPORT GEOMAlgo_Gluer();
79 Standard_EXPORT virtual ~GEOMAlgo_Gluer();
80 Standard_EXPORT   void SetCheckGeometry(const Standard_Boolean aFlag) ;
81 Standard_EXPORT   Standard_Boolean CheckGeometry() const;
82 Standard_EXPORT virtual  void Perform() ;
83 Standard_EXPORT  const TopTools_DataMapOfShapeListOfShape& Images() const;
84 Standard_EXPORT  const TopTools_DataMapOfShapeShape& Origins() const;
85
86
87
88
89
90 protected:
91
92  // Methods PROTECTED
93  // 
94 Standard_EXPORT virtual  void CheckData() ;
95 Standard_EXPORT virtual  void CheckResult() ;
96 Standard_EXPORT   void BuildResult() ;
97 Standard_EXPORT   void MakeVertices() ;
98 Standard_EXPORT   void MakeEdges() ;
99 Standard_EXPORT   void MakeFaces() ;
100 Standard_EXPORT   void MakeShapes(const TopAbs_ShapeEnum aType) ;
101 Standard_EXPORT   void MakeShells() ;
102 Standard_EXPORT   void MakeSolids() ;
103 Standard_EXPORT   void InnerTolerance() ;
104 Standard_EXPORT   void EdgePassKey(const TopoDS_Edge& aE,GEOMAlgo_PassKey& aPK) ;
105 Standard_EXPORT   void FacePassKey(const TopoDS_Face& aF,GEOMAlgo_PassKey& aPK) ;
106 Standard_EXPORT   void MakeEdge(const TopoDS_Edge& aEdge,TopoDS_Edge& aNewEdge) ;
107 Standard_EXPORT   void MakeFace(const TopoDS_Face& aFace,TopoDS_Face& aNewEdge) ;
108 Standard_EXPORT   Standard_Boolean IsToReverse(const TopoDS_Face& aFR,const TopoDS_Face& aF) ;
109
110
111  // Fields PROTECTED
112  //
113 Standard_Boolean myCheckGeometry;
114 TopTools_DataMapOfShapeListOfShape myImages;
115 TopTools_DataMapOfShapeShape myOrigins;
116 IntTools_Context myContext;
117 TopAbs_ShapeEnum myTypeResult;
118 Standard_Real myTol;
119
120
121 private: 
122
123  // Methods PRIVATE
124  // 
125
126
127  // Fields PRIVATE
128  //
129
130
131 };
132
133
134
135
136
137 // other Inline functions and methods (like "C++: function call" methods)
138 //
139
140
141 #endif