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

Generated from class MR.MoveMeshToVoxelMaxDerivSettings. This is the const half of the class. More...

Inheritance diagram for MR.Const_MoveMeshToVoxelMaxDerivSettings:

Classes

struct  _Underlying

Public Member Functions

virtual void Dispose ()
unsafe Const_MoveMeshToVoxelMaxDerivSettings ()
 Constructs an empty (default-constructed) instance.
unsafe Const_MoveMeshToVoxelMaxDerivSettings (int iters, int samplePoints, int degree, float outlierThreshold, float intermediateSmoothForce, float preparationSmoothForce)
 Constructs MR.MoveMeshToVoxelMaxDerivSettings elementwise.
unsafe Const_MoveMeshToVoxelMaxDerivSettings (MR.Const_MoveMeshToVoxelMaxDerivSettings _other)
 Generated from constructor MR.MoveMeshToVoxelMaxDerivSettings.MoveMeshToVoxelMaxDerivSettings.
 Const_MoveMeshToVoxelMaxDerivSettings (MoveMeshToVoxelMaxDerivSettings _other)
 Generated from constructor MR.MoveMeshToVoxelMaxDerivSettings.MoveMeshToVoxelMaxDerivSettings.

Protected Member Functions

virtual unsafe void Dispose (bool disposing)

Protected Attributes

unsafe int * __ref_storage_iters
unsafe int * __ref_storage_samplePoints
unsafe int * __ref_storage_degree
unsafe float * __ref_storage_outlierThreshold
unsafe float * __ref_storage_intermediateSmoothForce
unsafe float * __ref_storage_preparationSmoothForce

Properties

unsafe int iters [get]
 number of iterations. Each iteration moves vertex only slightly and smooths the vector field of shifts.
unsafe int samplePoints [get]
 number of points to sample for each vertex. Samples are used to get the picewice-linear function of density and estimate the derivative based on it
unsafe int degree [get]
 degree of the polynomial used to fit sampled points. Must be in range [3; 6]
unsafe float outlierThreshold [get]
 for each iteration, if target position of the vertex is greater than this threshold, it is disregarded. For small degrees, this value should be small, for large degrees it may be larger. Measured in number of voxels.
unsafe float intermediateSmoothForce [get]
 force of the smoothing (relaxation) of vector field of shifts on each iteration
unsafe float preparationSmoothForce [get]
 force of initial smoothing of vertices, before applying the algorithm

Detailed Description

Generated from class MR.MoveMeshToVoxelMaxDerivSettings. This is the const half of the class.

Constructor & Destructor Documentation

◆ Const_MoveMeshToVoxelMaxDerivSettings() [1/4]

unsafe MR.Const_MoveMeshToVoxelMaxDerivSettings.Const_MoveMeshToVoxelMaxDerivSettings ( )
inline

Constructs an empty (default-constructed) instance.

◆ Const_MoveMeshToVoxelMaxDerivSettings() [2/4]

unsafe MR.Const_MoveMeshToVoxelMaxDerivSettings.Const_MoveMeshToVoxelMaxDerivSettings ( int iters,
int samplePoints,
int degree,
float outlierThreshold,
float intermediateSmoothForce,
float preparationSmoothForce )
inline

Constructs MR.MoveMeshToVoxelMaxDerivSettings elementwise.

◆ Const_MoveMeshToVoxelMaxDerivSettings() [3/4]

unsafe MR.Const_MoveMeshToVoxelMaxDerivSettings.Const_MoveMeshToVoxelMaxDerivSettings ( MR.Const_MoveMeshToVoxelMaxDerivSettings _other)
inline

◆ Const_MoveMeshToVoxelMaxDerivSettings() [4/4]

MR.Const_MoveMeshToVoxelMaxDerivSettings.Const_MoveMeshToVoxelMaxDerivSettings ( MoveMeshToVoxelMaxDerivSettings _other)
inline

Member Function Documentation

◆ Dispose() [1/2]

virtual void MR.Const_MoveMeshToVoxelMaxDerivSettings.Dispose ( )
inlinevirtual

◆ Dispose() [2/2]

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

Member Data Documentation

◆ __ref_storage_degree

unsafe int* MR.Const_MoveMeshToVoxelMaxDerivSettings.__ref_storage_degree
protected

◆ __ref_storage_intermediateSmoothForce

unsafe float* MR.Const_MoveMeshToVoxelMaxDerivSettings.__ref_storage_intermediateSmoothForce
protected

◆ __ref_storage_iters

unsafe int* MR.Const_MoveMeshToVoxelMaxDerivSettings.__ref_storage_iters
protected

◆ __ref_storage_outlierThreshold

unsafe float* MR.Const_MoveMeshToVoxelMaxDerivSettings.__ref_storage_outlierThreshold
protected

◆ __ref_storage_preparationSmoothForce

unsafe float* MR.Const_MoveMeshToVoxelMaxDerivSettings.__ref_storage_preparationSmoothForce
protected

◆ __ref_storage_samplePoints

unsafe int* MR.Const_MoveMeshToVoxelMaxDerivSettings.__ref_storage_samplePoints
protected

Property Documentation

◆ degree

unsafe int MR.Const_MoveMeshToVoxelMaxDerivSettings.degree
get

degree of the polynomial used to fit sampled points. Must be in range [3; 6]

◆ intermediateSmoothForce

unsafe float MR.Const_MoveMeshToVoxelMaxDerivSettings.intermediateSmoothForce
get

force of the smoothing (relaxation) of vector field of shifts on each iteration

◆ iters

unsafe int MR.Const_MoveMeshToVoxelMaxDerivSettings.iters
get

number of iterations. Each iteration moves vertex only slightly and smooths the vector field of shifts.

◆ outlierThreshold

unsafe float MR.Const_MoveMeshToVoxelMaxDerivSettings.outlierThreshold
get

for each iteration, if target position of the vertex is greater than this threshold, it is disregarded. For small degrees, this value should be small, for large degrees it may be larger. Measured in number of voxels.

◆ preparationSmoothForce

unsafe float MR.Const_MoveMeshToVoxelMaxDerivSettings.preparationSmoothForce
get

force of initial smoothing of vertices, before applying the algorithm

◆ samplePoints

unsafe int MR.Const_MoveMeshToVoxelMaxDerivSettings.samplePoints
get

number of points to sample for each vertex. Samples are used to get the picewice-linear function of density and estimate the derivative based on it


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