MeshLib C Docs
Loading...
Searching...
No Matches
MRPointsToMeshFusion.h File Reference
#include <MRCMisc/common.h>
#include <MRCMisc/exports.h>
#include <stdbool.h>
#include <stddef.h>

Go to the source code of this file.

Typedefs

typedef struct MR_PointsToMeshParameters MR_PointsToMeshParameters

Functions

MRC_API const float * MR_PointsToMeshParameters_Get_sigma (const MR_PointsToMeshParameters *_this)
MRC_API void MR_PointsToMeshParameters_Set_sigma (MR_PointsToMeshParameters *_this, float value)
MRC_API float * MR_PointsToMeshParameters_GetMutable_sigma (MR_PointsToMeshParameters *_this)
MRC_API const float * MR_PointsToMeshParameters_Get_minWeight (const MR_PointsToMeshParameters *_this)
MRC_API void MR_PointsToMeshParameters_Set_minWeight (MR_PointsToMeshParameters *_this, float value)
MRC_API float * MR_PointsToMeshParameters_GetMutable_minWeight (MR_PointsToMeshParameters *_this)
MRC_API const float * MR_PointsToMeshParameters_Get_invSigmaModifier (const MR_PointsToMeshParameters *_this)
MRC_API void MR_PointsToMeshParameters_Set_invSigmaModifier (MR_PointsToMeshParameters *_this, float value)
MRC_API float * MR_PointsToMeshParameters_GetMutable_invSigmaModifier (MR_PointsToMeshParameters *_this)
MRC_API const bool * MR_PointsToMeshParameters_Get_sqrtAngleWeight (const MR_PointsToMeshParameters *_this)
MRC_API void MR_PointsToMeshParameters_Set_sqrtAngleWeight (MR_PointsToMeshParameters *_this, bool value)
MRC_API bool * MR_PointsToMeshParameters_GetMutable_sqrtAngleWeight (MR_PointsToMeshParameters *_this)
MRC_API const float * MR_PointsToMeshParameters_Get_voxelSize (const MR_PointsToMeshParameters *_this)
MRC_API void MR_PointsToMeshParameters_Set_voxelSize (MR_PointsToMeshParameters *_this, float value)
MRC_API float * MR_PointsToMeshParameters_GetMutable_voxelSize (MR_PointsToMeshParameters *_this)
MRC_API const MR_VertColors *const * MR_PointsToMeshParameters_Get_ptColors (const MR_PointsToMeshParameters *_this)
MRC_API void MR_PointsToMeshParameters_Set_ptColors (MR_PointsToMeshParameters *_this, const MR_VertColors *value)
MRC_API const MR_VertColors ** MR_PointsToMeshParameters_GetMutable_ptColors (MR_PointsToMeshParameters *_this)
MRC_API MR_VertColors *const * MR_PointsToMeshParameters_Get_vColors (const MR_PointsToMeshParameters *_this)
MRC_API void MR_PointsToMeshParameters_Set_vColors (MR_PointsToMeshParameters *_this, MR_VertColors *value)
MRC_API MR_VertColors ** MR_PointsToMeshParameters_GetMutable_vColors (MR_PointsToMeshParameters *_this)
MRC_API const MR_std_function_bool_from_floatMR_PointsToMeshParameters_Get_progress (const MR_PointsToMeshParameters *_this)
MRC_API void MR_PointsToMeshParameters_Set_progress (MR_PointsToMeshParameters *_this, MR_PassBy value_pass_by, MR_std_function_bool_from_float *value)
MRC_API MR_std_function_bool_from_floatMR_PointsToMeshParameters_GetMutable_progress (MR_PointsToMeshParameters *_this)
MRC_API const MR_std_function_expected_void_std_string_from_const_MR_PointCloud_ref_const_MR_PointsToDistanceVolumeParams_ref_std_function_expected_void_std_string_func_from_const_MR_SimpleVolumeMinMax_ref_int_intMR_PointsToMeshParameters_Get_createVolumeCallbackByParts (const MR_PointsToMeshParameters *_this)
MRC_API void MR_PointsToMeshParameters_Set_createVolumeCallbackByParts (MR_PointsToMeshParameters *_this, MR_PassBy value_pass_by, MR_std_function_expected_void_std_string_from_const_MR_PointCloud_ref_const_MR_PointsToDistanceVolumeParams_ref_std_function_expected_void_std_string_func_from_const_MR_SimpleVolumeMinMax_ref_int_int *value)
MRC_API MR_std_function_expected_void_std_string_from_const_MR_PointCloud_ref_const_MR_PointsToDistanceVolumeParams_ref_std_function_expected_void_std_string_func_from_const_MR_SimpleVolumeMinMax_ref_int_intMR_PointsToMeshParameters_GetMutable_createVolumeCallbackByParts (MR_PointsToMeshParameters *_this)
MRC_API const MR_std_function_expected_MR_SimpleVolumeMinMax_std_string_from_const_MR_PointCloud_ref_const_MR_PointsToDistanceVolumeParams_refMR_PointsToMeshParameters_Get_createVolumeCallback (const MR_PointsToMeshParameters *_this)
MRC_API void MR_PointsToMeshParameters_Set_createVolumeCallback (MR_PointsToMeshParameters *_this, MR_PassBy value_pass_by, MR_std_function_expected_MR_SimpleVolumeMinMax_std_string_from_const_MR_PointCloud_ref_const_MR_PointsToDistanceVolumeParams_ref *value)
MRC_API MR_std_function_expected_MR_SimpleVolumeMinMax_std_string_from_const_MR_PointCloud_ref_const_MR_PointsToDistanceVolumeParams_refMR_PointsToMeshParameters_GetMutable_createVolumeCallback (MR_PointsToMeshParameters *_this)
MRC_API const MR_std_function_bool_from_const_MR_PointCloud_ref_const_MR_PointsToDistanceVolumeParams_refMR_PointsToMeshParameters_Get_canCreateVolume (const MR_PointsToMeshParameters *_this)
MRC_API void MR_PointsToMeshParameters_Set_canCreateVolume (MR_PointsToMeshParameters *_this, MR_PassBy value_pass_by, MR_std_function_bool_from_const_MR_PointCloud_ref_const_MR_PointsToDistanceVolumeParams_ref *value)
MRC_API MR_std_function_bool_from_const_MR_PointCloud_ref_const_MR_PointsToDistanceVolumeParams_refMR_PointsToMeshParameters_GetMutable_canCreateVolume (MR_PointsToMeshParameters *_this)
MRC_API MR_PointsToMeshParametersMR_PointsToMeshParameters_DefaultConstruct (void)
MRC_API MR_PointsToMeshParametersMR_PointsToMeshParameters_DefaultConstructArray (size_t num_elems)
MRC_API MR_PointsToMeshParametersMR_PointsToMeshParameters_ConstructFrom (float sigma, float minWeight, float invSigmaModifier, bool sqrtAngleWeight, float voxelSize, const MR_VertColors *ptColors, MR_VertColors *vColors, MR_PassBy progress_pass_by, MR_std_function_bool_from_float *progress, MR_PassBy createVolumeCallbackByParts_pass_by, MR_std_function_expected_void_std_string_from_const_MR_PointCloud_ref_const_MR_PointsToDistanceVolumeParams_ref_std_function_expected_void_std_string_func_from_const_MR_SimpleVolumeMinMax_ref_int_int *createVolumeCallbackByParts, MR_PassBy createVolumeCallback_pass_by, MR_std_function_expected_MR_SimpleVolumeMinMax_std_string_from_const_MR_PointCloud_ref_const_MR_PointsToDistanceVolumeParams_ref *createVolumeCallback, MR_PassBy canCreateVolume_pass_by, MR_std_function_bool_from_const_MR_PointCloud_ref_const_MR_PointsToDistanceVolumeParams_ref *canCreateVolume)
MRC_API const MR_PointsToMeshParametersMR_PointsToMeshParameters_OffsetPtr (const MR_PointsToMeshParameters *ptr, ptrdiff_t i)
MRC_API MR_PointsToMeshParametersMR_PointsToMeshParameters_OffsetMutablePtr (MR_PointsToMeshParameters *ptr, ptrdiff_t i)
MRC_API MR_PointsToMeshParametersMR_PointsToMeshParameters_ConstructFromAnother (MR_PassBy _other_pass_by, MR_PointsToMeshParameters *_other)
MRC_API void MR_PointsToMeshParameters_Destroy (const MR_PointsToMeshParameters *_this)
 Destroys a heap-allocated instance of MR_PointsToMeshParameters. Does nothing if the pointer is null.
