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 non-const half of the class. More...

Inheritance diagram for MR.MeshApproxRelaxParams:

Public Member Functions

unsafe MeshApproxRelaxParams ()
 Constructs an empty (default-constructed) instance.
unsafe MeshApproxRelaxParams (MR.Const_MeshApproxRelaxParams _other)
 Generated from constructor MR.MeshApproxRelaxParams.MeshApproxRelaxParams.
 MeshApproxRelaxParams (MeshApproxRelaxParams _other)
 Generated from constructor MR.MeshApproxRelaxParams.MeshApproxRelaxParams.
unsafe MR.MeshApproxRelaxParams assign (MR.Const_MeshApproxRelaxParams _other)
 Generated from method MR::MeshApproxRelaxParams::operator=.
Public Member Functions inherited from MR.Const_MeshApproxRelaxParams
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.RelaxParams (MeshApproxRelaxParams self)
static unsafe implicit operator MR.MeshRelaxParams (MeshApproxRelaxParams self)
Static Public Member Functions inherited from MR.Const_MeshApproxRelaxParams
static unsafe implicit operator MR.Const_RelaxParams (Const_MeshApproxRelaxParams self)
static unsafe implicit operator MR.Const_MeshRelaxParams (Const_MeshApproxRelaxParams self)

Properties

new unsafe ref float surfaceDilateRadius [get]
 radius to find neighbors by surface 0.0f - default = 1e-3 * sqrt(surface area)
new unsafe ref MR.RelaxApproxType type [get]
new unsafe ref bool hardSmoothTetrahedrons [get]
 move all region vertices with exactly three neighbor vertices in the center of the neighbors
new unsafe MR.? Const_VertScalars weights [get, set]
 weight for each vertex. By default, all the vertices have equal weights.
new unsafe ref int iterations [get]
 number of iterations
new unsafe MR.? Const_VertBitSet region [get, set]
 region to relax
new unsafe ref float force [get]
 speed of relaxing, typical values (0.0, 0.5]
new unsafe ref 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)
new unsafe ref bool limitNearInitial [get]
 if true then maximal displacement of each point during denoising will be limited
new unsafe ref float maxInitialDist [get]
 maximum distance between a point and its position before relaxation, ignored if limitNearInitial = false
Properties inherited from MR.Const_MeshApproxRelaxParams
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

Additional Inherited Members

Protected Member Functions inherited from MR.Const_MeshApproxRelaxParams
virtual unsafe void Dispose (bool disposing)
Protected Attributes inherited from MR.Const_MeshApproxRelaxParams
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

Detailed Description

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

Constructor & Destructor Documentation

◆ MeshApproxRelaxParams() [1/3]

unsafe MR.MeshApproxRelaxParams.MeshApproxRelaxParams ( )
inline

Constructs an empty (default-constructed) instance.

◆ MeshApproxRelaxParams() [2/3]

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

◆ MeshApproxRelaxParams() [3/3]

MR.MeshApproxRelaxParams.MeshApproxRelaxParams ( MeshApproxRelaxParams _other)
inline

Member Function Documentation

◆ assign()

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

Generated from method MR::MeshApproxRelaxParams::operator=.

◆ operator MR.MeshRelaxParams()

unsafe implicit MR.MeshApproxRelaxParams.operator MR.MeshRelaxParams ( MeshApproxRelaxParams self)
inlinestatic

◆ operator MR.RelaxParams()

unsafe implicit MR.MeshApproxRelaxParams.operator MR.RelaxParams ( MeshApproxRelaxParams self)
inlinestatic

Property Documentation

◆ force

new unsafe ref float MR.MeshApproxRelaxParams.force
get

speed of relaxing, typical values (0.0, 0.5]

◆ hardSmoothTetrahedrons

new unsafe ref bool MR.MeshApproxRelaxParams.hardSmoothTetrahedrons
get

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

◆ iterations

new unsafe ref int MR.MeshApproxRelaxParams.iterations
get

number of iterations

◆ limitNearInitial

new unsafe ref bool MR.MeshApproxRelaxParams.limitNearInitial
get

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

◆ maxInitialDist

new unsafe ref float MR.MeshApproxRelaxParams.maxInitialDist
get

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

◆ region

new unsafe MR.? Const_VertBitSet MR.MeshApproxRelaxParams.region
getset

region to relax

◆ surfaceDilateRadius

new unsafe ref float MR.MeshApproxRelaxParams.surfaceDilateRadius
get

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

◆ type

new unsafe ref MR.RelaxApproxType MR.MeshApproxRelaxParams.type
get

◆ updateCaches

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

new unsafe MR.? Const_VertScalars MR.MeshApproxRelaxParams.weights
getset

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


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