File indexing completed on 2026-09-20 09:17:53
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017 #ifndef _HLRBRep_ShapeToHLR_HeaderFile
0018 #define _HLRBRep_ShapeToHLR_HeaderFile
0019
0020 #include <Standard.hxx>
0021 #include <Standard_DefineAlloc.hxx>
0022 #include <Standard_Handle.hxx>
0023
0024 #include <TopoDS_Shape.hxx>
0025 #include <BRepTopAdaptor_Tool.hxx>
0026 #include <TopTools_ShapeMapHasher.hxx>
0027 #include <NCollection_DataMap.hxx>
0028 #include <Standard_Integer.hxx>
0029 #include <NCollection_IndexedMap.hxx>
0030 class HLRBRep_Data;
0031 class HLRTopoBRep_OutLiner;
0032 class HLRAlgo_Projector;
0033 class TopoDS_Face;
0034
0035
0036
0037
0038 class HLRBRep_ShapeToHLR
0039 {
0040 public:
0041 DEFINE_STANDARD_ALLOC
0042
0043
0044
0045 Standard_EXPORT static occ::handle<HLRBRep_Data> Load(
0046 const occ::handle<HLRTopoBRep_OutLiner>& S,
0047 const HLRAlgo_Projector& P,
0048 NCollection_DataMap<TopoDS_Shape, BRepTopAdaptor_Tool, TopTools_ShapeMapHasher>& MST,
0049 const int nbIso = 0);
0050
0051 private:
0052 Standard_EXPORT static void ExploreFace(
0053 const occ::handle<HLRTopoBRep_OutLiner>& S,
0054 const occ::handle<HLRBRep_Data>& DS,
0055 const NCollection_IndexedMap<TopoDS_Shape, TopTools_ShapeMapHasher>& FM,
0056 const NCollection_IndexedMap<TopoDS_Shape, TopTools_ShapeMapHasher>& EM,
0057 int& i,
0058 const TopoDS_Face& F,
0059 const bool closed);
0060
0061 Standard_EXPORT static void ExploreShape(
0062 const occ::handle<HLRTopoBRep_OutLiner>& S,
0063 const occ::handle<HLRBRep_Data>& DS,
0064 const NCollection_IndexedMap<TopoDS_Shape, TopTools_ShapeMapHasher>& FM,
0065 const NCollection_IndexedMap<TopoDS_Shape, TopTools_ShapeMapHasher>& EM);
0066 };
0067
0068 #endif