#include <MROffset.h>
Public Attributes | |
SignDetectionMode | signDetectionMode = SignDetectionMode::OpenVDB |
determines the method to compute distance sign | |
float | windingNumberThreshold = 0.5f |
float | windingNumberBeta = 2 |
std::shared_ptr< IFastWindingNumber > | fwn |
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. | |
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
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