MeshLib Documentation
Loading...
Searching...
No Matches
MR::TriangulationHelpers::Settings Struct Reference

#include <MRPointCloudTriangulationHelpers.h>

Public Attributes

float radius = 0
 
int numNeis = 0
 
float critAngle = PI2_F
 max allowed angle for triangles in fan
 
float boundaryAngle = 0.9f * PI_F
 the vertex is considered as boundary if its neighbor ring has angle more than this value
 
const VertCoords * trustedNormals = nullptr
 if oriented normals are known, they will be used for neighbor points selection
 
bool automaticRadiusIncrease = true
 automatic increase of the radius if points outside can make triangles from original radius not-Delone
 
int maxRemoves = INT_MAX
 the maximum number of optimization steps (removals) in local triangulation
 
std::vector< VertId > * allNeighbors = nullptr
 optional output of considered neighbor points after filtering but before triangulation/optimization
 
float * actualRadius = nullptr
 optional output: actual radius of neighbor search (after increase if any)
 
const PointCloudsearchNeighbors = nullptr
 optional: if provided this cloud will be used for searching of neighbors (so it must have same validPoints)
 

Member Data Documentation

◆ actualRadius

float* MR::TriangulationHelpers::Settings::actualRadius = nullptr

optional output: actual radius of neighbor search (after increase if any)

◆ allNeighbors

std::vector<VertId>* MR::TriangulationHelpers::Settings::allNeighbors = nullptr

optional output of considered neighbor points after filtering but before triangulation/optimization

◆ automaticRadiusIncrease

bool MR::TriangulationHelpers::Settings::automaticRadiusIncrease = true

automatic increase of the radius if points outside can make triangles from original radius not-Delone

◆ boundaryAngle

float MR::TriangulationHelpers::Settings::boundaryAngle = 0.9f * PI_F

the vertex is considered as boundary if its neighbor ring has angle more than this value

◆ critAngle

float MR::TriangulationHelpers::Settings::critAngle = PI2_F

max allowed angle for triangles in fan

◆ maxRemoves

int MR::TriangulationHelpers::Settings::maxRemoves = INT_MAX

the maximum number of optimization steps (removals) in local triangulation

◆ numNeis

int MR::TriangulationHelpers::Settings::numNeis = 0

initially selects given number of nearest neighbours; if numNeis is positive then radius must be zero

◆ radius

float MR::TriangulationHelpers::Settings::radius = 0

initial radius of search for neighbours, it can be increased automatically; if radius is positive then numNeis must be zero

◆ searchNeighbors

const PointCloud* MR::TriangulationHelpers::Settings::searchNeighbors = nullptr

optional: if provided this cloud will be used for searching of neighbors (so it must have same validPoints)

◆ trustedNormals

const VertCoords* MR::TriangulationHelpers::Settings::trustedNormals = nullptr

if oriented normals are known, they will be used for neighbor points selection


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