1 // File generated by CPPExt (Value)
\r
3 // Copyright (C) 1991 - 2000 by
\r
4 // Matra Datavision SA. All rights reserved.
\r
6 // Copyright (C) 2001 - 2004 by
\r
7 // Open CASCADE SA. All rights reserved.
\r
9 // This file is part of the Open CASCADE Technology software.
\r
11 // This software may be distributed and/or modified under the terms and
\r
12 // conditions of the Open CASCADE Public License as defined by Open CASCADE SA
\r
13 // and appearing in the file LICENSE included in the packaging of this file.
\r
15 // This software is distributed on an "AS IS" basis, without warranty of any
\r
16 // kind, and Open CASCADE SA hereby disclaims all such warranties,
\r
17 // including without limitation, any warranties of merchantability, fitness
\r
18 // for a particular purpose or non-infringement. Please see the License for
\r
19 // the specific terms and conditions governing rights and limitations under the
\r
22 #ifndef _GEOMAlgo_Gluer_HeaderFile
\r
23 #define _GEOMAlgo_Gluer_HeaderFile
\r
25 #ifndef _Standard_HeaderFile
\r
26 #include <Standard.hxx>
\r
28 #ifndef _Standard_Macro_HeaderFile
\r
29 #include <Standard_Macro.hxx>
\r
32 #ifndef _Standard_Boolean_HeaderFile
\r
33 #include <Standard_Boolean.hxx>
\r
35 #ifndef _Standard_Real_HeaderFile
\r
36 #include <Standard_Real.hxx>
\r
38 #ifndef _TopTools_DataMapOfShapeListOfShape_HeaderFile
\r
39 #include <TopTools_DataMapOfShapeListOfShape.hxx>
\r
41 #ifndef _TopTools_DataMapOfShapeShape_HeaderFile
\r
42 #include <TopTools_DataMapOfShapeShape.hxx>
\r
44 #ifndef _Standard_Integer_HeaderFile
\r
45 #include <Standard_Integer.hxx>
\r
47 #ifndef _TopTools_ListOfShape_HeaderFile
\r
48 #include <TopTools_ListOfShape.hxx>
\r
50 #ifndef _GEOMAlgo_ShapeAlgo_HeaderFile
\r
51 #include <GEOMAlgo_ShapeAlgo.hxx>
\r
53 #ifndef _TopAbs_ShapeEnum_HeaderFile
\r
54 #include <TopAbs_ShapeEnum.hxx>
\r
56 class TopTools_ListOfShape;
\r
59 class GEOMAlgo_PassKeyShape;
\r
61 class TopoDS_Vertex;
\r
62 class TopTools_DataMapOfShapeListOfShape;
\r
63 class TopTools_DataMapOfShapeShape;
\r
64 class TopTools_MapOfShape;
\r
65 class TopoDS_Compound;
\r
69 class GEOMAlgo_Gluer : public GEOMAlgo_ShapeAlgo {
\r
72 void* operator new(size_t,void* anAddress)
\r
76 void* operator new(size_t size)
\r
78 return Standard::Allocate(size);
\r
80 void operator delete(void *anAddress)
\r
82 if (anAddress) Standard::Free((Standard_Address&)anAddress);
\r
86 Standard_EXPORT GEOMAlgo_Gluer();
\r
87 Standard_EXPORT virtual ~GEOMAlgo_Gluer();
\r
89 Standard_EXPORT void SetCheckGeometry(const Standard_Boolean aFlag) ;
\r
91 Standard_EXPORT Standard_Boolean CheckGeometry() const;
\r
93 Standard_EXPORT virtual void Perform() ;
\r
95 Standard_EXPORT Standard_Integer AloneShapes() const;
\r
97 Standard_EXPORT const TopTools_ListOfShape& Modified(const TopoDS_Shape& S) ;
\r
99 Standard_EXPORT const TopTools_ListOfShape& Generated(const TopoDS_Shape& S) ;
\r
101 Standard_EXPORT Standard_Boolean IsDeleted(const TopoDS_Shape& S) ;
\r
103 Standard_EXPORT const TopTools_DataMapOfShapeListOfShape& Images() const;
\r
105 Standard_EXPORT const TopTools_DataMapOfShapeShape& Origins() const;
\r
107 Standard_EXPORT void MakeSubShapes(const TopoDS_Shape& aS,TopTools_MapOfShape& aM,TopoDS_Compound& aC) ;
\r
109 Standard_EXPORT void SetKeepNonSolids(const Standard_Boolean bFlag) ;
\r
111 Standard_EXPORT Standard_Boolean KeepNonSolids() const;
\r
120 Standard_EXPORT virtual void CheckData() ;
\r
122 Standard_EXPORT virtual void CheckResult() ;
\r
124 Standard_EXPORT void MakeVertices() ;
\r
126 Standard_EXPORT void MakeEdges() ;
\r
128 Standard_EXPORT void MakeFaces() ;
\r
130 Standard_EXPORT void MakeShapes(const TopAbs_ShapeEnum aType) ;
\r
132 Standard_EXPORT void MakeShells() ;
\r
134 Standard_EXPORT void MakeSolids() ;
\r
136 Standard_EXPORT void InnerTolerance() ;
\r
138 Standard_EXPORT void EdgePassKey(const TopoDS_Edge& aE,GEOMAlgo_PassKeyShape& aPK) ;
\r
140 Standard_EXPORT void FacePassKey(const TopoDS_Face& aF,GEOMAlgo_PassKeyShape& aPK) ;
\r
142 Standard_EXPORT void MakeVertex(const TopTools_ListOfShape& aLV,TopoDS_Vertex& aNewV) ;
\r
144 Standard_EXPORT void MakeEdge(const TopoDS_Edge& aEdge,TopoDS_Edge& aNewEdge) ;
\r
146 Standard_EXPORT void MakeFace(const TopoDS_Face& aFace,TopoDS_Face& aNewEdge) ;
\r
148 Standard_EXPORT Standard_Boolean IsToReverse(const TopoDS_Face& aFR,const TopoDS_Face& aF) ;
\r
150 Standard_EXPORT Standard_Boolean HasNewSubShape(const TopoDS_Shape& aS) const;
\r
153 Standard_Boolean myCheckGeometry;
\r
154 Standard_Real myTol;
\r
155 TopTools_DataMapOfShapeListOfShape myImages;
\r
156 TopTools_DataMapOfShapeShape myOrigins;
\r
157 Standard_Integer myNbAlone;
\r
158 TopTools_ListOfShape myGenerated;
\r
159 Standard_Boolean myKeepNonSolids;
\r
174 // other Inline functions and methods (like "C++: function call" methods)
\r