Open CASCADE Technology 7.8.0
Public Member Functions | Protected Member Functions
BRepMesh_DelaunayNodeInsertionMeshAlgo< RangeSplitter, BaseAlgo > Class Template Reference

Extends base Delaunay meshing algo in order to enable possibility of addition of free vertices and internal nodes into the mesh. More...

#include <BRepMesh_DelaunayNodeInsertionMeshAlgo.hxx>

Inheritance diagram for BRepMesh_DelaunayNodeInsertionMeshAlgo< RangeSplitter, BaseAlgo >:
Inheritance graph
[legend]

Public Member Functions

 BRepMesh_DelaunayNodeInsertionMeshAlgo ()
 Constructor.
 
virtual ~BRepMesh_DelaunayNodeInsertionMeshAlgo ()
 Destructor.
 
Standard_Boolean IsPreProcessSurfaceNodes () const
 Returns PreProcessSurfaceNodes flag.
 
void SetPreProcessSurfaceNodes (const Standard_Boolean isPreProcessSurfaceNodes)
 Sets PreProcessSurfaceNodes flag. If TRUE, registers surface nodes before generation of base mesh. If FALSE, inserts surface nodes after generation of base mesh.
 
- Public Member Functions inherited from BRepMesh_NodeInsertionMeshAlgo< RangeSplitter, BaseAlgo >
 BRepMesh_NodeInsertionMeshAlgo ()
 Constructor.
 
virtual ~BRepMesh_NodeInsertionMeshAlgo ()
 Destructor.
 
virtual void Perform (const IMeshData::IFaceHandle &theDFace, const IMeshTools_Parameters &theParameters, const Message_ProgressRange &theRange) override
 Performs processing of the given face.
 

Protected Member Functions

virtual Standard_Boolean initDataStructure () override
 Performs initialization of data structure using existing model data.
 
virtual std::pair< Standard_Integer, Standard_IntegergetCellsCount (const Standard_Integer theVerticesNb) override
 Returns size of cell to be used by acceleration circles grid structure.
 
virtual void postProcessMesh (BRepMesh_Delaun &theMesher, const Message_ProgressRange &theRange) override
 Performs processing of generated mesh. Generates surface nodes and inserts them into structure.
 
Standard_Boolean insertNodes (const Handle< IMeshData::ListOfPnt2d > &theNodes, BRepMesh_Delaun &theMesher, const Message_ProgressRange &theRange)
 Inserts nodes into mesh.
 
- Protected Member Functions inherited from BRepMesh_NodeInsertionMeshAlgo< RangeSplitter, BaseAlgo >
virtual Standard_Integer addNodeToStructure (const gp_Pnt2d &thePoint, const Standard_Integer theLocation3d, const BRepMesh_DegreeOfFreedom theMovability, const Standard_Boolean isForceAdd) override
 Adds the given 2d point to mesh data structure. Returns index of node in the structure.
 
virtual gp_Pnt2d getNodePoint2d (const BRepMesh_Vertex &theVertex) const override
 Returns 2d point associated to the given vertex.
 
const RangeSplittergetRangeSplitter () const
 Returns range splitter.
 
const Handle< BRepMesh_Classifier > & getClassifier () const
 Returns classifier.
 

Additional Inherited Members

- Protected Types inherited from BRepMesh_NodeInsertionMeshAlgo< RangeSplitter, BaseAlgo >
typedef NCollection_Shared< NCollection_Sequence< const gp_Pnt2d * > > SequenceOfPnt2d
 

Detailed Description

template<class RangeSplitter, class BaseAlgo>
class BRepMesh_DelaunayNodeInsertionMeshAlgo< RangeSplitter, BaseAlgo >

Extends base Delaunay meshing algo in order to enable possibility of addition of free vertices and internal nodes into the mesh.

Constructor & Destructor Documentation

◆ BRepMesh_DelaunayNodeInsertionMeshAlgo()

Constructor.

◆ ~BRepMesh_DelaunayNodeInsertionMeshAlgo()

Destructor.

Member Function Documentation

◆ getCellsCount()

template<class RangeSplitter , class BaseAlgo >
virtual std::pair< Standard_Integer, Standard_Integer > BRepMesh_DelaunayNodeInsertionMeshAlgo< RangeSplitter, BaseAlgo >::getCellsCount ( const Standard_Integer  theVerticesNb)
inlineoverrideprotectedvirtual

Returns size of cell to be used by acceleration circles grid structure.

◆ initDataStructure()

template<class RangeSplitter , class BaseAlgo >
virtual Standard_Boolean BRepMesh_DelaunayNodeInsertionMeshAlgo< RangeSplitter, BaseAlgo >::initDataStructure ( )
inlineoverrideprotectedvirtual

Performs initialization of data structure using existing model data.

Reimplemented from BRepMesh_NodeInsertionMeshAlgo< RangeSplitter, BaseAlgo >.

◆ insertNodes()

template<class RangeSplitter , class BaseAlgo >
Standard_Boolean BRepMesh_DelaunayNodeInsertionMeshAlgo< RangeSplitter, BaseAlgo >::insertNodes ( const Handle< IMeshData::ListOfPnt2d > &  theNodes,
BRepMesh_Delaun theMesher,
const Message_ProgressRange theRange 
)
inlineprotected

Inserts nodes into mesh.

◆ IsPreProcessSurfaceNodes()

template<class RangeSplitter , class BaseAlgo >
Standard_Boolean BRepMesh_DelaunayNodeInsertionMeshAlgo< RangeSplitter, BaseAlgo >::IsPreProcessSurfaceNodes ( ) const
inline

Returns PreProcessSurfaceNodes flag.

◆ postProcessMesh()

template<class RangeSplitter , class BaseAlgo >
virtual void BRepMesh_DelaunayNodeInsertionMeshAlgo< RangeSplitter, BaseAlgo >::postProcessMesh ( BRepMesh_Delaun theMesher,
const Message_ProgressRange theRange 
)
inlineoverrideprotectedvirtual

Performs processing of generated mesh. Generates surface nodes and inserts them into structure.

Reimplemented in BRepMesh_DelaunayDeflectionControlMeshAlgo< RangeSplitter, BaseAlgo >.

◆ SetPreProcessSurfaceNodes()

template<class RangeSplitter , class BaseAlgo >
void BRepMesh_DelaunayNodeInsertionMeshAlgo< RangeSplitter, BaseAlgo >::SetPreProcessSurfaceNodes ( const Standard_Boolean  isPreProcessSurfaceNodes)
inline

Sets PreProcessSurfaceNodes flag. If TRUE, registers surface nodes before generation of base mesh. If FALSE, inserts surface nodes after generation of base mesh.


The documentation for this class was generated from the following file: