Back to home page

EIC code displayed by LXR

 
 

    


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

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