MRC_API void MR_PointsToMeshParameters_DestroyArray (const MR_PointsToMeshParameters *_this)
 Destroys a heap-allocated array of MR_PointsToMeshParameters. Does nothing if the pointer is null.
MRC_API MR_PointsToMeshParametersMR_PointsToMeshParameters_AssignFromAnother (MR_PointsToMeshParameters *_this, MR_PassBy _other_pass_by, MR_PointsToMeshParameters *_other)
MRC_API MR_expected_MR_Mesh_std_stringMR_pointsToMeshFusion (const MR_PointCloud *cloud, const MR_PointsToMeshParameters *params)

Typedef Documentation

◆ MR_PointsToMeshParameters

Generated from class MR::PointsToMeshParameters. Supported MR_PassBy modes: MR_PassBy_DefaultConstruct, MR_PassBy_Copy, MR_PassBy_Move (and MR_PassBy_DefaultArgument and MR_PassBy_NoObject if supported by the callee).

Function Documentation

◆ MR_pointsToMeshFusion()

MRC_API MR_expected_MR_Mesh_std_string * MR_pointsToMeshFusion ( const MR_PointCloud * cloud,
const MR_PointsToMeshParameters * params )

makes mesh from points with normals by constructing intermediate volume with signed distances and then using marching cubes algorithm to extract the surface from there Generated from function MR::pointsToMeshFusion. Parameter cloud can not be null. It is a single object. Parameter params can not be null. It is a single object. Never returns null. Returns an instance allocated on the heap! Must call MR_expected_MR_Mesh_std_string_Destroy() to free it when you're done using it.

