MeshLib Documentation
Loading...
Searching...
No Matches
MR::PointsToDistanceVolumeParams Struct Reference

#include <MRPointsToDistanceVolume.h>

+ Inheritance diagram for MR::PointsToDistanceVolumeParams:

Public Attributes

float sigma = 1
 
float minWeight = 1
 minimum sum of influence weights from surrounding points for a voxel to get a value, meaning that there shall be at least this number of points in close proximity
 
const VertNormals * ptNormals = nullptr
 optional input: if this pointer is set then function will use these normals instead of ones present in cloud
 
- Public Attributes inherited from MR::DistanceVolumeParams
Vector3f origin
 origin point of voxels box
 
ProgressCallback cb
 progress callback
 
Vector3f voxelSize { 1.0f,1.0f,1.0f }
 size of voxel on each axis
 
Vector3i dimensions { 100,100,100 }
 num voxels along each axis
 

Member Data Documentation

◆ minWeight

float MR::PointsToDistanceVolumeParams::minWeight = 1

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

◆ ptNormals

const VertNormals* MR::PointsToDistanceVolumeParams::ptNormals = nullptr

optional input: if this pointer is set then function will use these normals instead of ones present in cloud

◆ sigma

float MR::PointsToDistanceVolumeParams::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


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