MeshLib C# Docs
Loading...
Searching...
No Matches
MR.GeneralOffsetParameters Class Reference

allows the user to select in the parameters which offset algorithm to call Generated from class MR.GeneralOffsetParameters. Base classes: Direct: (non-virtual) MR.SharpOffsetParameters Indirect: (non-virtual) MR.BaseShellParameters MR.OffsetParameters This is the non-const half of the class. More...

+ Inheritance diagram for MR.GeneralOffsetParameters:

Public Member Functions

unsafe GeneralOffsetParameters ()
 Constructs an empty (default-constructed) instance.
 
unsafe GeneralOffsetParameters (MR._ByValue_GeneralOffsetParameters _other)
 Generated from constructor MR.GeneralOffsetParameters.GeneralOffsetParameters.
 
 GeneralOffsetParameters (Const_GeneralOffsetParameters _other)
 Generated from constructor MR.GeneralOffsetParameters.GeneralOffsetParameters.
 
 GeneralOffsetParameters (GeneralOffsetParameters _other)
 Generated from constructor MR.GeneralOffsetParameters.GeneralOffsetParameters.
 
unsafe MR.GeneralOffsetParameters assign (MR._ByValue_GeneralOffsetParameters _other)
 Generated from method MR.GeneralOffsetParameters.operator=.
 

Static Public Member Functions

static unsafe implicit operator MR.BaseShellParameters (GeneralOffsetParameters self)
 
static unsafe implicit operator MR.OffsetParameters (GeneralOffsetParameters self)
 
static unsafe implicit operator MR.SharpOffsetParameters (GeneralOffsetParameters self)
 

Properties

new unsafe ref MR.OffsetMode mode [get]
 
new unsafe MR.? UndirectedEdgeBitSet outSharpEdges [get, set]
 if non-null then created sharp edges will be saved here
 
new unsafe ref float minNewVertDev [get]
 minimal surface deviation to introduce new vertex in a voxel, measured in voxelSize
 
new unsafe ref float maxNewRank2VertDev [get]
 maximal surface deviation to introduce new rank 2 vertex (on intersection of 2 planes), measured in voxelSize
 
new unsafe ref float maxNewRank3VertDev [get]
 maximal surface deviation to introduce new rank 3 vertex (on intersection of 3 planes), measured in voxelSize
 
new unsafe ref float maxOldVertPosCorrection [get]
 
new unsafe ref MR.SignDetectionMode signDetectionMode [get]
 determines the method to compute distance sign
 
new unsafe ref bool closeHolesInHoleWindingNumber [get]
 whether to construct closed mesh in signMode = SignDetectionModeShort.HoleWindingNumber
 
new unsafe ref float windingNumberThreshold [get]
 
new unsafe ref float windingNumberBeta [get]
 
new unsafe MR.IFastWindingNumber fwn [get, protected set]
 
new unsafe ref bool memoryEfficient [get]
 
new unsafe ref float voxelSize [get]
 
new unsafe MR.Std.Function_BoolFuncFromFloat callBack [get, protected set]
 Progress callback.
 

Detailed Description

allows the user to select in the parameters which offset algorithm to call Generated from class MR.GeneralOffsetParameters. Base classes: Direct: (non-virtual) MR.SharpOffsetParameters Indirect: (non-virtual) MR.BaseShellParameters MR.OffsetParameters This is the non-const half of the class.

Constructor & Destructor Documentation

◆ GeneralOffsetParameters() [1/4]

unsafe MR.GeneralOffsetParameters.GeneralOffsetParameters ( )
inline

Constructs an empty (default-constructed) instance.

◆ GeneralOffsetParameters() [2/4]

unsafe MR.GeneralOffsetParameters.GeneralOffsetParameters ( MR._ByValue_GeneralOffsetParameters _other)
inline

Generated from constructor MR.GeneralOffsetParameters.GeneralOffsetParameters.

◆ GeneralOffsetParameters() [3/4]

