Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 10:05:15

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 
0036   DEFINE_STANDARD_ALLOC
0037 
0038 
0039   Standard_EXPORT StepToTopoDS_TranslateSolid();
0040 
0041   Standard_EXPORT void Init(const Handle(StepVisual_TessellatedSolid)& theTSo,
0042                             const Handle(Transfer_TransientProcess)& theTP,
0043                             StepToTopoDS_Tool& theTool,
0044                             StepToTopoDS_NMTool& theNMTool,
0045                             const Standard_Boolean theReadTessellatedWhenNoBRepOnly,
0046                             Standard_Boolean& theHasGeom,
0047                             const StepData_Factors& theLocalFactors,
0048                             const Message_ProgressRange& theProgress = Message_ProgressRange());
0049 
0050   Standard_EXPORT const TopoDS_Shape& Value() const;
0051 
0052   Standard_EXPORT StepToTopoDS_TranslateSolidError Error() const;
0053 
0054 protected:
0055 
0056 private:
0057 
0058   StepToTopoDS_TranslateSolidError myError;
0059   TopoDS_Shape myResult;
0060 
0061 };
0062 
0063 #endif // _StepToTopoDS_TranslateSolid_HeaderFile