MeshLib Documentation
Loading...
Searching...
No Matches
MRPointsToMeshFusion.h
Go to the documentation of this file.
1#pragma once
2
3#include "MRVoxelsFwd.h"
4
5#include "MRMesh/MRExpected.h"
7
8namespace MR
9{
10
11struct PointsToDistanceVolumeParams;
12
14{
17 float sigma = 1;
18
20 float minWeight = 1;
21
24 float voxelSize = 0;
25
27 const VertColors * ptColors = nullptr;
28
30 VertColors * vColors = nullptr;
31
34
36 std::function<Expected<SimpleVolumeMinMax>( const PointCloud& cloud, const PointsToDistanceVolumeParams& params )> createVolumeCallback;
37};
38
42
43} //namespace MR
#define MRVOXELS_API
Definition MRVoxelsFwd.h:13
std::function< bool(float)> ProgressCallback
Definition MRMesh/MRMeshFwd.h:576
Definition MRCameraOrientationPlugin.h:8
tl::expected< T, E > Expected
Definition MRExpected.h:58
MRVOXELS_API Expected< Mesh > pointsToMeshFusion(const PointCloud &cloud, const PointsToMeshParameters &params)
Definition MRMesh/MRPointCloud.h:16
Definition MRPointsToDistanceVolume.h:12
Definition MRPointsToMeshFusion.h:14
float voxelSize
Definition MRPointsToMeshFusion.h:24
ProgressCallback progress
Progress callback.
Definition MRPointsToMeshFusion.h:33
float sigma
Definition MRPointsToMeshFusion.h:17
float minWeight
minimum sum of influence weights from surrounding points for a triangle to appear,...
Definition MRPointsToMeshFusion.h:20
VertColors * vColors
optional output: averaged colors of mesh vertices
Definition MRPointsToMeshFusion.h:30
std::function< Expected< SimpleVolumeMinMax >(const PointCloud &cloud, const PointsToDistanceVolumeParams &params)> createVolumeCallback
Callback for volume creation. If null - volume will be created with memory efficient pointsToDistance...
Definition MRPointsToMeshFusion.h:36
const VertColors * ptColors
optional input: colors of input points
Definition MRPointsToMeshFusion.h:27