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_ShapeAlgo_HeaderFile
44 #include <GEOMAlgo_ShapeAlgo.hxx>
47 class TopTools_ListOfShape;
49 class TopTools_DataMapOfShapeShape;
52 #ifndef _Standard_HeaderFile
53 #include <Standard.hxx>
55 #ifndef _Standard_Macro_HeaderFile
56 #include <Standard_Macro.hxx>
59 class GEOMAlgo_FinderShapeOn : public GEOMAlgo_ShapeAlgo {
63 void* operator new(size_t,void* anAddress)
67 void* operator new(size_t size)
69 return Standard::Allocate(size);
71 void operator delete(void *anAddress)
73 if (anAddress) Standard::Free((Standard_Address&)anAddress);
77 Standard_EXPORT GEOMAlgo_FinderShapeOn();
78 Standard_EXPORT virtual ~GEOMAlgo_FinderShapeOn();
79 Standard_EXPORT virtual void Perform() ;
80 Standard_EXPORT void SetSurface(const Handle(Geom_Surface)& aS) ;
81 Standard_EXPORT void SetShapeType(const TopAbs_ShapeEnum aST) ;
82 Standard_EXPORT void SetState(const GEOMAlgo_State aSF) ;
83 Standard_EXPORT const Handle_Geom_Surface& Surface() const;
84 Standard_EXPORT TopAbs_ShapeEnum ShapeType() const;
85 Standard_EXPORT GEOMAlgo_State State() const;
86 Standard_EXPORT const TopTools_ListOfShape& Shapes() const;
87 Standard_EXPORT static void CopySource(const TopoDS_Shape& aS,TopTools_DataMapOfShapeShape& aImages,TopTools_DataMapOfShapeShape& aOriginals,TopoDS_Shape& aSC) ;
97 Standard_EXPORT virtual void CheckData() ;
98 Standard_EXPORT void MakeArguments() ;
99 Standard_EXPORT void Find() ;
104 Handle_Geom_Surface mySurface;
105 TopAbs_ShapeEnum myShapeType;
106 GEOMAlgo_State myState;
109 TopTools_ListOfShape myLS;
110 TopTools_DataMapOfShapeShape myImages;
129 // other Inline functions and methods (like "C++: function call" methods)