Reen::SurfaceTriangulation Class Reference

#include <SurfaceTriangulation.h>

Public Member Functions

void perform (const std::vector< Base::Vector3f > &normals)
 Pass the normals to the points given in the constructor. More...
 
void perform (int ksearch)
 Set the number of k nearest neighbors to use for the normal estimation. More...
 
void setMu (double mu)
 Set the multiplier of the nearest neighbor distance to obtain the final search radius for each point (this will make the algorithm adapt to different point densities in the cloud). More...
 
void setSearchRadius (double radius)
 Set the sphere radius that is to be used for determining the k-nearest neighbors used for triangulating. More...
 
 SurfaceTriangulation (const Points::PointKernel &, Mesh::MeshObject &)
 

Constructor & Destructor Documentation

◆ SurfaceTriangulation()

Reen::SurfaceTriangulation::SurfaceTriangulation ( const Points::PointKernel ,
Mesh::MeshObject  
)

Member Function Documentation

◆ perform() [1/2]

void Reen::SurfaceTriangulation::perform ( const std::vector< Base::Vector3f > &  normals)

Pass the normals to the points given in the constructor.

Parameters
[in]normalsthe normals to the given points.

◆ perform() [2/2]

void Reen::SurfaceTriangulation::perform ( int  ksearch)

Set the number of k nearest neighbors to use for the normal estimation.

Parameters
[in]kthe number of k-nearest neighbors

◆ setMu()

void Reen::SurfaceTriangulation::setMu ( double  mu)

Set the multiplier of the nearest neighbor distance to obtain the final search radius for each point (this will make the algorithm adapt to different point densities in the cloud).

Parameters
[in]muthe multiplier

◆ setSearchRadius()

void Reen::SurfaceTriangulation::setSearchRadius ( double  radius)

Set the sphere radius that is to be used for determining the k-nearest neighbors used for triangulating.

Parameters
[in]radiusthe sphere radius that is to contain all k-nearest neighbors
Note
This distance limits the maximum edge length!

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