◆ MR_PointsToMeshParameters_AssignFromAnother()

MRC_API MR_PointsToMeshParameters * MR_PointsToMeshParameters_AssignFromAnother ( MR_PointsToMeshParameters * _this,
MR_PassBy _other_pass_by,
MR_PointsToMeshParameters * _other )

Generated from method MR::PointsToMeshParameters::operator=. Parameter _this can not be null. It is a single object. The reference to things referred to by the parameter _other (if any) might be preserved in this object. The returned pointer will never be null. It is non-owning, do NOT destroy it. When this function is called, this object will drop any object references it held previously.

◆ MR_PointsToMeshParameters_ConstructFrom()

MRC_API MR_PointsToMeshParameters * MR_PointsToMeshParameters_ConstructFrom ( float sigma,
float minWeight,
float invSigmaModifier,
bool sqrtAngleWeight,
float voxelSize,
const MR_VertColors * ptColors,
MR_VertColors * vColors,
MR_PassBy progress_pass_by,
MR_std_function_bool_from_float * progress,
MR_PassBy createVolumeCallbackByParts_pass_by,
MR_std_function_expected_void_std_string_from_const_MR_PointCloud_ref_const_MR_PointsToDistanceVolumeParams_ref_std_function_expected_void_std_string_func_from_const_MR_SimpleVolumeMinMax_ref_int_int * createVolumeCallbackByParts,
MR_PassBy createVolumeCallback_pass_by,
MR_std_function_expected_MR_SimpleVolumeMinMax_std_string_from_const_MR_PointCloud_ref_const_MR_PointsToDistanceVolumeParams_ref * createVolumeCallback,
MR_PassBy canCreateVolume_pass_by,
MR_std_function_bool_from_const_MR_PointCloud_ref_const_MR_PointsToDistanceVolumeParams_ref * canCreateVolume )

