MeshLib
 
Loading...
Searching...
No Matches
MR::PointsToMeshParameters Struct Reference

#include <MRPointsToMeshFusion.h>

Public Attributes

float sigma = 1
 
float minWeight = 1
 minimum sum of influence weights from surrounding points for a triangle to appear, meaning that there shall be at least this number of points in close proximity
 
float voxelSize = 0
 
const VertColors * ptColors = nullptr
 optional input: colors of input points
 
VertColors * vColors = nullptr
 optional output: averaged colors of mesh vertices
 
ProgressCallback progress
 Progress callback.
 
std::function< Expected< SimpleVolume >(const PointCloud &cloud, const PointsToDistanceVolumeParams &params)> createVolumeCallback
 Callback for volume creation. If null - volume will be created with default pointsToDistanceVolume function.
 

Member Data Documentation

◆ createVolumeCallback

std::function<Expected<SimpleVolume>( const PointCloud& cloud, const PointsToDistanceVolumeParams& params )> MR::PointsToMeshParameters::createVolumeCallback

Callback for volume creation. If null - volume will be created with default pointsToDistanceVolume function.

◆ minWeight

float MR::PointsToMeshParameters::minWeight = 1

minimum sum of influence weights from surrounding points for a triangle to appear, meaning that there shall be at least this number of points in close proximity

◆ progress

ProgressCallback MR::PointsToMeshParameters::progress

Progress callback.

◆ ptColors

const VertColors* MR::PointsToMeshParameters::ptColors = nullptr

optional input: colors of input points

◆ sigma

float MR::PointsToMeshParameters::sigma = 1

it the distance of highest influence of a point; the maximal influence distance is 3*sigma; beyond that distance the influence is strictly zero

◆ vColors

VertColors* MR::PointsToMeshParameters::vColors = nullptr

optional output: averaged colors of mesh vertices

◆ voxelSize

float MR::PointsToMeshParameters::voxelSize = 0

Size of voxel in grid conversions; The user is responsible for setting some positive value here


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