#include <MROffset.h>
Inheritance diagram for MR::OffsetParameters:Public Attributes | |
| 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< IFastWindingNumber > | fwn |
| bool | memoryEfficient = true |
Public Attributes inherited from MR::BaseShellParameters | |
| float | voxelSize = 0 |
| ProgressCallback | callBack |
| Progress callback. | |
| bool MR::OffsetParameters::closeHolesInHoleWindingNumber = true |
whether to construct closed mesh in signMode = SignDetectionModeShort::HoleWindingNumber
| std::shared_ptr<IFastWindingNumber> MR::OffsetParameters::fwn |
defines particular implementation of IFastWindingNumber interface that will compute windings. If it is not specified, default FastWindingNumber is used this only used if signDetectionMode == SignDetectionMode::HoleWindingRule, otherwise it is ignored providing this will disable memoryEfficient (as if memoryEfficient == false)
| bool MR::OffsetParameters::memoryEfficient = true |
use FunctionVolume for voxel grid representation:
| SignDetectionMode MR::OffsetParameters::signDetectionMode = SignDetectionMode::OpenVDB |
determines the method to compute distance sign
| float MR::OffsetParameters::windingNumberBeta = 2 |
only for SignDetectionMode::HoleWindingRule: determines the precision of fast approximation: the more the better, minimum value is 1
| float MR::OffsetParameters::windingNumberThreshold = 0.5f |
only for SignDetectionMode::HoleWindingRule: positive distance if winding number below or equal this threshold; ideal threshold: 0.5 for closed meshes; 0.0 for planar meshes