MeshLib C++ Docs
Loading...
Searching...
No Matches
MRMeshC/MRNormalDenoising.h
Go to the documentation of this file.
1#pragma once
2
3#include "MRMeshFwd.h"
4
6
39
41
45
#define MR_EXTERN_C_BEGIN
Definition MRMeshC/MRMeshFwd.h:26
bool(* MRProgressCallback)(float)
Definition MRMeshC/MRMeshFwd.h:54
#define MR_EXTERN_C_END
Definition MRMeshC/MRMeshFwd.h:27
struct MRUndirectedEdgeBitSet MRUndirectedEdgeBitSet
Definition MRMeshC/MRMeshFwd.h:36
struct MRMesh MRMesh
Definition MRMeshC/MRMeshFwd.h:47
typedefMR_EXTERN_C_BEGIN struct MRString MRString
Definition MRMeshC/MRMeshFwd.h:32
#define MRMESHC_API
Definition MRMeshC/MRMeshFwd.h:19
MRMESHC_API MRDenoiseViaNormalsSettings mrDenoiseViaNormalsSettingsNew(void)
MR_EXTERN_C_BEGIN struct MRDenoiseViaNormalsSettings MRDenoiseViaNormalsSettings
MRMESHC_API void mrMeshDenoiseViaNormals(MRMesh *mesh, const MRDenoiseViaNormalsSettings *settings, MRString **errorString)
Definition MRMeshC/MRNormalDenoising.h:8
float beta
0.001 - sharp edges, 0.01 - moderate edges, 0.1 - smooth edges
Definition MRMeshC/MRNormalDenoising.h:13
bool limitNearInitial
if true then maximal displacement of each point during denoising will be limited
Definition MRMeshC/MRNormalDenoising.h:28
float maxInitialDist
maximum distance between a point and its position before relaxation, ignored if limitNearInitial = fa...
Definition MRMeshC/MRNormalDenoising.h:31
float gamma
the amount of smoothing: 0 - no smoothing, 1 - average smoothing, ...
Definition MRMeshC/MRNormalDenoising.h:16
float guideWeight
how much resulting points must be attracted to initial points (e.g. to avoid general shrinkage),...
Definition MRMeshC/MRNormalDenoising.h:25
MRProgressCallback cb
to get the progress and optionally cancel
Definition MRMeshC/MRNormalDenoising.h:37
int pointIters
the number of iterations to update vertex coordinates from found normals; the more the better quality...
Definition MRMeshC/MRNormalDenoising.h:22
MRUndirectedEdgeBitSet * outCreases
optionally returns creases found during smoothing
Definition MRMeshC/MRNormalDenoising.h:34
int normalIters
the number of iterations to smooth normals and find creases; the more the better quality,...
Definition MRMeshC/MRNormalDenoising.h:19
bool fastIndicatorComputation
use approximated computation, which is much faster than precise solution
Definition MRMeshC/MRNormalDenoising.h:10