Constructs MR::PointsToMeshParameters elementwise. The reference to the parameter ptColors might be preserved in the constructed object. The reference to the parameter vColors might be preserved in the constructed object. The reference to the parameter progress might be preserved in the constructed object. The reference to the parameter createVolumeCallbackByParts might be preserved in the constructed object. The reference to the parameter createVolumeCallback might be preserved in the constructed object. The reference to the parameter canCreateVolume might be preserved in the constructed object. Never returns null. Returns an instance allocated on the heap! Must call MR_PointsToMeshParameters_Destroy() to free it when you're done using it. When this function is called, this object will drop any object references it held previously.

◆ MR_PointsToMeshParameters_ConstructFromAnother()

MRC_API MR_PointsToMeshParameters * MR_PointsToMeshParameters_ConstructFromAnother ( MR_PassBy _other_pass_by,
MR_PointsToMeshParameters * _other )

Generated from constructor MR::PointsToMeshParameters::PointsToMeshParameters. The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object. Never returns null. Returns an instance allocated on the heap! Must call MR_PointsToMeshParameters_Destroy() to free it when you're done using it.

◆ MR_PointsToMeshParameters_DefaultConstruct()

MRC_API MR_PointsToMeshParameters * MR_PointsToMeshParameters_DefaultConstruct ( void )

Constructs an empty (default-constructed) instance. Never returns null. Returns an instance allocated on the heap! Must call MR_PointsToMeshParameters_Destroy() to free it when you're done using it.

◆ MR_PointsToMeshParameters_DefaultConstructArray()

MRC_API MR_PointsToMeshParameters * MR_PointsToMeshParameters_DefaultConstructArray ( size_t num_elems)

Constructs an array of empty (default-constructed) instances, of the specified size. Will never return null. The array must be destroyed using MR_PointsToMeshParameters_DestroyArray(). Use MR_PointsToMeshParameters_OffsetMutablePtr() and MR_PointsToMeshParameters_OffsetPtr() to access the array elements.

◆ MR_PointsToMeshParameters_Destroy()

MRC_API void MR_PointsToMeshParameters_Destroy ( const MR_PointsToMeshParameters * _this)

Destroys a heap-allocated instance of MR_PointsToMeshParameters. Does nothing if the pointer is null.

◆ MR_PointsToMeshParameters_DestroyArray()

MRC_API void MR_PointsToMeshParameters_DestroyArray ( const MR_PointsToMeshParameters * _this)

Destroys a heap-allocated array of MR_PointsToMeshParameters. Does nothing if the pointer is null.

◆ MR_PointsToMeshParameters_Get_canCreateVolume()

Callback for checking whether it's possible to use the volume creation function Returns a pointer to a member variable of class MR::PointsToMeshParameters named canCreateVolume. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it. The reference to this object might be preserved as the return value.

◆ MR_PointsToMeshParameters_Get_createVolumeCallback()

Callback for volume creation. If both volume creation functions are null - volume will be created with memory efficient pointsToDistanceFunctionVolume function Returns a pointer to a member variable of class MR::PointsToMeshParameters named createVolumeCallback. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it. The reference to this object might be preserved as the return value.

◆ MR_PointsToMeshParameters_Get_createVolumeCallbackByParts()

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 Returns a pointer to a member variable of class MR::PointsToMeshParameters named createVolumeCallbackByParts. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it. The reference to this object might be preserved as the return value.

◆ MR_PointsToMeshParameters_Get_invSigmaModifier()

MRC_API const float * MR_PointsToMeshParameters_Get_invSigmaModifier ( const MR_PointsToMeshParameters * _this)

coefficient used for weight calculation: e^(dist^2 * -invSigmaModifier * sigma^-2) values: (0;inf) Returns a pointer to a member variable of class MR::PointsToMeshParameters named invSigmaModifier. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it. The reference to this object might be preserved as the return value.

◆ MR_PointsToMeshParameters_Get_minWeight()

MRC_API const float * MR_PointsToMeshParameters_Get_minWeight ( const MR_PointsToMeshParameters * _this)

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 Returns a pointer to a member variable of class MR::PointsToMeshParameters named minWeight. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it. The reference to this object might be preserved as the return value.

◆ MR_PointsToMeshParameters_Get_progress()

MRC_API const MR_std_function_bool_from_float * MR_PointsToMeshParameters_Get_progress ( const MR_PointsToMeshParameters * _this)

Progress callback Returns a pointer to a member variable of class MR::PointsToMeshParameters named progress. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it. The reference to this object might be preserved as the return value.

◆ MR_PointsToMeshParameters_Get_ptColors()

MRC_API const MR_VertColors *const * MR_PointsToMeshParameters_Get_ptColors ( const MR_PointsToMeshParameters * _this)

optional input: colors of input points Returns a pointer to a member variable of class MR::PointsToMeshParameters named ptColors. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it. The reference to this object might be preserved as the return value.

◆ MR_PointsToMeshParameters_Get_sigma()

MRC_API const float * MR_PointsToMeshParameters_Get_sigma ( const MR_PointsToMeshParameters * _this)

it the distance of highest influence of a point; the maximal influence distance is 3*sigma; beyond that distance the influence is strictly zero Returns a pointer to a member variable of class MR::PointsToMeshParameters named sigma. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it. The reference to this object might be preserved as the return value.

◆ MR_PointsToMeshParameters_Get_sqrtAngleWeight()

MRC_API const bool * MR_PointsToMeshParameters_Get_sqrtAngleWeight ( const MR_PointsToMeshParameters * _this)

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) Returns a pointer to a member variable of class MR::PointsToMeshParameters named sqrtAngleWeight. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it. The reference to this object might be preserved as the return value.

◆ MR_PointsToMeshParameters_Get_vColors()

MRC_API MR_VertColors *const * MR_PointsToMeshParameters_Get_vColors ( const MR_PointsToMeshParameters * _this)

optional output: averaged colors of mesh vertices Returns a pointer to a member variable of class MR::PointsToMeshParameters named vColors. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it. The reference to this object might be preserved as the return value.

◆ MR_PointsToMeshParameters_Get_voxelSize()

MRC_API const float * MR_PointsToMeshParameters_Get_voxelSize ( const MR_PointsToMeshParameters * _this)

Size of voxel in grid conversions; The user is responsible for setting some positive value here Returns a pointer to a member variable of class MR::PointsToMeshParameters named voxelSize. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it. The reference to this object might be preserved as the return value.

◆ MR_PointsToMeshParameters_GetMutable_canCreateVolume()

Callback for checking whether it's possible to use the volume creation function Returns a mutable pointer to a member variable of class MR::PointsToMeshParameters named canCreateVolume. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it. The reference to this object might be preserved as the return value.

◆ MR_PointsToMeshParameters_GetMutable_createVolumeCallback()

Callback for volume creation. If both volume creation functions are null - volume will be created with memory efficient pointsToDistanceFunctionVolume function Returns a mutable pointer to a member variable of class MR::PointsToMeshParameters named createVolumeCallback. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it. The reference to this object might be preserved as the return value.

◆ MR_PointsToMeshParameters_GetMutable_createVolumeCallbackByParts()

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 Returns a mutable pointer to a member variable of class MR::PointsToMeshParameters named createVolumeCallbackByParts. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it. The reference to this object might be preserved as the return value.

◆ MR_PointsToMeshParameters_GetMutable_invSigmaModifier()

MRC_API float * MR_PointsToMeshParameters_GetMutable_invSigmaModifier ( MR_PointsToMeshParameters * _this)

coefficient used for weight calculation: e^(dist^2 * -invSigmaModifier * sigma^-2) values: (0;inf) Returns a mutable pointer to a member variable of class MR::PointsToMeshParameters named invSigmaModifier. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it. The reference to this object might be preserved as the return value.

◆ MR_PointsToMeshParameters_GetMutable_minWeight()

MRC_API float * MR_PointsToMeshParameters_GetMutable_minWeight ( MR_PointsToMeshParameters * _this)

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 Returns a mutable pointer to a member variable of class MR::PointsToMeshParameters named minWeight. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it. The reference to this object might be preserved as the return value.

◆ MR_PointsToMeshParameters_GetMutable_progress()

