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

#include <MROffset.h>

+ Inheritance diagram for MR::OffsetParameters:

Public Attributes

SignDetectionMode signDetectionMode = SignDetectionMode::OpenVDB
 determines the method to compute distance sign
 
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 = false
 
- Public Attributes inherited from MR::BaseShellParameters
float voxelSize = 0
 
ProgressCallback callBack
 Progress callback.
 

Member Data Documentation

◆ fwn

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

◆ memoryEfficient

bool MR::OffsetParameters::memoryEfficient = false

use FunctionVolume for voxel grid representation:

  • memory consumption is approx. (z / (2 * thread_count)) lesser
  • computation is about 2-3 times slower
  • custom IFastWindingNumber interface fwn is ignored (CPU-only computation, no CUDA support) used only by mcOffsetMesh and sharpOffsetMesh methods

◆ signDetectionMode

SignDetectionMode MR::OffsetParameters::signDetectionMode = SignDetectionMode::OpenVDB

determines the method to compute distance sign


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