MeshLib C Docs
Loading...
Searching...
No Matches
MRPointsToMeshFusion.h
Go to the documentation of this file.
1#pragma once
2
3#include <MRCMisc/common.h>
4#include <MRCMisc/exports.h>
5
6#include <stdbool.h>
7#include <stddef.h>
8
9#ifdef __cplusplus
10extern "C" {
11#endif
12
13typedef struct MR_PointCloud MR_PointCloud; // Defined in `#include <MRCMesh/MRPointCloud.h>`.
14typedef struct MR_VertColors MR_VertColors; // Defined in `#include <MRCMesh/MRVector.h>`.
15typedef struct MR_expected_MR_Mesh_std_string MR_expected_MR_Mesh_std_string; // Defined in `#include <MRCMisc/expected_MR_Mesh_std_string.h>`.
16typedef struct MR_std_function_bool_from_const_MR_PointCloud_ref_const_MR_PointsToDistanceVolumeParams_ref MR_std_function_bool_from_const_MR_PointCloud_ref_const_MR_PointsToDistanceVolumeParams_ref; // Defined in `#include <MRCMisc/std_function_bool_from_const_MR_PointCloud_ref_const_MR_PointsToDistanceVolumeParams_ref.h>`.
17typedef struct MR_std_function_bool_from_float MR_std_function_bool_from_float; // Defined in `#include <MRCMisc/std_function_bool_from_float.h>`.
20
21
25
33
40
48
55
61
68
76
83
91
99
106
114
122
129
137
144
151
158
165
172
179
186
193
200
208
216
224
231
238
245
252
259
266
270
275
286
290
294
299
302
305
312
320
321#ifdef __cplusplus
322} // extern "C"
323#endif
struct MR_std_function_bool_from_float MR_std_function_bool_from_float
Definition MR3mf.h:10
struct MR_expected_MR_Mesh_std_string MR_expected_MR_Mesh_std_string
Definition MRCtm.h:24
struct MR_VertColors MR_VertColors
std::vector<T>-like container that requires specific indexing type,
Definition MRCtm.h:22
struct MR_PointCloud MR_PointCloud
Definition MRCtm.h:19
MRC_API void MR_PointsToMeshParameters_Set_invSigmaModifier(MR_PointsToMeshParameters *_this, float value)
MRC_API const float * MR_PointsToMeshParameters_Get_invSigmaModifier(const MR_PointsToMeshParameters *_this)
MRC_API MR_PointsToMeshParameters * MR_PointsToMeshParameters_DefaultConstruct(void)
MRC_API void MR_PointsToMeshParameters_Set_progress(MR_PointsToMeshParameters *_this, MR_PassBy value_pass_by, MR_std_function_bool_from_float *value)
MRC_API const float * MR_PointsToMeshParameters_Get_minWeight(const MR_PointsToMeshParameters *_this)
MRC_API float * MR_PointsToMeshParameters_GetMutable_minWeight(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 void MR_PointsToMeshParameters_Set_sigma(MR_PointsToMeshParameters *_this, float value)
MRC_API const float * MR_PointsToMeshParameters_Get_voxelSize(const MR_PointsToMeshParameters *_this)
MRC_API MR_std_function_bool_from_float * MR_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_int * MR_PointsToMeshParameters_Get_createVolumeCallbackByParts(const MR_PointsToMeshParameters *_this)
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_int * MR_PointsToMeshParameters_GetMutable_createVolumeCallbackByParts(MR_PointsToMeshParameters *_this)
MRC_API MR_PointsToMeshParameters * MR_PointsToMeshParameters_ConstructFromAnother(MR_PassBy _other_pass_by, MR_PointsToMeshParameters *_other)
MRC_API float * MR_PointsToMeshParameters_GetMutable_invSigmaModifier(MR_PointsToMeshParameters *_this)
MRC_API void MR_PointsToMeshParameters_Set_ptColors(MR_PointsToMeshParameters *_this, const MR_VertColors *value)
MRC_API MR_std_function_bool_from_const_MR_PointCloud_ref_const_MR_PointsToDistanceVolumeParams_ref * MR_PointsToMeshParameters_GetMutable_canCreateVolume(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 void MR_PointsToMeshParameters_Set_vColors(MR_PointsToMeshParameters *_this, MR_VertColors *value)
MRC_API const MR_std_function_bool_from_const_MR_PointCloud_ref_const_MR_PointsToDistanceVolumeParams_ref * MR_PointsToMeshParameters_Get_canCreateVolume(const MR_PointsToMeshParameters *_this)
MRC_API void MR_PointsToMeshParameters_Set_voxelSize(MR_PointsToMeshParameters *_this, float value)
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 const float * MR_PointsToMeshParameters_Get_sigma(const MR_PointsToMeshParameters *_this)
MRC_API const MR_PointsToMeshParameters * MR_PointsToMeshParameters_OffsetPtr(const MR_PointsToMeshParameters *ptr, ptrdiff_t i)
MRC_API MR_PointsToMeshParameters * MR_PointsToMeshParameters_DefaultConstructArray(size_t num_elems)
MRC_API void MR_PointsToMeshParameters_Set_sqrtAngleWeight(MR_PointsToMeshParameters *_this, bool value)
MRC_API void MR_PointsToMeshParameters_Set_minWeight(MR_PointsToMeshParameters *_this, float value)
MRC_API bool * MR_PointsToMeshParameters_GetMutable_sqrtAngleWeight(MR_PointsToMeshParameters *_this)
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)
MRC_API MR_VertColors *const * MR_PointsToMeshParameters_Get_vColors(const MR_PointsToMeshParameters *_this)
MRC_API const MR_VertColors ** MR_PointsToMeshParameters_GetMutable_ptColors(MR_PointsToMeshParameters *_this)
MRC_API float * MR_PointsToMeshParameters_GetMutable_sigma(MR_PointsToMeshParameters *_this)
MRC_API const MR_std_function_bool_from_float * MR_PointsToMeshParameters_Get_progress(const MR_PointsToMeshParameters *_this)
MRC_API MR_expected_MR_Mesh_std_string * MR_pointsToMeshFusion(const MR_PointCloud *cloud, const MR_PointsToMeshParameters *params)
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 const bool * MR_PointsToMeshParameters_Get_sqrtAngleWeight(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_MR_SimpleVolumeMinMax_std_string_from_const_MR_PointCloud_ref_const_MR_PointsToDistanceVolumeParams_ref * MR_PointsToMeshParameters_GetMutable_createVolumeCallback(MR_PointsToMeshParameters *_this)
struct MR_PointsToMeshParameters MR_PointsToMeshParameters
Definition MRPointsToMeshFusion.h:24
MRC_API float * MR_PointsToMeshParameters_GetMutable_voxelSize(MR_PointsToMeshParameters *_this)
MRC_API const MR_std_function_expected_MR_SimpleVolumeMinMax_std_string_from_const_MR_PointCloud_ref_const_MR_PointsToDistanceVolumeParams_ref * MR_PointsToMeshParameters_Get_createVolumeCallback(const MR_PointsToMeshParameters *_this)
MRC_API MR_PointsToMeshParameters * MR_PointsToMeshParameters_AssignFromAnother(MR_PointsToMeshParameters *_this, MR_PassBy _other_pass_by, MR_PointsToMeshParameters *_other)
MRC_API MR_VertColors ** MR_PointsToMeshParameters_GetMutable_vColors(MR_PointsToMeshParameters *_this)
MRC_API const MR_VertColors *const * MR_PointsToMeshParameters_Get_ptColors(const MR_PointsToMeshParameters *_this)
MRC_API MR_PointsToMeshParameters * MR_PointsToMeshParameters_OffsetMutablePtr(MR_PointsToMeshParameters *ptr, ptrdiff_t i)
MR_PassBy
Definition common.h:23
#define MRC_API
Definition include/MRCMisc/exports.h:11
struct MR_std_function_bool_from_const_MR_PointCloud_ref_const_MR_PointsToDistanceVolumeParams_ref MR_std_function_bool_from_const_MR_PointCloud_ref_const_MR_PointsToDistanceVolumeParams_ref
Definition std_function_bool_from_const_MR_PointCloud_ref_const_MR_PointsToDistanceVolumeParams_ref.h:19
struct MR_std_function_expected_MR_SimpleVolumeMinMax_std_string_from_const_MR_PointCloud_ref_const_MR_PointsToDistanceVolumeParams_ref MR_std_function_expected_MR_SimpleVolumeMinMax_std_string_from_const_MR_PointCloud_ref_const_MR_PointsToDistanceVolumeParams_ref
Definition std_function_expected_MR_SimpleVolumeMinMax_std_string_from_const_MR_PointCloud_ref_const_MR__4cb9.h:20
struct 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 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
Definition std_function_expected_void_std_string_from_const_MR_PointCloud_ref_const_MR_PointsToDistance__5fc9.h:21