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

Generated from class MR.MeshApproxRelaxParams. Base classes: Direct: (non-virtual) MR.MeshRelaxParams Indirect: (non-virtual) MR.RelaxParams This is the const half of the class. More...

Inheritance diagram for MR.Const_MeshApproxRelaxParams:

Classes

struct  _Underlying

Public Member Functions

virtual void Dispose ()
unsafe Const_MeshApproxRelaxParams ()
 Constructs an empty (default-constructed) instance.
unsafe Const_MeshApproxRelaxParams (MR.Const_MeshApproxRelaxParams _other)
 Generated from constructor MR.MeshApproxRelaxParams.MeshApproxRelaxParams.
 Const_MeshApproxRelaxParams (MeshApproxRelaxParams _other)
 Generated from constructor MR.MeshApproxRelaxParams.MeshApproxRelaxParams.

Static Public Member Functions

static unsafe implicit operator MR.Const_RelaxParams (Const_MeshApproxRelaxParams self)
static unsafe implicit operator MR.Const_MeshRelaxParams (Const_MeshApproxRelaxParams self)

Protected Member Functions

virtual unsafe void Dispose (bool disposing)

Protected Attributes

unsafe float * __ref_storage_surfaceDilateRadius
unsafe MR.RelaxApproxType * __ref_storage_type
unsafe bool * __ref_storage_hardSmoothTetrahedrons
unsafe MR.Const_VertScalars._Underlying ** __ptr_storage_weights
unsafe int * __ref_storage_iterations
unsafe MR.Const_VertBitSet._Underlying ** __ptr_storage_region
unsafe float * __ref_storage_force
unsafe bool * __ref_storage_updateCaches
unsafe bool * __ref_storage_limitNearInitial
unsafe float * __ref_storage_maxInitialDist

Properties

unsafe float surfaceDilateRadius [get]
 radius to find neighbors by surface 0.0f - default = 1e-3 * sqrt(surface area)
unsafe MR.RelaxApproxType type [get]
unsafe bool hardSmoothTetrahedrons [get]
 move all region vertices with exactly three neighbor vertices in the center of the neighbors
unsafe MR.? Const_VertScalars weights [get]
 weight for each vertex. By default, all the vertices have equal weights.
unsafe int iterations [get]
 number of iterations
unsafe MR.? Const_VertBitSet region [get]
 region to relax
unsafe float force [get]
 speed of relaxing, typical values (0.0, 0.5]
unsafe bool updateCaches [get]
 in functions taking Mesh or PointCloud: if false then all mesh caches (AABB trees) are invalidated after relaxation, if true then they are updated only in the region (faster, but the trees might become less efficient)
unsafe bool limitNearInitial [get]
 if true then maximal displacement of each point during denoising will be limited
unsafe float maxInitialDist [get]
 maximum distance between a point and its position before relaxation, ignored if limitNearInitial = false

Detailed Description

Generated from class MR.MeshApproxRelaxParams. Base classes: Direct: (non-virtual) MR.MeshRelaxParams Indirect: (non-virtual) MR.RelaxParams This is the const half of the class.

Constructor & Destructor Documentation

◆ Const_MeshApproxRelaxParams() [1/3]

unsafe MR.Const_MeshApproxRelaxParams.Const_MeshApproxRelaxParams ( )
inline

Constructs an empty (default-constructed) instance.

◆ Const_MeshApproxRelaxParams() [2/3]

unsafe MR.Const_MeshApproxRelaxParams.Const_MeshApproxRelaxParams ( MR.Const_MeshApproxRelaxParams _other)
inline

◆ Const_MeshApproxRelaxParams() [3/3]

MR.Const_MeshApproxRelaxParams.Const_MeshApproxRelaxParams ( MeshApproxRelaxParams _other)
inline

Member Function Documentation

◆ Dispose() [1/2]

