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

Generated from class MR.PointsToMeshParameters. This is the non-const half of the class. More...

Inheritance diagram for MR.PointsToMeshParameters:

Public Member Functions

unsafe PointsToMeshParameters ()
 Constructs an empty (default-constructed) instance.
unsafe PointsToMeshParameters (float sigma, float minWeight, float invSigmaModifier, bool sqrtAngleWeight, float voxelSize, MR.Const_VertColors? ptColors, MR.VertColors? vColors, MR.Std._ByValue_Function_BoolFuncFromFloat progress, MR.Std._ByValue_Function_ExpectedVoidStdStringFuncFromConstMRPointCloudRefConstMRPointsToDistanceVolumeParamsRefStdFunctionExpectedVoidStdStringFromConstMRSimpleVolumeMinMaxRefIntInt createVolumeCallbackByParts, MR.Std._ByValue_Function_ExpectedMRSimpleVolumeMinMaxStdStringFuncFromConstMRPointCloudRefConstMRPointsToDistanceVolumeParamsRef createVolumeCallback, MR.Std._ByValue_Function_BoolFuncFromConstMRPointCloudRefConstMRPointsToDistanceVolumeParamsRef canCreateVolume)
 Constructs MR.PointsToMeshParameters elementwise.
unsafe PointsToMeshParameters (MR._ByValue_PointsToMeshParameters _other)
 Generated from constructor MR.PointsToMeshParameters.PointsToMeshParameters.
 PointsToMeshParameters (Const_PointsToMeshParameters _other)
 Generated from constructor MR.PointsToMeshParameters.PointsToMeshParameters.
 PointsToMeshParameters (PointsToMeshParameters _other)
 Generated from constructor MR.PointsToMeshParameters.PointsToMeshParameters.
unsafe MR.PointsToMeshParameters assign (MR._ByValue_PointsToMeshParameters _other)
 Generated from method MR::PointsToMeshParameters::operator=.

Properties

new unsafe ref float sigma [get]
 it the distance of highest influence of a point; the maximal influence distance is 3*sigma; beyond that distance the influence is strictly zero
new unsafe ref float minWeight [get]
 minimum sum of influence weights from surrounding points for a triangle to appear, meaning that there shall be at least this number of points in close proximity
new unsafe ref float invSigmaModifier [get]
 coefficient used for weight calculation: e^(dist^2 * -invSigmaModifier * sigma^-2) values: (0;inf)
new unsafe ref bool sqrtAngleWeight [get]
 changes the way point angle affects weight, by default it is linearly increasing with dot product if enabled - increasing as dot product^(0.5) (with respect to its sign)
new unsafe ref float voxelSize [get]
 Size of voxel in grid conversions; The user is responsible for setting some positive value here.
new unsafe MR.? Const_VertColors ptColors [get, set]
 optional input: colors of input points
new unsafe MR.? VertColors vColors [get, set]
 optional output: averaged colors of mesh vertices
new unsafe MR.Std.Function_Bool_From_Float progress [get, protected set]
 Progress callback.
new unsafe MR.Std.Function_ExpectedVoidStdString_From_ConstMRPointCloudRef_ConstMRPointsToDistanceVolumeParamsRef_StdFunctionExpectedVoidStdStringFromConstMRSimpleVolumeMinMaxRefInt_Int createVolumeCallbackByParts [get, protected set]
 Callback for volume creation by parts. If both volume creation functions are null - volume will be created with memory efficient pointsToDistanceFunctionVolume function This callback takes precedence over createVolumeCallback.
new unsafe MR.Std.Function_ExpectedMRSimpleVolumeMinMaxStdString_From_ConstMRPointCloudRef_ConstMRPointsToDistanceVolumeParamsRef createVolumeCallback [get, protected set]
 Callback for volume creation. If both volume creation functions are null - volume will be created with memory efficient pointsToDistanceFunctionVolume function.
new unsafe MR.Std.Function_Bool_From_ConstMRPointCloudRef_ConstMRPointsToDistanceVolumeParamsRef canCreateVolume [get, protected set]
 Callback for checking whether it's possible to use the volume creation function.

Detailed Description

Generated from class MR.PointsToMeshParameters. This is the non-const half of the class.

Constructor & Destructor Documentation

◆ PointsToMeshParameters() [1/5]

unsafe MR.PointsToMeshParameters.PointsToMeshParameters ( )
inline

Constructs an empty (default-constructed) instance.

◆ PointsToMeshParameters() [2/5]

