Version: 9.12.0
GEOMAlgo_GluerAlgo.hxx
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 // File: GEOMAlgo_GluerAlgo.hxx
23 // Created:
24 // Author: Peter KURNEV
25 // <pkv@irinox>
26 //
27 #ifndef _GEOMAlgo_GluerAlgo_HeaderFile
28 #define _GEOMAlgo_GluerAlgo_HeaderFile
29 
30 #include <Standard_Macro.hxx>
31 #include <TopoDS_Shape.hxx>
32 #include <Standard_Real.hxx>
33 #include <Standard_Boolean.hxx>
34 #include <IntTools_Context.hxx>
35 #include <TopTools_DataMapOfShapeListOfShape.hxx>
36 #include <TopTools_DataMapOfShapeShape.hxx>
37 
38 //=======================================================================
39 //class : GEOMAlgo_GluerAlgo
40 //purpose :
41 //=======================================================================
43 public:
44 
45  Standard_EXPORT
47 
48  Standard_EXPORT
49  virtual ~GEOMAlgo_GluerAlgo();
50 
51  Standard_EXPORT
52  virtual void SetArgument(const TopoDS_Shape& theShape) ;
53 
54  Standard_EXPORT
55  const TopoDS_Shape& Argument() const;
56 
57  Standard_EXPORT
58  void SetTolerance(const Standard_Real aT) ;
59 
60  Standard_EXPORT
61  Standard_Real Tolerance() const;
62 
63  Standard_EXPORT
64  void SetCheckGeometry(const Standard_Boolean aFlag) ;
65 
66  Standard_EXPORT
67  Standard_Boolean CheckGeometry() const;
68 
69  Standard_EXPORT
70  virtual void Perform() ;
71 
72  Standard_EXPORT
73  virtual void Clear() ;
74 
75  Standard_EXPORT
76  void SetContext(const Handle(IntTools_Context)&) ;
77 
78  Standard_EXPORT
79  const Handle(IntTools_Context)& Context() ;
80 
81  Standard_EXPORT
82  const TopTools_DataMapOfShapeListOfShape& Images() const;
83 
84  Standard_EXPORT
85  const TopTools_DataMapOfShapeShape& Origins() const;
86 
87 protected:
88  TopoDS_Shape myArgument;
89  Standard_Real myTolerance;
90  Standard_Boolean myCheckGeometry;
91  Handle(IntTools_Context) myContext;
92  TopTools_DataMapOfShapeListOfShape myImages;
93  TopTools_DataMapOfShapeShape myOrigins;
94 
95 private:
96 };
97 #endif
Definition: GEOMAlgo_GluerAlgo.hxx:42
TopoDS_Shape myArgument
Definition: GEOMAlgo_GluerAlgo.hxx:88
Standard_EXPORT void SetCheckGeometry(const Standard_Boolean aFlag)
Definition: GEOMAlgo_GluerAlgo.cxx:83
Standard_EXPORT Standard_Real Tolerance() const
Definition: GEOMAlgo_GluerAlgo.cxx:74
Standard_EXPORT Standard_Boolean CheckGeometry() const
Definition: GEOMAlgo_GluerAlgo.cxx:91
Standard_EXPORT GEOMAlgo_GluerAlgo()
Definition: GEOMAlgo_GluerAlgo.cxx:34
Standard_EXPORT const TopoDS_Shape & Argument() const
Definition: GEOMAlgo_GluerAlgo.cxx:58
Standard_EXPORT const TopTools_DataMapOfShapeListOfShape & Images() const
Definition: GEOMAlgo_GluerAlgo.cxx:115
virtual Standard_EXPORT void Perform()
Definition: GEOMAlgo_GluerAlgo.cxx:140
Standard_EXPORT const Handle(IntTools_Context) &Context()
Standard_EXPORT const TopTools_DataMapOfShapeShape & Origins() const
Definition: GEOMAlgo_GluerAlgo.cxx:123
virtual Standard_EXPORT ~GEOMAlgo_GluerAlgo()
Definition: GEOMAlgo_GluerAlgo.cxx:43
Standard_Real myTolerance
Definition: GEOMAlgo_GluerAlgo.hxx:89
TopTools_DataMapOfShapeShape myOrigins
Definition: GEOMAlgo_GluerAlgo.hxx:93
virtual Standard_EXPORT void Clear()
Definition: GEOMAlgo_GluerAlgo.cxx:131
Standard_EXPORT void SetTolerance(const Standard_Real aT)
Definition: GEOMAlgo_GluerAlgo.cxx:66
Standard_EXPORT void SetContext(const Handle(IntTools_Context)&)
Definition: GEOMAlgo_GluerAlgo.cxx:99
Handle(IntTools_Context) myContext
virtual Standard_EXPORT void SetArgument(const TopoDS_Shape &theShape)
Definition: GEOMAlgo_GluerAlgo.cxx:50
Standard_Boolean myCheckGeometry
Definition: GEOMAlgo_GluerAlgo.hxx:90
TopTools_DataMapOfShapeListOfShape myImages
Definition: GEOMAlgo_GluerAlgo.hxx:92