MeshLib C# Docs
Loading...
Searching...
No Matches

Generated from class MR.OffsetParameters. Base classes: Direct: (non-virtual) MR.BaseShellParameters Derived classes: Direct: (non-virtual) MR.SharpOffsetParameters Indirect: (non-virtual) MR.GeneralOffsetParameters This is the const half of the class. More...

Inheritance diagram for MR.Const_OffsetParameters:

Classes

struct  _Underlying

Public Member Functions

virtual void Dispose ()
unsafe Const_OffsetParameters ()
 Constructs an empty (default-constructed) instance.
unsafe Const_OffsetParameters (MR._ByValue_OffsetParameters _other)
 Generated from constructor MR.OffsetParameters.OffsetParameters.
 Const_OffsetParameters (Const_OffsetParameters _other)
 Generated from constructor MR.OffsetParameters.OffsetParameters.
 Const_OffsetParameters (OffsetParameters _other)
 Generated from constructor MR.OffsetParameters.OffsetParameters.

Static Public Member Functions

static unsafe implicit operator MR.Const_BaseShellParameters (Const_OffsetParameters self)

Protected Member Functions

virtual unsafe void Dispose (bool disposing)

Protected Attributes

unsafe MR.SignDetectionMode__ref_storage_signDetectionMode
unsafe bool * __ref_storage_closeHolesInHoleWindingNumber
unsafe float * __ref_storage_windingNumberThreshold
unsafe float * __ref_storage_windingNumberBeta
unsafe bool * __ref_storage_memoryEfficient
unsafe float * __ref_storage_voxelSize

Properties

unsafe MR.SignDetectionMode signDetectionMode [get]
 determines the method to compute distance sign
unsafe bool closeHolesInHoleWindingNumber [get]
 whether to construct closed mesh in signMode = SignDetectionModeShort.HoleWindingNumber
unsafe float 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
unsafe float windingNumberBeta [get]
 only for SignDetectionMode.HoleWindingRule: determines the precision of fast approximation: the more the better, minimum value is 1
unsafe MR.Std.Const_SharedPtr_MRIFastWindingNumber fwn [get, protected 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)
unsafe bool memoryEfficient [get]
 use FunctionVolume for voxel grid representation:
unsafe float voxelSize [get]
 Size of voxel in grid conversions; The user is responsible for setting some positive value here.
unsafe MR.Std.Const_Function_Bool_From_Float callBack [get, protected set]
 Progress callback.

Detailed Description

Generated from class MR.OffsetParameters. Base classes: Direct: (non-virtual) MR.BaseShellParameters Derived classes: Direct: (non-virtual) MR.SharpOffsetParameters Indirect: (non-virtual) MR.GeneralOffsetParameters This is the const half of the class.

Constructor & Destructor Documentation

◆ Const_OffsetParameters() [1/4]

unsafe MR.Const_OffsetParameters.Const_OffsetParameters ( )
inline

Constructs an empty (default-constructed) instance.

◆ Const_OffsetParameters() [2/4]

unsafe MR.Const_OffsetParameters.Const_OffsetParameters ( MR._ByValue_OffsetParameters _other)
inline

Generated from constructor MR.OffsetParameters.OffsetParameters.

◆ Const_OffsetParameters() [3/4]

MR.Const_OffsetParameters.Const_OffsetParameters ( Const_OffsetParameters _other)
inline

Generated from constructor MR.OffsetParameters.OffsetParameters.

◆ Const_OffsetParameters() [4/4]

MR.Const_OffsetParameters.Const_OffsetParameters ( OffsetParameters _other)
inline

Generated from constructor MR.OffsetParameters.OffsetParameters.

Member Function Documentation

◆ Dispose() [1/2]

virtual void MR.Const_OffsetParameters.Dispose ( )
inlinevirtual

◆ Dispose() [2/2]

virtual unsafe void MR.Const_OffsetParameters.Dispose ( bool disposing)
inlineprotectedvirtual

◆ operator MR.Const_BaseShellParameters()

unsafe implicit MR.Const_OffsetParameters.operator MR.Const_BaseShellParameters ( Const_OffsetParameters self)
inlinestatic

Member Data Documentation

◆ __ref_storage_closeHolesInHoleWindingNumber

unsafe bool* MR.Const_OffsetParameters.__ref_storage_closeHolesInHoleWindingNumber
protected

◆ __ref_storage_memoryEfficient

unsafe bool* MR.Const_OffsetParameters.__ref_storage_memoryEfficient
protected

◆ __ref_storage_signDetectionMode

unsafe MR.SignDetectionMode* MR.Const_OffsetParameters.__ref_storage_signDetectionMode
protected

◆ __ref_storage_voxelSize

unsafe float* MR.Const_OffsetParameters.__ref_storage_voxelSize
protected

◆ __ref_storage_windingNumberBeta

unsafe float* MR.Const_OffsetParameters.__ref_storage_windingNumberBeta
protected

◆ __ref_storage_windingNumberThreshold

unsafe float* MR.Const_OffsetParameters.__ref_storage_windingNumberThreshold
protected

Property Documentation

◆ callBack

unsafe MR.Std.Const_Function_Bool_From_Float MR.Const_OffsetParameters.callBack
getprotected set

Progress callback.

◆ closeHolesInHoleWindingNumber

unsafe bool MR.Const_OffsetParameters.closeHolesInHoleWindingNumber
get

whether to construct closed mesh in signMode = SignDetectionModeShort.HoleWindingNumber

◆ fwn

unsafe MR.Std.Const_SharedPtr_MRIFastWindingNumber MR.Const_OffsetParameters.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)

◆ memoryEfficient

unsafe bool MR.Const_OffsetParameters.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

◆ signDetectionMode

unsafe MR.SignDetectionMode MR.Const_OffsetParameters.signDetectionMode
get

determines the method to compute distance sign

◆ voxelSize

unsafe float MR.Const_OffsetParameters.voxelSize
get

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

◆ windingNumberBeta

unsafe float MR.Const_OffsetParameters.windingNumberBeta
get

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

◆ windingNumberThreshold

unsafe float MR.Const_OffsetParameters.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: