1 // Copyright (c) 2022 OPEN CASCADE SAS
3 // This file is part of Open CASCADE Technology software library.
5 // This library is free software; you can redistribute it and/or modify it under
6 // the terms of the GNU Lesser General Public License version 2.1 as published
7 // by the Free Software Foundation, with special exception defined in the file
8 // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
9 // distribution for complete text of the license and disclaimer of any warranty.
11 // Alternatively, this file may be used under the terms of Open CASCADE
12 // commercial license or contractual agreement.
14 #ifndef _TopoDSToStep_MakeTessellatedItem_HeaderFile
15 #define _TopoDSToStep_MakeTessellatedItem_HeaderFile
17 #include <Standard.hxx>
18 #include <Standard_DefineAlloc.hxx>
19 #include <Standard_Handle.hxx>
21 #include <TopoDSToStep_Root.hxx>
22 #include <Message_ProgressRange.hxx>
24 class StepVisual_TessellatedItem;
27 class Transfer_FinderProcess;
29 //! This class implements the mapping between
30 //! Face, Shell fromTopoDS and TriangulatedFace from StepVisual.
31 class TopoDSToStep_MakeTessellatedItem : public TopoDSToStep_Root
38 Standard_EXPORT TopoDSToStep_MakeTessellatedItem();
40 Standard_EXPORT TopoDSToStep_MakeTessellatedItem(const TopoDS_Face& theFace,
41 TopoDSToStep_Tool& theTool,
42 const Handle(Transfer_FinderProcess)& theFP,
43 const Message_ProgressRange& theProgress = Message_ProgressRange());
45 Standard_EXPORT TopoDSToStep_MakeTessellatedItem(const TopoDS_Shell& theShell,
46 TopoDSToStep_Tool& theTool,
47 const Handle(Transfer_FinderProcess)& theFP,
48 const Message_ProgressRange& theProgress = Message_ProgressRange());
50 Standard_EXPORT void Init(const TopoDS_Face& theFace,
51 TopoDSToStep_Tool& theTool,
52 const Handle(Transfer_FinderProcess)& theFP,
53 const Message_ProgressRange& theProgress = Message_ProgressRange());
55 Standard_EXPORT void Init(const TopoDS_Shell& theShell,
56 TopoDSToStep_Tool& theTool,
57 const Handle(Transfer_FinderProcess)& theFP,
58 const Message_ProgressRange& theProgress = Message_ProgressRange());
60 Standard_EXPORT const Handle(StepVisual_TessellatedItem)& Value() const;
75 Handle(StepVisual_TessellatedItem) theTessellatedItem;
86 #endif // _TopoDSToStep_MakeTessellatedItem_HeaderFile