unsafe MR.PointsToMeshParameters.PointsToMeshParameters ( float sigma,
float minWeight,
float invSigmaModifier,
bool sqrtAngleWeight,
float voxelSize,
MR.Const_VertColors? ptColors,
MR.VertColors? vColors,
MR.Std._ByValue_Function_BoolFuncFromFloat progress,
MR.Std._ByValue_Function_ExpectedVoidStdStringFuncFromConstMRPointCloudRefConstMRPointsToDistanceVolumeParamsRefStdFunctionExpectedVoidStdStringFromConstMRSimpleVolumeMinMaxRefIntInt createVolumeCallbackByParts,
MR.Std._ByValue_Function_ExpectedMRSimpleVolumeMinMaxStdStringFuncFromConstMRPointCloudRefConstMRPointsToDistanceVolumeParamsRef createVolumeCallback,
MR.Std._ByValue_Function_BoolFuncFromConstMRPointCloudRefConstMRPointsToDistanceVolumeParamsRef canCreateVolume )
inline

Constructs MR.PointsToMeshParameters elementwise.

◆ PointsToMeshParameters() [3/5]

unsafe MR.PointsToMeshParameters.PointsToMeshParameters ( MR._ByValue_PointsToMeshParameters _other)
inline

◆ PointsToMeshParameters() [4/5]

MR.PointsToMeshParameters.PointsToMeshParameters ( Const_PointsToMeshParameters _other)
inline

◆ PointsToMeshParameters() [5/5]

MR.PointsToMeshParameters.PointsToMeshParameters ( PointsToMeshParameters _other)
inline

Member Function Documentation

◆ assign()

unsafe MR.PointsToMeshParameters MR.PointsToMeshParameters.assign ( MR._ByValue_PointsToMeshParameters _other)
inline

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

Property Documentation

◆ canCreateVolume

new unsafe MR.Std.Function_Bool_From_ConstMRPointCloudRef_ConstMRPointsToDistanceVolumeParamsRef MR.PointsToMeshParameters.canCreateVolume
getprotected set

Callback for checking whether it's possible to use the volume creation function.

◆ createVolumeCallback

new unsafe MR.Std.Function_ExpectedMRSimpleVolumeMinMaxStdString_From_ConstMRPointCloudRef_ConstMRPointsToDistanceVolumeParamsRef MR.PointsToMeshParameters.createVolumeCallback
getprotected set

Callback for volume creation. If both volume creation functions are null - volume will be created with memory efficient pointsToDistanceFunctionVolume function.

◆ createVolumeCallbackByParts

new unsafe MR.Std.Function_ExpectedVoidStdString_From_ConstMRPointCloudRef_ConstMRPointsToDistanceVolumeParamsRef_StdFunctionExpectedVoidStdStringFromConstMRSimpleVolumeMinMaxRefInt_Int MR.PointsToMeshParameters.createVolumeCallbackByParts
getprotected set

Callback for volume creation by parts. If both volume creation functions are null - volume will be created with memory efficient pointsToDistanceFunctionVolume function This callback takes precedence over createVolumeCallback.

◆ invSigmaModifier

new unsafe ref float MR.PointsToMeshParameters.invSigmaModifier
get

coefficient used for weight calculation: e^(dist^2 * -invSigmaModifier * sigma^-2) values: (0;inf)

◆ minWeight

new unsafe ref float MR.PointsToMeshParameters.minWeight
get

minimum sum of influence weights from surrounding points for a triangle to appear, meaning that there shall be at least this number of points in close proximity

◆ progress

new unsafe MR.Std.Function_Bool_From_Float MR.PointsToMeshParameters.progress
getprotected set

Progress callback.

◆ ptColors

new unsafe MR.? Const_VertColors MR.PointsToMeshParameters.ptColors
getset

optional input: colors of input points

◆ sigma

new unsafe ref float MR.PointsToMeshParameters.sigma
get

it the distance of highest influence of a point; the maximal influence distance is 3*sigma; beyond that distance the influence is strictly zero

◆ sqrtAngleWeight

new unsafe ref bool MR.PointsToMeshParameters.sqrtAngleWeight
get

changes the way point angle affects weight, by default it is linearly increasing with dot product if enabled - increasing as dot product^(0.5) (with respect to its sign)

◆ vColors

new unsafe MR.? VertColors MR.PointsToMeshParameters.vColors
getset

optional output: averaged colors of mesh vertices

◆ voxelSize

new unsafe ref float MR.PointsToMeshParameters.voxelSize
get

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


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