MR.GeneralOffsetParameters.GeneralOffsetParameters ( Const_GeneralOffsetParameters _other)
inline

Generated from constructor MR.GeneralOffsetParameters.GeneralOffsetParameters.

◆ GeneralOffsetParameters() [4/4]

MR.GeneralOffsetParameters.GeneralOffsetParameters ( GeneralOffsetParameters _other)
inline

Generated from constructor MR.GeneralOffsetParameters.GeneralOffsetParameters.

Member Function Documentation

◆ assign()

unsafe MR.GeneralOffsetParameters MR.GeneralOffsetParameters.assign ( MR._ByValue_GeneralOffsetParameters _other)
inline

Generated from method MR.GeneralOffsetParameters.operator=.

◆ operator MR.BaseShellParameters()

static unsafe implicit MR.GeneralOffsetParameters.operator MR.BaseShellParameters ( GeneralOffsetParameters self)
inlinestatic

◆ operator MR.OffsetParameters()

static unsafe implicit MR.GeneralOffsetParameters.operator MR.OffsetParameters ( GeneralOffsetParameters self)
inlinestatic

◆ operator MR.SharpOffsetParameters()

static unsafe implicit MR.GeneralOffsetParameters.operator MR.SharpOffsetParameters ( GeneralOffsetParameters self)
inlinestatic

Property Documentation

◆ callBack

new unsafe MR.Std.Function_BoolFuncFromFloat MR.GeneralOffsetParameters.callBack
getprotected set

Progress callback.

◆ closeHolesInHoleWindingNumber

new unsafe ref bool MR.GeneralOffsetParameters.closeHolesInHoleWindingNumber
get

whether to construct closed mesh in signMode = SignDetectionModeShort.HoleWindingNumber

◆ fwn

new unsafe MR.IFastWindingNumber MR.GeneralOffsetParameters.fwn
getprotected set

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)

◆ maxNewRank2VertDev

new unsafe ref float MR.GeneralOffsetParameters.maxNewRank2VertDev
get

maximal surface deviation to introduce new rank 2 vertex (on intersection of 2 planes), measured in voxelSize

◆ maxNewRank3VertDev

new unsafe ref float MR.GeneralOffsetParameters.maxNewRank3VertDev
get

maximal surface deviation to introduce new rank 3 vertex (on intersection of 3 planes), measured in voxelSize

◆ maxOldVertPosCorrection

new unsafe ref float MR.GeneralOffsetParameters.maxOldVertPosCorrection
get

correct positions of the input vertices using reference mesh by not more than this distance, measured in voxelSize; big correction can be wrong and result from self-intersections in the reference mesh

◆ memoryEfficient

new unsafe ref bool MR.GeneralOffsetParameters.memoryEfficient
get

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

◆ minNewVertDev

new unsafe ref float MR.GeneralOffsetParameters.minNewVertDev
get

minimal surface deviation to introduce new vertex in a voxel, measured in voxelSize

◆ mode

new unsafe ref MR.OffsetMode MR.GeneralOffsetParameters.mode
get

◆ outSharpEdges

new unsafe MR.? UndirectedEdgeBitSet MR.GeneralOffsetParameters.outSharpEdges
getset

if non-null then created sharp edges will be saved here

◆ signDetectionMode

new unsafe ref MR.SignDetectionMode MR.GeneralOffsetParameters.signDetectionMode
get

determines the method to compute distance sign

◆ voxelSize

new unsafe ref float MR.GeneralOffsetParameters.voxelSize
get

Size of voxel in grid conversions; The user is responsible for setting some positive value here

◆ windingNumberBeta

new unsafe ref float MR.GeneralOffsetParameters.windingNumberBeta
get

only for SignDetectionMode.HoleWindingRule: determines the precision of fast approximation: the more the better, minimum value is 1

◆ windingNumberThreshold

new unsafe ref float MR.GeneralOffsetParameters.windingNumberThreshold
get

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


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