MeshLib C++ Docs
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 invSigmaModifier = 0.5f
 
bool sqrtAngleWeight { false }
 
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.
 

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