MeshLib Documentation
Loading...
Searching...
No Matches
MR::MakeSignedByWindingNumberSettings Struct Reference

#include <MRVDBConversions.h>

Public Attributes

AffineXf3f meshToGridXf
 defines the mapping from mesh reference from to grid reference frame
 
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

◆ fwn

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

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

◆ meshToGridXf

AffineXf3f MR::MakeSignedByWindingNumberSettings::meshToGridXf

defines the mapping from mesh reference from to grid reference frame

◆ progress

ProgressCallback MR::MakeSignedByWindingNumberSettings::progress

to report algorithm's progress and to cancel it

◆ windingNumberBeta

float MR::MakeSignedByWindingNumberSettings::windingNumberBeta = 2

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

◆ windingNumberThreshold

float MR::MakeSignedByWindingNumberSettings::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: