MeshLib C++ Docs
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
8#include <memory>
9
10namespace MR
11{
14
15
17
19{
22 float sigma = 1;
23
25 float minWeight = 1;
26
29 float invSigmaModifier = 0.5f;
30
33 bool sqrtAngleWeight{ false };
34
37 float voxelSize = 0;
38
40 const VertColors * ptColors = nullptr;
41
43 VertColors * vColors = nullptr;
44
47
50 std::shared_ptr<IComputePointsToDistanceVolume> computeVolume;
51};
52
56
57}
#define MRVOXELS_API
see explanation in MRMesh/MRMeshFwd.h
Definition MRVoxelsFwd.h:14
abstract class for computing a volume of signed distances to points with normals
Definition MRPointsToDistanceVolume.h:46
std::function< bool(float)> ProgressCallback
Definition MRMeshFwd.h:790
float voxelSize
Definition MRPointsToMeshFusion.h:37
ProgressCallback progress
Progress callback.
Definition MRPointsToMeshFusion.h:46
float invSigmaModifier
Definition MRPointsToMeshFusion.h:29
float sigma
Definition MRPointsToMeshFusion.h:22
float minWeight
minimum sum of influence weights from surrounding points for a triangle to appear,...
Definition MRPointsToMeshFusion.h:25
tl::expected< T, E > Expected
Definition MRExpected.h:31
VertColors * vColors
optional output: averaged colors of mesh vertices
Definition MRPointsToMeshFusion.h:43
Expected< Mesh > pointsToMeshFusion(const PointCloud &cloud, const PointsToMeshParameters &params)
const VertColors * ptColors
optional input: colors of input points
Definition MRPointsToMeshFusion.h:40
std::shared_ptr< IComputePointsToDistanceVolume > computeVolume
Definition MRPointsToMeshFusion.h:50
bool sqrtAngleWeight
Definition MRPointsToMeshFusion.h:33
Only strictly necessary for the bindings (to make MR::MeshIntersectionResult a complete type).
Definition MRCameraOrientationPlugin.h:8
Definition MRPointCloud.h:17
Definition MRPointsToMeshFusion.h:19