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

allows the user to select in the parameters which offset algorithm to call More...

#include <MROffset.h>

+ Inheritance diagram for MR::GeneralOffsetParameters:

Public Types

using Mode = MR::OffsetMode
 

Public Attributes

Mode mode = Mode::Standard
 
- Public Attributes inherited from MR::SharpOffsetParameters
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.
 

Detailed Description

allows the user to select in the parameters which offset algorithm to call

Member Typedef Documentation

◆ Mode

Member Data Documentation

◆ mode

Mode MR::GeneralOffsetParameters::mode = Mode::Standard

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