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

#include <MRVDBConversions.h>

Public Attributes

float voxelSize = 0
 the size of voxel in intermediate voxel grid representation
 
float offsetA = 0
 the amount of first offset
 
float offsetB = 0
 the amount of second offset
 
float adaptivity = 0
 in [0; 1] - ratio of combining small triangles into bigger ones (curvature can be lost on high values)
 
std::shared_ptr< IFastWindingNumberfwn
 defines particular implementation of IFastWindingNumber interface that will compute windings. If it is not specified, default FastWindingNumber is used
 
float windingNumberThreshold = 0.5f
 
float windingNumberBeta = 2
 determines the precision of fast approximation: the more the better, minimum value is 1
 
ProgressCallback progress
 to report algorithm's progress and to cancel it
 

Member Data Documentation

◆ adaptivity

float MR::DoubleOffsetSettings::adaptivity = 0

in [0; 1] - ratio of combining small triangles into bigger ones (curvature can be lost on high values)

◆ fwn

std::shared_ptr<IFastWindingNumber> MR::DoubleOffsetSettings::fwn

defines particular implementation of IFastWindingNumber interface that will compute windings. If it is not specified, default FastWindingNumber is used

◆ offsetA

float MR::DoubleOffsetSettings::offsetA = 0

the amount of first offset

◆ offsetB

float MR::DoubleOffsetSettings::offsetB = 0

the amount of second offset

◆ progress

ProgressCallback MR::DoubleOffsetSettings::progress

to report algorithm's progress and to cancel it

◆ voxelSize

float MR::DoubleOffsetSettings::voxelSize = 0

the size of voxel in intermediate voxel grid representation

◆ windingNumberBeta

float MR::DoubleOffsetSettings::windingNumberBeta = 2

determines the precision of fast approximation: the more the better, minimum value is 1

◆ windingNumberThreshold

float MR::DoubleOffsetSettings::windingNumberThreshold = 0.5f

positive distance if winding number below or equal this threshold; ideal threshold: 0.5 for closed meshes; 0.0 for planar meshes


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