MeshLib C++ Docs
Loading...
Searching...
No Matches
MR::GeneralOffsetParameters Struct Reference

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

#include <MRVoxels/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
bool closeHolesInHoleWindingNumber = true
 whether to construct closed mesh in signMode = SignDetectionModeShort::HoleWindingNumber
float windingNumberThreshold = 0.5f
float windingNumberBeta = 2
std::shared_ptr< IFastWindingNumberfwn
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


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