Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-11-18 10:41:24

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 _TopoDSToStep_MakeTessellatedItem_HeaderFile
0015 #define _TopoDSToStep_MakeTessellatedItem_HeaderFile
0016 
0017 #include <Standard.hxx>
0018 #include <Standard_DefineAlloc.hxx>
0019 #include <Standard_Handle.hxx>
0020 
0021 #include <TopoDSToStep_Root.hxx>
0022 #include <Message_ProgressRange.hxx>
0023 
0024 class StepData_Factors;
0025 class StepVisual_TessellatedItem;
0026 class TopoDS_Face;
0027 class TopoDS_Shell;
0028 class Transfer_FinderProcess;
0029 
0030 //! This class implements the mapping between
0031 //! Face, Shell fromTopoDS and TriangulatedFace from StepVisual.
0032 class TopoDSToStep_MakeTessellatedItem : public TopoDSToStep_Root
0033 {
0034 public:
0035   DEFINE_STANDARD_ALLOC
0036 
0037   Standard_EXPORT TopoDSToStep_MakeTessellatedItem();
0038 
0039   Standard_EXPORT TopoDSToStep_MakeTessellatedItem(
0040     const TopoDS_Face&                         theFace,
0041     TopoDSToStep_Tool&                         theTool,
0042     const occ::handle<Transfer_FinderProcess>& theFP,
0043     const bool                                 theToPreferSurfaceSet,
0044     const StepData_Factors&                    theLocalFactors,
0045     const Message_ProgressRange&               theProgress = Message_ProgressRange());
0046 
0047   Standard_EXPORT TopoDSToStep_MakeTessellatedItem(
0048     const TopoDS_Shell&                        theShell,
0049     TopoDSToStep_Tool&                         theTool,
0050     const occ::handle<Transfer_FinderProcess>& theFP,
0051     const StepData_Factors&                    theLocalFactors,
0052     const Message_ProgressRange&               theProgress = Message_ProgressRange());
0053 
0054   Standard_EXPORT void Init(const TopoDS_Face&                         theFace,
0055                             TopoDSToStep_Tool&                         theTool,
0056                             const occ::handle<Transfer_FinderProcess>& theFP,
0057                             const bool                                 theToPreferSurfaceSet,
0058                             const StepData_Factors&                    theLocalFactors,
0059                             const Message_ProgressRange& theProgress = Message_ProgressRange());
0060 
0061   Standard_EXPORT void Init(const TopoDS_Shell&                        theShell,
0062                             TopoDSToStep_Tool&                         theTool,
0063                             const occ::handle<Transfer_FinderProcess>& theFP,
0064                             const StepData_Factors&                    theLocalFactors,
0065                             const Message_ProgressRange& theProgress = Message_ProgressRange());
0066 
0067   Standard_EXPORT const occ::handle<StepVisual_TessellatedItem>& Value() const;
0068 
0069 private:
0070   occ::handle<StepVisual_TessellatedItem> theTessellatedItem;
0071 };
0072 
0073 #endif // _TopoDSToStep_MakeTessellatedItem_HeaderFile