#include <MRSharpenMarchingCubesMesh.h>
Public Attributes | |
float | minNewVertDev = 0 |
float | maxNewRank2VertDev = 0 |
float | maxNewRank3VertDev = 0 |
float | offset = 0 |
relative to reference mesh | |
float | maxOldVertPosCorrection = 0 |
int | posSelIters = 3 |
UndirectedEdgeBitSet * | outSharpEdges = nullptr |
if non-null then created sharp edges will be saved here | |
float MR::SharpenMarchingCubesMeshSettings::maxNewRank2VertDev = 0 |
maximal surface deviation to introduce new rank 2 vertex (on intersection of 2 planes); recommended set equal to ( 5 * voxel size )
float MR::SharpenMarchingCubesMeshSettings::maxNewRank3VertDev = 0 |
maximal surface deviation to introduce new rank 3 vertex (on intersection of 3 planes); recommended set equal to ( 2 * voxel size )
float MR::SharpenMarchingCubesMeshSettings::maxOldVertPosCorrection = 0 |
correct positions of the input vertices using reference mesh by not more than this distance; big correction can be wrong and result from self-intersections in the reference mesh recommended set equal to ( voxel size / 2 )
float MR::SharpenMarchingCubesMeshSettings::minNewVertDev = 0 |
minimal surface deviation to introduce new vertex in a voxel; recommended set equal to ( voxel size / 25 )
float MR::SharpenMarchingCubesMeshSettings::offset = 0 |
relative to reference mesh
UndirectedEdgeBitSet* MR::SharpenMarchingCubesMeshSettings::outSharpEdges = nullptr |
if non-null then created sharp edges will be saved here
int MR::SharpenMarchingCubesMeshSettings::posSelIters = 3 |
the number of iterations to best select positions for new vertices, the probability of self-intersections and spikes are higher if posSelIters = 0