Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 10:04:04

0001 // Created on: 1994-11-03
0002 // Created by: Marie Jose MARTZ
0003 // Copyright (c) 1994-1999 Matra Datavision
0004 // Copyright (c) 1999-2014 OPEN CASCADE SAS
0005 //
0006 // This file is part of Open CASCADE Technology software library.
0007 //
0008 // This library is free software; you can redistribute it and/or modify it under
0009 // the terms of the GNU Lesser General Public License version 2.1 as published
0010 // by the Free Software Foundation, with special exception defined in the file
0011 // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
0012 // distribution for complete text of the license and disclaimer of any warranty.
0013 //
0014 // Alternatively, this file may be used under the terms of Open CASCADE
0015 // commercial license or contractual agreement.
0016 
0017 #ifndef _IGESToBRep_Actor_HeaderFile
0018 #define _IGESToBRep_Actor_HeaderFile
0019 
0020 #include <Standard.hxx>
0021 #include <Standard_Type.hxx>
0022 
0023 #include <Standard_Integer.hxx>
0024 #include <Transfer_ActorOfTransientProcess.hxx>
0025 #include <Message_ProgressRange.hxx>
0026 
0027 class Interface_InterfaceModel;
0028 class Standard_Transient;
0029 class Transfer_Binder;
0030 class Transfer_TransientProcess;
0031 
0032 class IGESToBRep_Actor;
0033 DEFINE_STANDARD_HANDLE(IGESToBRep_Actor, Transfer_ActorOfTransientProcess)
0034 
0035 //! This class performs the transfer of an Entity from
0036 //! IGESToBRep
0037 //!
0038 //! I.E. for each type of Entity, it invokes the appropriate Tool
0039 //! then returns the Binder which contains the Result
0040 class IGESToBRep_Actor : public Transfer_ActorOfTransientProcess
0041 {
0042 
0043 public:
0044 
0045   
0046   Standard_EXPORT IGESToBRep_Actor();
0047   
0048   Standard_EXPORT void SetModel (const Handle(Interface_InterfaceModel)& model);
0049   
0050   //! ---Purpose   By default continuity = 0
0051   //! if continuity = 1 : try C1
0052   //! if continuity = 2 : try C2
0053   Standard_EXPORT void SetContinuity (const Standard_Integer continuity = 0);
0054   
0055   //! Return "thecontinuity"
0056   Standard_EXPORT Standard_Integer GetContinuity() const;
0057   
0058   Standard_EXPORT virtual Standard_Boolean Recognize (const Handle(Standard_Transient)& start) Standard_OVERRIDE;
0059   
0060   Standard_EXPORT virtual Handle(Transfer_Binder) Transfer
0061                    (const Handle(Standard_Transient)& start,
0062                     const Handle(Transfer_TransientProcess)& TP,
0063                     const Message_ProgressRange& theProgress = Message_ProgressRange()) Standard_OVERRIDE;
0064   
0065   //! Returns the tolerance which was actually used, either from
0066   //! the file or from statics
0067   Standard_EXPORT Standard_Real UsedTolerance() const;
0068 
0069 
0070 
0071 
0072   DEFINE_STANDARD_RTTIEXT(IGESToBRep_Actor,Transfer_ActorOfTransientProcess)
0073 
0074 protected:
0075 
0076 
0077 
0078 
0079 private:
0080 
0081 
0082   Handle(Interface_InterfaceModel) themodel;
0083   Standard_Integer thecontinuity;
0084   Standard_Real theeps;
0085 
0086 
0087 };
0088 
0089 
0090 
0091 
0092 
0093 
0094 
0095 #endif // _IGESToBRep_Actor_HeaderFile