MRC_API MR_std_function_bool_from_float * MR_PointsToMeshParameters_GetMutable_progress ( MR_PointsToMeshParameters * _this)

Progress callback Returns a mutable pointer to a member variable of class MR::PointsToMeshParameters named progress. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it. The reference to this object might be preserved as the return value.

◆ MR_PointsToMeshParameters_GetMutable_ptColors()

MRC_API const MR_VertColors ** MR_PointsToMeshParameters_GetMutable_ptColors ( MR_PointsToMeshParameters * _this)

optional input: colors of input points Returns a mutable pointer to a member variable of class MR::PointsToMeshParameters named ptColors. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it. The reference to this object might be preserved as the return value.

◆ MR_PointsToMeshParameters_GetMutable_sigma()

MRC_API float * MR_PointsToMeshParameters_GetMutable_sigma ( MR_PointsToMeshParameters * _this)

it the distance of highest influence of a point; the maximal influence distance is 3*sigma; beyond that distance the influence is strictly zero Returns a mutable pointer to a member variable of class MR::PointsToMeshParameters named sigma. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it. The reference to this object might be preserved as the return value.

◆ MR_PointsToMeshParameters_GetMutable_sqrtAngleWeight()

MRC_API bool * MR_PointsToMeshParameters_GetMutable_sqrtAngleWeight ( MR_PointsToMeshParameters * _this)

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) Returns a mutable pointer to a member variable of class MR::PointsToMeshParameters named sqrtAngleWeight. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it. The reference to this object might be preserved as the return value.

◆ MR_PointsToMeshParameters_GetMutable_vColors()

MRC_API MR_VertColors ** MR_PointsToMeshParameters_GetMutable_vColors ( MR_PointsToMeshParameters * _this)

optional output: averaged colors of mesh vertices Returns a mutable pointer to a member variable of class MR::PointsToMeshParameters named vColors. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it. The reference to this object might be preserved as the return value.

◆ MR_PointsToMeshParameters_GetMutable_voxelSize()

MRC_API float * MR_PointsToMeshParameters_GetMutable_voxelSize ( MR_PointsToMeshParameters * _this)

Size of voxel in grid conversions; The user is responsible for setting some positive value here Returns a mutable pointer to a member variable of class MR::PointsToMeshParameters named voxelSize. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it. The reference to this object might be preserved as the return value.

◆ MR_PointsToMeshParameters_OffsetMutablePtr()

MRC_API MR_PointsToMeshParameters * MR_PointsToMeshParameters_OffsetMutablePtr ( MR_PointsToMeshParameters * ptr,
ptrdiff_t i )

Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the pointer points to an array element. The reference to the parameter ptr might be preserved in the return value.

◆ MR_PointsToMeshParameters_OffsetPtr()

MRC_API const MR_PointsToMeshParameters * MR_PointsToMeshParameters_OffsetPtr ( const MR_PointsToMeshParameters * ptr,
ptrdiff_t i )

Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the pointer points to an array element. The reference to the parameter ptr might be preserved in the return value.

◆ MR_PointsToMeshParameters_Set_canCreateVolume()

MRC_API void MR_PointsToMeshParameters_Set_canCreateVolume ( MR_PointsToMeshParameters * _this,
MR_PassBy value_pass_by,
MR_std_function_bool_from_const_MR_PointCloud_ref_const_MR_PointsToDistanceVolumeParams_ref * value )

Callback for checking whether it's possible to use the volume creation function Modifies a member variable of class MR::PointsToMeshParameters named canCreateVolume. Parameter _this can not be null. It is a single object. The reference to the parameter value might be preserved in this object in element canCreateVolume. When this function is called, this object will drop object references it held previously in canCreateVolume.

◆ MR_PointsToMeshParameters_Set_createVolumeCallback()

Callback for volume creation. If both volume creation functions are null - volume will be created with memory efficient pointsToDistanceFunctionVolume function Modifies a member variable of class MR::PointsToMeshParameters named createVolumeCallback. Parameter _this can not be null. It is a single object. The reference to the parameter value might be preserved in this object in element createVolumeCallback. When this function is called, this object will drop object references it held previously in createVolumeCallback.

