Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-06-06 08:37:09

0001 // Copyright (c) 2022 OPEN CASCADE SAS
0002 //
0003 // This file is part of Open CASCADE Technology software library.
0004 //
0005 // This library is free software; you can redistribute it and/or modify it under
0006 // the terms of the GNU Lesser General Public License version 2.1 as published
0007 // by the Free Software Foundation, with special exception defined in the file
0008 // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
0009 // distribution for complete text of the license and disclaimer of any warranty.
0010 //
0011 // Alternatively, this file may be used under the terms of Open CASCADE
0012 // commercial license or contractual agreement.
0013 
0014 #ifndef _StepToTopoDS_TranslateSolid_HeaderFile
0015 #define _StepToTopoDS_TranslateSolid_HeaderFile
0016 
0017 #include <Standard.hxx>
0018 #include <Standard_DefineAlloc.hxx>
0019 #include <Standard_Handle.hxx>
0020 
0021 #include <StepToTopoDS_TranslateSolidError.hxx>
0022 #include <TopoDS_Shape.hxx>
0023 #include <StepToTopoDS_Root.hxx>
0024 #include <Message_ProgressRange.hxx>
0025 
0026 class StepShape_ConnectedFaceSet;
0027 class StepVisual_TessellatedSolid;
0028 class StepToTopoDS_Tool;
0029 class StepToTopoDS_NMTool;
0030 class Transfer_TransientProcess;
0031 
0032 class StepToTopoDS_TranslateSolid : public StepToTopoDS_Root
0033 {
0034 public:
0035   DEFINE_STANDARD_ALLOC
0036 
0037   Standard_EXPORT StepToTopoDS_TranslateSolid();
0038 
0039   Standard_EXPORT void Init(const Handle(StepVisual_TessellatedSolid)& theTSo,
0040                             const Handle(Transfer_TransientProcess)&   theTP,
0041                             StepToTopoDS_Tool&                         theTool,
0042                             StepToTopoDS_NMTool&                       theNMTool,
0043                             const Standard_Boolean       theReadTessellatedWhenNoBRepOnly,
0044                             Standard_Boolean&            theHasGeom,
0045                             const StepData_Factors&      theLocalFactors = StepData_Factors(),
0046                             const Message_ProgressRange& theProgress     = Message_ProgressRange());
0047 
0048   Standard_EXPORT const TopoDS_Shape& Value() const;
0049 
0050   Standard_EXPORT StepToTopoDS_TranslateSolidError Error() const;
0051 
0052 protected:
0053 private:
0054   StepToTopoDS_TranslateSolidError myError;
0055   TopoDS_Shape                     myResult;
0056 };
0057 
0058 #endif // _StepToTopoDS_TranslateSolid_HeaderFile