MeshLib
 
Loading...
Searching...
No Matches
MR::SharpOffsetParameters Struct Reference

#include <MROffset.h>

+ Inheritance diagram for MR::SharpOffsetParameters:

Public Attributes

UndirectedEdgeBitSet * outSharpEdges = nullptr
 if non-null then created sharp edges will be saved here
 
float minNewVertDev = 1.0f / 25
 minimal surface deviation to introduce new vertex in a voxel, measured in voxelSize
 
float maxNewRank2VertDev = 5
 maximal surface deviation to introduce new rank 2 vertex (on intersection of 2 planes), measured in voxelSize
 
float maxNewRank3VertDev = 2
 maximal surface deviation to introduce new rank 3 vertex (on intersection of 3 planes), measured in voxelSize
 
float maxOldVertPosCorrection = 0.5f
 
- Public Attributes inherited from MR::OffsetParameters
SignDetectionMode signDetectionMode = SignDetectionMode::OpenVDB
 determines the method to compute distance sign
 
float windingNumberThreshold = 0.5f
 
float windingNumberBeta = 2
 
std::shared_ptr< IFastWindingNumberfwn
 defines particular implementation of IFastWindingNumber interface that will compute windings. If it is not specified, default FastWindingNumber is used
 
bool memoryEfficient = true
 
- Public Attributes inherited from MR::BaseShellParameters
float voxelSize = 0
 
ProgressCallback callBack
 Progress callback.
 

Member Data Documentation

◆ maxNewRank2VertDev

float MR::SharpOffsetParameters::maxNewRank2VertDev = 5

maximal surface deviation to introduce new rank 2 vertex (on intersection of 2 planes), measured in voxelSize

◆ maxNewRank3VertDev

float MR::SharpOffsetParameters::maxNewRank3VertDev = 2

maximal surface deviation to introduce new rank 3 vertex (on intersection of 3 planes), measured in voxelSize

◆ maxOldVertPosCorrection

float MR::SharpOffsetParameters::maxOldVertPosCorrection = 0.5f

correct positions of the input vertices using reference mesh by not more than this distance, measured in voxelSize; big correction can be wrong and result from self-intersections in the reference mesh

◆ minNewVertDev

float MR::SharpOffsetParameters::minNewVertDev = 1.0f / 25

minimal surface deviation to introduce new vertex in a voxel, measured in voxelSize

◆ outSharpEdges

UndirectedEdgeBitSet* MR::SharpOffsetParameters::outSharpEdges = nullptr

if non-null then created sharp edges will be saved here


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