Loading [MathJax]/extensions/tex2jax.js
MeshLib C++ Docs
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages Concepts
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.
 
MR_BIND_IGNORE std::function< Expected< void >(const PointCloud &cloud, const PointsToDistanceVolumeParams &params, std::function< Expected< void >(const SimpleVolumeMinMax &volume, int zOffset)> addPart, int layerOverlap)> createVolumeCallbackByParts
 
MR_BIND_IGNORE std::function< Expected< SimpleVolumeMinMax >(const PointCloud &cloud, const PointsToDistanceVolumeParams &params)> createVolumeCallback
 Callback for volume creation. If both volume creation functions are null - volume will be created with memory efficient pointsToDistanceFunctionVolume function.
 
MR_BIND_IGNORE std::function< bool(const PointCloud &cloud, const PointsToDistanceVolumeParams &params)> canCreateVolume
 Callback for checking whether it's possible to use the volume creation function.
 

Member Data Documentation

◆ canCreateVolume

MR_BIND_IGNORE std::function<bool ( const PointCloud& cloud, const PointsToDistanceVolumeParams& params )> MR::PointsToMeshParameters::canCreateVolume

Callback for checking whether it's possible to use the volume creation function.

◆ createVolumeCallback

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

Callback for volume creation. If both volume creation functions are null - volume will be created with memory efficient pointsToDistanceFunctionVolume function.

◆ createVolumeCallbackByParts

MR_BIND_IGNORE std::function<Expected<void>( const PointCloud& cloud, const PointsToDistanceVolumeParams& params, std::function<Expected<void>( const SimpleVolumeMinMax& volume, int zOffset )> addPart, int layerOverlap )> MR::PointsToMeshParameters::createVolumeCallbackByParts

Callback for volume creation by parts. If both volume creation functions are null - volume will be created with memory efficient pointsToDistanceFunctionVolume function This callback takes precedence over createVolumeCallback

◆ 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: