1 // Created on: 1993-05-04
2 // Created by: Modelistation
3 // Copyright (c) 1993-1999 Matra Datavision
4 // Copyright (c) 1999-2014 OPEN CASCADE SAS
6 // This file is part of Open CASCADE Technology software library.
8 // This library is free software; you can redistribute it and/or modify it under
9 // the terms of the GNU Lesser General Public License version 2.1 as published
10 // by the Free Software Foundation, with special exception defined in the file
11 // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
12 // distribution for complete text of the license and disclaimer of any warranty.
14 // Alternatively, this file may be used under the terms of Open CASCADE
15 // commercial license or contractual agreement.
17 #ifndef _HLRBRep_ShapeToHLR_HeaderFile
18 #define _HLRBRep_ShapeToHLR_HeaderFile
20 #include <Standard.hxx>
21 #include <Standard_DefineAlloc.hxx>
22 #include <Standard_Handle.hxx>
24 #include <BRepTopAdaptor_MapOfShapeTool.hxx>
25 #include <Standard_Integer.hxx>
26 #include <TopTools_IndexedMapOfShape.hxx>
27 #include <Standard_Boolean.hxx>
29 class HLRTopoBRep_OutLiner;
30 class HLRAlgo_Projector;
34 //! compute the OutLinedShape of a Shape with an
35 //! OutLiner, a Projector and create the Data
36 //! Structure of a Shape.
37 class HLRBRep_ShapeToHLR
44 //! Creates a DataStructure containing the OutLiner
45 //! <S> depending on the projector <P> and nbIso.
46 Standard_EXPORT static Handle(HLRBRep_Data) Load (const Handle(HLRTopoBRep_OutLiner)& S, const HLRAlgo_Projector& P, BRepTopAdaptor_MapOfShapeTool& MST, const Standard_Integer nbIso = 0);
60 Standard_EXPORT static void ExploreFace (const Handle(HLRTopoBRep_OutLiner)& S, const Handle(HLRBRep_Data)& DS, const TopTools_IndexedMapOfShape& FM, const TopTools_IndexedMapOfShape& EM, Standard_Integer& i, const TopoDS_Face& F, const Standard_Boolean closed);
62 Standard_EXPORT static void ExploreShape (const Handle(HLRTopoBRep_OutLiner)& S, const Handle(HLRBRep_Data)& DS, const TopTools_IndexedMapOfShape& FM, const TopTools_IndexedMapOfShape& EM);
75 #endif // _HLRBRep_ShapeToHLR_HeaderFile