1 // File generated by CPPExt (Value)
3 // Copyright (C) 1991 - 2000 by
4 // Matra Datavision SA. All rights reserved.
6 // Copyright (C) 2001 - 2004 by
7 // Open CASCADE SA. All rights reserved.
9 // This file is part of the Open CASCADE Technology software.
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.
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
22 #ifndef _GEOMAlgo_FinderShapeOn_HeaderFile
23 #define _GEOMAlgo_FinderShapeOn_HeaderFile
25 #ifndef _Handle_Geom_Surface_HeaderFile
26 #include <Handle_Geom_Surface.hxx>
28 #ifndef _TopAbs_ShapeEnum_HeaderFile
29 #include <TopAbs_ShapeEnum.hxx>
31 #ifndef _GEOMAlgo_State_HeaderFile
32 #include <GEOMAlgo_State.hxx>
34 #ifndef _TopoDS_Shape_HeaderFile
35 #include <TopoDS_Shape.hxx>
37 #ifndef _TopTools_ListOfShape_HeaderFile
38 #include <TopTools_ListOfShape.hxx>
40 #ifndef _TopTools_DataMapOfShapeShape_HeaderFile
41 #include <TopTools_DataMapOfShapeShape.hxx>
43 #ifndef _GEOMAlgo_IndexedDataMapOfShapeState_HeaderFile
44 #include <GEOMAlgo_IndexedDataMapOfShapeState.hxx>
46 #ifndef _Standard_Boolean_HeaderFile
47 #include <Standard_Boolean.hxx>
49 #ifndef _GEOMAlgo_ShapeAlgo_HeaderFile
50 #include <GEOMAlgo_ShapeAlgo.hxx>
53 class TopTools_ListOfShape;
55 class TopTools_DataMapOfShapeShape;
58 #ifndef _Standard_HeaderFile
59 #include <Standard.hxx>
61 #ifndef _Standard_Macro_HeaderFile
62 #include <Standard_Macro.hxx>
65 class GEOMAlgo_FinderShapeOn : public GEOMAlgo_ShapeAlgo {
69 void* operator new(size_t,void* anAddress)
73 void* operator new(size_t size)
75 return Standard::Allocate(size);
77 void operator delete(void *anAddress)
79 if (anAddress) Standard::Free((Standard_Address&)anAddress);
83 Standard_EXPORT GEOMAlgo_FinderShapeOn();
84 Standard_EXPORT virtual ~GEOMAlgo_FinderShapeOn();
85 Standard_EXPORT virtual void Perform() ;
86 Standard_EXPORT void SetSurface(const Handle(Geom_Surface)& aS) ;
87 Standard_EXPORT void SetShapeType(const TopAbs_ShapeEnum aST) ;
88 Standard_EXPORT void SetState(const GEOMAlgo_State aSF) ;
89 Standard_EXPORT const Handle_Geom_Surface& Surface() const;
90 Standard_EXPORT TopAbs_ShapeEnum ShapeType() const;
91 Standard_EXPORT GEOMAlgo_State State() const;
92 Standard_EXPORT const TopTools_ListOfShape& Shapes() const;
93 Standard_EXPORT static void CopySource(const TopoDS_Shape& aS,TopTools_DataMapOfShapeShape& aImages,TopTools_DataMapOfShapeShape& aOriginals,TopoDS_Shape& aSC) ;
103 Standard_EXPORT virtual void CheckData() ;
104 Standard_EXPORT void MakeArgument1() ;
105 Standard_EXPORT void MakeArgument2() ;
106 Standard_EXPORT void Find() ;
107 Standard_EXPORT void Find(const TopoDS_Shape& aS) ;
108 Standard_EXPORT void FindVertices() ;
113 Handle_Geom_Surface mySurface;
114 TopAbs_ShapeEnum myShapeType;
115 GEOMAlgo_State myState;
118 TopTools_ListOfShape myLS;
119 TopTools_DataMapOfShapeShape myImages;
120 GEOMAlgo_IndexedDataMapOfShapeState myMSS;
121 Standard_Boolean myIsAnalytic;
140 // other Inline functions and methods (like "C++: function call" methods)