◆ MR_PointsToMeshParameters_Set_createVolumeCallbackByParts()

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 Modifies a member variable of class MR::PointsToMeshParameters named createVolumeCallbackByParts. Parameter _this can not be null. It is a single object. The reference to the parameter value might be preserved in this object in element createVolumeCallbackByParts. When this function is called, this object will drop object references it held previously in createVolumeCallbackByParts.

◆ MR_PointsToMeshParameters_Set_invSigmaModifier()

MRC_API void MR_PointsToMeshParameters_Set_invSigmaModifier ( MR_PointsToMeshParameters * _this,
float value )

coefficient used for weight calculation: e^(dist^2 * -invSigmaModifier * sigma^-2) values: (0;inf) Modifies a member variable of class MR::PointsToMeshParameters named invSigmaModifier. Parameter _this can not be null. It is a single object. When this function is called, this object will drop object references it held previously in invSigmaModifier.

◆ MR_PointsToMeshParameters_Set_minWeight()

MRC_API void MR_PointsToMeshParameters_Set_minWeight ( MR_PointsToMeshParameters * _this,
float value )

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 Modifies a member variable of class MR::PointsToMeshParameters named minWeight. Parameter _this can not be null. It is a single object. When this function is called, this object will drop object references it held previously in minWeight.

◆ MR_PointsToMeshParameters_Set_progress()

MRC_API void MR_PointsToMeshParameters_Set_progress ( MR_PointsToMeshParameters * _this,
MR_PassBy value_pass_by,
MR_std_function_bool_from_float * value )

Progress callback Modifies a member variable of class MR::PointsToMeshParameters named progress. Parameter _this can not be null. It is a single object. The reference to the parameter value might be preserved in this object in element progress. When this function is called, this object will drop object references it held previously in progress.

◆ MR_PointsToMeshParameters_Set_ptColors()

MRC_API void MR_PointsToMeshParameters_Set_ptColors ( MR_PointsToMeshParameters * _this,
const MR_VertColors * value )

optional input: colors of input points Modifies a member variable of class MR::PointsToMeshParameters named ptColors. Parameter _this can not be null. It is a single object. The reference to the parameter value might be preserved in this object in element ptColors. When this function is called, this object will drop object references it held previously in ptColors.

◆ MR_PointsToMeshParameters_Set_sigma()

MRC_API void MR_PointsToMeshParameters_Set_sigma ( MR_PointsToMeshParameters * _this,
float value )

it the distance of highest influence of a point; the maximal influence distance is 3*sigma; beyond that distance the influence is strictly zero Modifies a member variable of class MR::PointsToMeshParameters named sigma. Parameter _this can not be null. It is a single object. When this function is called, this object will drop object references it held previously in sigma.

◆ MR_PointsToMeshParameters_Set_sqrtAngleWeight()

MRC_API void MR_PointsToMeshParameters_Set_sqrtAngleWeight ( MR_PointsToMeshParameters * _this,
bool value )

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) Modifies a member variable of class MR::PointsToMeshParameters named sqrtAngleWeight. Parameter _this can not be null. It is a single object. When this function is called, this object will drop object references it held previously in sqrtAngleWeight.

◆ MR_PointsToMeshParameters_Set_vColors()

MRC_API void MR_PointsToMeshParameters_Set_vColors ( MR_PointsToMeshParameters * _this,
MR_VertColors * value )

optional output: averaged colors of mesh vertices Modifies a member variable of class MR::PointsToMeshParameters named vColors. Parameter _this can not be null. It is a single object. The reference to the parameter value might be preserved in this object in element vColors. When this function is called, this object will drop object references it held previously in vColors.

◆ MR_PointsToMeshParameters_Set_voxelSize()

MRC_API void MR_PointsToMeshParameters_Set_voxelSize ( MR_PointsToMeshParameters * _this,
float value )

Size of voxel in grid conversions; The user is responsible for setting some positive value here Modifies a member variable of class MR::PointsToMeshParameters named voxelSize. Parameter _this can not be null. It is a single object. When this function is called, this object will drop object references it held previously in voxelSize.