MeshLib C Docs
Loading...
Searching...
No Matches
MRPointCloudRelax.h
Go to the documentation of this file.
1#pragma once
2
4#include <MRCMisc/common.h>
5#include <MRCMisc/exports.h>
6
7#include <stdbool.h>
8#include <stddef.h>
9
10#ifdef __cplusplus
11extern "C" {
12#endif
13
14typedef struct MR_PointCloud MR_PointCloud; // Defined in `#include <MRCMesh/MRPointCloud.h>`.
15typedef struct MR_RelaxParams MR_RelaxParams; // Defined in `#include <MRCMesh/MRRelaxParams.h>`.
16typedef struct MR_VertBitSet MR_VertBitSet; // Defined in `#include <MRCMesh/MRBitSet.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>`.
18
19
29
38
46
53
61
68
74
81
88
95
102
109
115
122
129
135
142
149
155
162
166
171
175
179
184
188
194
199
205
208
211
219
227MRC_API bool MR_relax_3_MR_PointCloud(MR_PointCloud *pointCloud, const MR_PointCloudRelaxParams *params, MR_PassBy cb_pass_by, MR_std_function_bool_from_float *cb);
228
237MRC_API bool MR_relaxKeepVolume_3_MR_PointCloud(MR_PointCloud *pointCloud, const MR_PointCloudRelaxParams *params, MR_PassBy cb_pass_by, MR_std_function_bool_from_float *cb);
238
244
250
256
264
271
279
286
292
299
306
313
320
327
333
340
347
353
360
367
373
380
384
389
393
397
402
406
411
415
421
424
427
435
444MRC_API bool MR_relaxApprox_3_MR_PointCloud(MR_PointCloud *pointCloud, const MR_PointCloudApproxRelaxParams *params, MR_PassBy cb_pass_by, MR_std_function_bool_from_float *cb);
445
446#ifdef __cplusplus
447} // extern "C"
448#endif
struct MR_std_function_bool_from_float MR_std_function_bool_from_float
Definition MR3mf.h:10
struct MR_VertBitSet MR_VertBitSet
Definition MRAABBTree.h:22
struct MR_PointCloud MR_PointCloud
Definition MRCtm.h:19
struct MR_RelaxParams MR_RelaxParams
Definition MRMeshRelax.h:18
MRC_API void MR_PointCloudApproxRelaxParams_Set_type(MR_PointCloudApproxRelaxParams *_this, MR_RelaxApproxType value)
MRC_API const MR_VertBitSet ** MR_PointCloudApproxRelaxParams_GetMutable_region(MR_PointCloudApproxRelaxParams *_this)
MRC_API void MR_PointCloudRelaxParams_Set_neighborhoodRadius(MR_PointCloudRelaxParams *_this, float value)
MRC_API MR_RelaxParams * MR_PointCloudRelaxParams_MutableUpcastTo_MR_RelaxParams(MR_PointCloudRelaxParams *object)
MRC_API bool MR_relaxApprox_3_MR_PointCloud(MR_PointCloud *pointCloud, const MR_PointCloudApproxRelaxParams *params, MR_PassBy cb_pass_by, MR_std_function_bool_from_float *cb)
MRC_API MR_RelaxParams * MR_PointCloudApproxRelaxParams_MutableUpcastTo_MR_RelaxParams(MR_PointCloudApproxRelaxParams *object)
MRC_API void MR_PointCloudApproxRelaxParams_Set_iterations(MR_PointCloudApproxRelaxParams *_this, int value)
MRC_API void MR_PointCloudRelaxParams_Set_maxInitialDist(MR_PointCloudRelaxParams *_this, float value)
MRC_API MR_PointCloudRelaxParams * MR_PointCloudApproxRelaxParams_MutableUpcastTo_MR_PointCloudRelaxParams(MR_PointCloudApproxRelaxParams *object)
MRC_API MR_PointCloudRelaxParams * MR_PointCloudRelaxParams_OffsetMutablePtr(MR_PointCloudRelaxParams *ptr, ptrdiff_t i)
MRC_API const float * MR_PointCloudRelaxParams_Get_neighborhoodRadius(const MR_PointCloudRelaxParams *_this)
MRC_API bool * MR_PointCloudRelaxParams_GetMutable_limitNearInitial(MR_PointCloudRelaxParams *_this)
MRC_API float * MR_PointCloudRelaxParams_GetMutable_neighborhoodRadius(MR_PointCloudRelaxParams *_this)
MRC_API const bool * MR_PointCloudApproxRelaxParams_Get_limitNearInitial(const MR_PointCloudApproxRelaxParams *_this)
MRC_API float * MR_PointCloudApproxRelaxParams_GetMutable_maxInitialDist(MR_PointCloudApproxRelaxParams *_this)
MRC_API void MR_PointCloudRelaxParams_DestroyArray(const MR_PointCloudRelaxParams *_this)
Destroys a heap-allocated array of MR_PointCloudRelaxParams. Does nothing if the pointer is null.
MRC_API int * MR_PointCloudRelaxParams_GetMutable_iterations(MR_PointCloudRelaxParams *_this)
MRC_API void MR_PointCloudApproxRelaxParams_DestroyArray(const MR_PointCloudApproxRelaxParams *_this)
Destroys a heap-allocated array of MR_PointCloudApproxRelaxParams. Does nothing if the pointer is nul...
MRC_API float * MR_PointCloudRelaxParams_GetMutable_force(MR_PointCloudRelaxParams *_this)
MRC_API MR_PointCloudRelaxParams * MR_PointCloudRelaxParams_ConstructFromAnother(const MR_PointCloudRelaxParams *_other)
struct MR_PointCloudApproxRelaxParams MR_PointCloudApproxRelaxParams
Definition MRPointCloudRelax.h:37
MRC_API void MR_PointCloudApproxRelaxParams_Set_limitNearInitial(MR_PointCloudApproxRelaxParams *_this, bool value)
MRC_API const MR_PointCloudApproxRelaxParams * MR_PointCloudApproxRelaxParams_OffsetPtr(const MR_PointCloudApproxRelaxParams *ptr, ptrdiff_t i)
MRC_API const MR_VertBitSet *const * MR_PointCloudRelaxParams_Get_region(const MR_PointCloudRelaxParams *_this)
MRC_API const bool * MR_PointCloudRelaxParams_Get_limitNearInitial(const MR_PointCloudRelaxParams *_this)
MRC_API const int * MR_PointCloudRelaxParams_Get_iterations(const MR_PointCloudRelaxParams *_this)
MRC_API const float * MR_PointCloudApproxRelaxParams_Get_force(const MR_PointCloudApproxRelaxParams *_this)
MRC_API void MR_PointCloudRelaxParams_Destroy(const MR_PointCloudRelaxParams *_this)
Destroys a heap-allocated instance of MR_PointCloudRelaxParams. Does nothing if the pointer is null.
MRC_API MR_PointCloudRelaxParams * MR_PointCloudRelaxParams_DefaultConstruct(void)
MRC_API const MR_VertBitSet *const * MR_PointCloudApproxRelaxParams_Get_region(const MR_PointCloudApproxRelaxParams *_this)
MRC_API bool MR_relaxKeepVolume_3_MR_PointCloud(MR_PointCloud *pointCloud, const MR_PointCloudRelaxParams *params, MR_PassBy cb_pass_by, MR_std_function_bool_from_float *cb)
MRC_API const MR_RelaxParams * MR_PointCloudRelaxParams_UpcastTo_MR_RelaxParams(const MR_PointCloudRelaxParams *object)
struct MR_PointCloudRelaxParams MR_PointCloudRelaxParams
Definition MRPointCloudRelax.h:28
MRC_API const MR_PointCloudApproxRelaxParams * MR_PointCloudRelaxParams_StaticDowncastTo_MR_PointCloudApproxRelaxParams(const MR_PointCloudRelaxParams *object)
MRC_API MR_PointCloudRelaxParams * MR_PointCloudRelaxParams_AssignFromAnother(MR_PointCloudRelaxParams *_this, const MR_PointCloudRelaxParams *_other)
MRC_API void MR_PointCloudApproxRelaxParams_Set_force(MR_PointCloudApproxRelaxParams *_this, float value)
MRC_API const MR_PointCloudRelaxParams * MR_PointCloudRelaxParams_OffsetPtr(const MR_PointCloudRelaxParams *ptr, ptrdiff_t i)
MRC_API void MR_PointCloudApproxRelaxParams_Set_maxInitialDist(MR_PointCloudApproxRelaxParams *_this, float value)
MRC_API float * MR_PointCloudApproxRelaxParams_GetMutable_neighborhoodRadius(MR_PointCloudApproxRelaxParams *_this)
MRC_API void MR_PointCloudRelaxParams_Set_force(MR_PointCloudRelaxParams *_this, float value)
MRC_API const MR_VertBitSet ** MR_PointCloudRelaxParams_GetMutable_region(MR_PointCloudRelaxParams *_this)
MRC_API MR_PointCloudApproxRelaxParams * MR_PointCloudApproxRelaxParams_ConstructFromAnother(const MR_PointCloudApproxRelaxParams *_other)
MRC_API MR_PointCloudRelaxParams * MR_PointCloudRelaxParams_DefaultConstructArray(size_t num_elems)
MRC_API const float * MR_PointCloudApproxRelaxParams_Get_maxInitialDist(const MR_PointCloudApproxRelaxParams *_this)
MRC_API void MR_PointCloudRelaxParams_Set_iterations(MR_PointCloudRelaxParams *_this, int value)
MRC_API const int * MR_PointCloudApproxRelaxParams_Get_iterations(const MR_PointCloudApproxRelaxParams *_this)
MRC_API int * MR_PointCloudApproxRelaxParams_GetMutable_iterations(MR_PointCloudApproxRelaxParams *_this)
MRC_API const float * MR_PointCloudApproxRelaxParams_Get_neighborhoodRadius(const MR_PointCloudApproxRelaxParams *_this)
MRC_API void MR_PointCloudApproxRelaxParams_Set_region(MR_PointCloudApproxRelaxParams *_this, const MR_VertBitSet *value)
MRC_API MR_PointCloudApproxRelaxParams * MR_PointCloudApproxRelaxParams_AssignFromAnother(MR_PointCloudApproxRelaxParams *_this, const MR_PointCloudApproxRelaxParams *_other)
MRC_API void MR_PointCloudRelaxParams_Set_limitNearInitial(MR_PointCloudRelaxParams *_this, bool value)
MRC_API const MR_RelaxParams * MR_PointCloudApproxRelaxParams_UpcastTo_MR_RelaxParams(const MR_PointCloudApproxRelaxParams *object)
MRC_API float * MR_PointCloudRelaxParams_GetMutable_maxInitialDist(MR_PointCloudRelaxParams *_this)
MRC_API MR_PointCloudApproxRelaxParams * MR_PointCloudApproxRelaxParams_DefaultConstructArray(size_t num_elems)
MRC_API MR_PointCloudApproxRelaxParams * MR_PointCloudApproxRelaxParams_OffsetMutablePtr(MR_PointCloudApproxRelaxParams *ptr, ptrdiff_t i)
MRC_API bool * MR_PointCloudApproxRelaxParams_GetMutable_limitNearInitial(MR_PointCloudApproxRelaxParams *_this)
MRC_API void MR_PointCloudRelaxParams_Set_region(MR_PointCloudRelaxParams *_this, const MR_VertBitSet *value)
MRC_API MR_PointCloudApproxRelaxParams * MR_PointCloudRelaxParams_MutableStaticDowncastTo_MR_PointCloudApproxRelaxParams(MR_PointCloudRelaxParams *object)
MRC_API const float * MR_PointCloudRelaxParams_Get_force(const MR_PointCloudRelaxParams *_this)
MRC_API void MR_PointCloudApproxRelaxParams_Set_neighborhoodRadius(MR_PointCloudApproxRelaxParams *_this, float value)
MRC_API bool MR_relax_3_MR_PointCloud(MR_PointCloud *pointCloud, const MR_PointCloudRelaxParams *params, MR_PassBy cb_pass_by, MR_std_function_bool_from_float *cb)
MRC_API float * MR_PointCloudApproxRelaxParams_GetMutable_force(MR_PointCloudApproxRelaxParams *_this)
MRC_API const MR_PointCloudRelaxParams * MR_PointCloudApproxRelaxParams_UpcastTo_MR_PointCloudRelaxParams(const MR_PointCloudApproxRelaxParams *object)
MRC_API MR_PointCloudApproxRelaxParams * MR_PointCloudApproxRelaxParams_DefaultConstruct(void)
MRC_API MR_RelaxApproxType * MR_PointCloudApproxRelaxParams_GetMutable_type(MR_PointCloudApproxRelaxParams *_this)
MRC_API const float * MR_PointCloudRelaxParams_Get_maxInitialDist(const MR_PointCloudRelaxParams *_this)
MRC_API const MR_RelaxApproxType * MR_PointCloudApproxRelaxParams_Get_type(const MR_PointCloudApproxRelaxParams *_this)
MRC_API void MR_PointCloudApproxRelaxParams_Destroy(const MR_PointCloudApproxRelaxParams *_this)
Destroys a heap-allocated instance of MR_PointCloudApproxRelaxParams. Does nothing if the pointer is ...
MR_RelaxApproxType
Definition MRRelaxParams.h:33