1 // Created on: 1994-11-03
2 // Created by: Marie Jose MARTZ
3 // Copyright (c) 1994-1999 Matra Datavision
4 // Copyright (c) 1999-2014 OPEN CASCADE SAS
6 // This file is part of Open CASCADE Technology software library.
8 // This library is free software; you can redistribute it and/or modify it under
9 // the terms of the GNU Lesser General Public License version 2.1 as published
10 // by the Free Software Foundation, with special exception defined in the file
11 // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
12 // distribution for complete text of the license and disclaimer of any warranty.
14 // Alternatively, this file may be used under the terms of Open CASCADE
15 // commercial license or contractual agreement.
17 #ifndef _IGESToBRep_Actor_HeaderFile
18 #define _IGESToBRep_Actor_HeaderFile
20 #include <Standard.hxx>
21 #include <Standard_Type.hxx>
23 #include <Standard_Integer.hxx>
24 #include <Standard_Real.hxx>
25 #include <Transfer_ActorOfTransientProcess.hxx>
26 #include <Standard_Boolean.hxx>
27 class Interface_InterfaceModel;
28 class Standard_Transient;
29 class Transfer_Binder;
30 class Transfer_TransientProcess;
33 class IGESToBRep_Actor;
34 DEFINE_STANDARD_HANDLE(IGESToBRep_Actor, Transfer_ActorOfTransientProcess)
36 //! This class performs the transfer of an Entity from
39 //! I.E. for each type of Entity, it invokes the appropriate Tool
40 //! then returns the Binder which contains the Result
41 class IGESToBRep_Actor : public Transfer_ActorOfTransientProcess
47 Standard_EXPORT IGESToBRep_Actor();
49 Standard_EXPORT void SetModel (const Handle(Interface_InterfaceModel)& model);
51 //! ---Purpose By default continuity = 0
52 //! if continuity = 1 : try C1
53 //! if continuity = 2 : try C2
54 Standard_EXPORT void SetContinuity (const Standard_Integer continuity = 0);
56 //! Return "thecontinuity"
57 Standard_EXPORT Standard_Integer GetContinuity() const;
59 Standard_EXPORT virtual Standard_Boolean Recognize (const Handle(Standard_Transient)& start) Standard_OVERRIDE;
61 Standard_EXPORT virtual Handle(Transfer_Binder) Transfer (const Handle(Standard_Transient)& start, const Handle(Transfer_TransientProcess)& TP) Standard_OVERRIDE;
63 //! Returns the tolerance which was actually used, either from
64 //! the file or from statics
65 Standard_EXPORT Standard_Real UsedTolerance() const;
70 DEFINE_STANDARD_RTTIEXT(IGESToBRep_Actor,Transfer_ActorOfTransientProcess)
80 Handle(Interface_InterfaceModel) themodel;
81 Standard_Integer thecontinuity;
93 #endif // _IGESToBRep_Actor_HeaderFile