Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-09-27 09:19:29

0001 // Created on: 1996-10-23
0002 // Created by: Jean Yves LEBEY
0003 // Copyright (c) 1996-1999 Matra Datavision
0004 // Copyright (c) 1999-2014 OPEN CASCADE SAS
0005 //
0006 // This file is part of Open CASCADE Technology software library.
0007 //
0008 // This library is free software; you can redistribute it and/or modify it under
0009 // the terms of the GNU Lesser General Public License version 2.1 as published
0010 // by the Free Software Foundation, with special exception defined in the file
0011 // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
0012 // distribution for complete text of the license and disclaimer of any warranty.
0013 //
0014 // Alternatively, this file may be used under the terms of Open CASCADE
0015 // commercial license or contractual agreement.
0016 
0017 #ifndef _TopOpeBRep_FFDumper_HeaderFile
0018 #define _TopOpeBRep_FFDumper_HeaderFile
0019 
0020 #include <Standard.hxx>
0021 #include <Standard_Type.hxx>
0022 
0023 #include <TopOpeBRep_PFacesFiller.hxx>
0024 #include <TopoDS_Face.hxx>
0025 #include <TopoDS_Shape.hxx>
0026 #include <Standard_Integer.hxx>
0027 #include <TopTools_ShapeMapHasher.hxx>
0028 #include <NCollection_DataMap.hxx>
0029 #include <Standard_Transient.hxx>
0030 #include <TopOpeBRepDS_Kind.hxx>
0031 class TopOpeBRep_LineInter;
0032 class TopOpeBRep_VPointInter;
0033 class TopoDS_Shape;
0034 
0035 class TopOpeBRep_FFDumper : public Standard_Transient
0036 {
0037 
0038 public:
0039   Standard_EXPORT TopOpeBRep_FFDumper(const TopOpeBRep_PFacesFiller& PFF);
0040 
0041   Standard_EXPORT void Init(const TopOpeBRep_PFacesFiller& PFF);
0042 
0043   Standard_EXPORT void DumpLine(const int I);
0044 
0045   Standard_EXPORT void DumpLine(const TopOpeBRep_LineInter& L);
0046 
0047   Standard_EXPORT void DumpVP(const TopOpeBRep_VPointInter& VP);
0048 
0049   Standard_EXPORT void DumpVP(const TopOpeBRep_VPointInter& VP, const int ISI);
0050 
0051   Standard_EXPORT int ExploreIndex(const TopoDS_Shape& S, const int ISI) const;
0052 
0053   Standard_EXPORT void DumpDSP(const TopOpeBRep_VPointInter& VP,
0054                                const TopOpeBRepDS_Kind       GK,
0055                                const int                     G,
0056                                const bool                    newinDS) const;
0057 
0058   Standard_EXPORT TopOpeBRep_PFacesFiller PFacesFillerDummy() const;
0059 
0060   DEFINE_STANDARD_RTTIEXT(TopOpeBRep_FFDumper, Standard_Transient)
0061 
0062 private:
0063   TopOpeBRep_PFacesFiller                                         myPFF;
0064   TopoDS_Face                                                     myF1;
0065   TopoDS_Face                                                     myF2;
0066   NCollection_DataMap<TopoDS_Shape, int, TopTools_ShapeMapHasher> myEM1;
0067   NCollection_DataMap<TopoDS_Shape, int, TopTools_ShapeMapHasher> myEM2;
0068   int                                                             myEn1;
0069   int                                                             myEn2;
0070   int                                                             myLineIndex;
0071 };
0072 
0073 #endif // _TopOpeBRep_FFDumper_HeaderFile