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_FaceDiscret_HeaderFile
0017 #define _BRepMesh_FaceDiscret_HeaderFile
0018
0019 #include <IMeshTools_ModelAlgo.hxx>
0020 #include <IMeshTools_Parameters.hxx>
0021 #include <IMeshTools_MeshAlgoFactory.hxx>
0022
0023
0024
0025
0026
0027 class BRepMesh_FaceDiscret : public IMeshTools_ModelAlgo
0028 {
0029 public:
0030
0031
0032 Standard_EXPORT BRepMesh_FaceDiscret(
0033 const Handle(IMeshTools_MeshAlgoFactory)& theAlgoFactory);
0034
0035
0036 Standard_EXPORT virtual ~BRepMesh_FaceDiscret();
0037
0038 DEFINE_STANDARD_RTTIEXT(BRepMesh_FaceDiscret, IMeshTools_ModelAlgo)
0039
0040 protected:
0041
0042
0043 Standard_EXPORT virtual Standard_Boolean performInternal (
0044 const Handle(IMeshData_Model)& theModel,
0045 const IMeshTools_Parameters& theParameters,
0046 const Message_ProgressRange& theRange) Standard_OVERRIDE;
0047
0048 private:
0049
0050
0051 void process (const Standard_Integer theFaceIndex,
0052 const Message_ProgressRange& theRange) const;
0053
0054 private:
0055 class FaceListFunctor;
0056
0057 private:
0058
0059 Handle(IMeshTools_MeshAlgoFactory) myAlgoFactory;
0060 Handle(IMeshData_Model) myModel;
0061 IMeshTools_Parameters myParameters;
0062 };
0063
0064 #endif