virtual void MR.Const_MeshApproxRelaxParams.Dispose ( )
inlinevirtual

◆ Dispose() [2/2]

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

◆ operator MR.Const_MeshRelaxParams()

unsafe implicit MR.Const_MeshApproxRelaxParams.operator MR.Const_MeshRelaxParams ( Const_MeshApproxRelaxParams self)
inlinestatic

◆ operator MR.Const_RelaxParams()

unsafe implicit MR.Const_MeshApproxRelaxParams.operator MR.Const_RelaxParams ( Const_MeshApproxRelaxParams self)
inlinestatic

Member Data Documentation

◆ __ptr_storage_region

unsafe MR.Const_VertBitSet._Underlying** MR.Const_MeshApproxRelaxParams.__ptr_storage_region
protected

◆ __ptr_storage_weights

unsafe MR.Const_VertScalars._Underlying** MR.Const_MeshApproxRelaxParams.__ptr_storage_weights
protected

◆ __ref_storage_force

unsafe float* MR.Const_MeshApproxRelaxParams.__ref_storage_force
protected

◆ __ref_storage_hardSmoothTetrahedrons

unsafe bool* MR.Const_MeshApproxRelaxParams.__ref_storage_hardSmoothTetrahedrons
protected

◆ __ref_storage_iterations

unsafe int* MR.Const_MeshApproxRelaxParams.__ref_storage_iterations
protected

◆ __ref_storage_limitNearInitial

unsafe bool* MR.Const_MeshApproxRelaxParams.__ref_storage_limitNearInitial
protected

◆ __ref_storage_maxInitialDist

unsafe float* MR.Const_MeshApproxRelaxParams.__ref_storage_maxInitialDist
protected

◆ __ref_storage_surfaceDilateRadius

unsafe float* MR.Const_MeshApproxRelaxParams.__ref_storage_surfaceDilateRadius
protected

◆ __ref_storage_type

unsafe MR.RelaxApproxType* MR.Const_MeshApproxRelaxParams.__ref_storage_type
protected

◆ __ref_storage_updateCaches

unsafe bool* MR.Const_MeshApproxRelaxParams.__ref_storage_updateCaches
protected

Property Documentation

◆ force

unsafe float MR.Const_MeshApproxRelaxParams.force
get

speed of relaxing, typical values (0.0, 0.5]

◆ hardSmoothTetrahedrons

unsafe bool MR.Const_MeshApproxRelaxParams.hardSmoothTetrahedrons
get

move all region vertices with exactly three neighbor vertices in the center of the neighbors

◆ iterations

unsafe int MR.Const_MeshApproxRelaxParams.iterations
get

number of iterations

◆ limitNearInitial

unsafe bool MR.Const_MeshApproxRelaxParams.limitNearInitial
get

if true then maximal displacement of each point during denoising will be limited

◆ maxInitialDist

unsafe float MR.Const_MeshApproxRelaxParams.maxInitialDist
get

maximum distance between a point and its position before relaxation, ignored if limitNearInitial = false

◆ region

unsafe MR.? Const_VertBitSet MR.Const_MeshApproxRelaxParams.region
get

region to relax

◆ surfaceDilateRadius

unsafe float MR.Const_MeshApproxRelaxParams.surfaceDilateRadius
get

radius to find neighbors by surface 0.0f - default = 1e-3 * sqrt(surface area)

◆ type

unsafe MR.RelaxApproxType MR.Const_MeshApproxRelaxParams.type
get

◆ updateCaches

unsafe bool MR.Const_MeshApproxRelaxParams.updateCaches
get

in functions taking Mesh or PointCloud: if false then all mesh caches (AABB trees) are invalidated after relaxation, if true then they are updated only in the region (faster, but the trees might become less efficient)

◆ weights

unsafe MR.? Const_VertScalars MR.Const_MeshApproxRelaxParams.weights
get

weight for each vertex. By default, all the vertices have equal weights.


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