File indexing completed on 2025-01-18 10:03:14
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016 #ifndef _BRepMesh_ShapeVisitor_HeaderFile
0017 #define _BRepMesh_ShapeVisitor_HeaderFile
0018
0019 #include <IMeshTools_ShapeVisitor.hxx>
0020 #include <IMeshData_Model.hxx>
0021 #include <Standard_Transient.hxx>
0022 #include <Standard_Type.hxx>
0023 #include <IMeshTools_Parameters.hxx>
0024 #include <IMeshData_Types.hxx>
0025
0026 class TopoDS_Face;
0027 class TopoDS_Edge;
0028 class TopoDS_Wire;
0029
0030
0031
0032
0033
0034 class BRepMesh_ShapeVisitor : public IMeshTools_ShapeVisitor
0035 {
0036 public:
0037
0038
0039 Standard_EXPORT BRepMesh_ShapeVisitor (const Handle (IMeshData_Model)& theModel);
0040
0041
0042 Standard_EXPORT virtual ~BRepMesh_ShapeVisitor ();
0043
0044
0045 Standard_EXPORT virtual void Visit (const TopoDS_Face& theFace) Standard_OVERRIDE;
0046
0047
0048 Standard_EXPORT virtual void Visit (const TopoDS_Edge& theEdge) Standard_OVERRIDE;
0049
0050 DEFINE_STANDARD_RTTIEXT(BRepMesh_ShapeVisitor, IMeshTools_ShapeVisitor)
0051
0052 private:
0053
0054
0055 Standard_Boolean addWire (
0056 const TopoDS_Wire& theWire,
0057 const IMeshData::IFaceHandle& theDFace);
0058
0059 private:
0060
0061 Handle (IMeshData_Model) myModel;
0062 IMeshData::DMapOfShapeInteger myDEdgeMap;
0063 };
0064
0065 #endif