MeshLib JavaScript Docs
Loading...
Searching...
No Matches
OffsetParameters Class Reference
Inheritance diagram for OffsetParameters:

Public Member Functions

 OffsetParameters ()
Public Member Functions inherited from BaseShellParameters
 BaseShellParameters ()

Public Attributes

boolean memoryEfficient
SignDetectionMode signDetectionMode
Public Attributes inherited from BaseShellParameters
number voxelSize

Constructor & Destructor Documentation

◆ OffsetParameters()

OffsetParameters::OffsetParameters ( )

Member Data Documentation

◆ memoryEfficient

boolean OffsetParameters::memoryEfficient

use FunctionVolume for voxel grid representation:

  • memory consumption for voxel storage is approx. (dims.z / (2 * thread_count)) lesser
  • computations are about 15% slower (because some z-layers are computed twice) this setting is ignored (as if memoryEfficient == false) if a) signDetectionMode = SignDetectionMode::OpenVDB, or b) fwn is provided (CUDA computations require full memory storage) used only by mcOffsetMesh and sharpOffsetMesh methods

◆ signDetectionMode

SignDetectionMode OffsetParameters::signDetectionMode

determines the method to compute distance sign; offsetMesh implementing OffsetMode::Smooth supports only Unsigned, OpenVDB and HoleWindingRule here


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