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
45
52
59
65
71
77
83
90
96
102
108
114
120
126
132
138
144
150
154
159
163
167
171
174
179
183
189
192
195
203
212
222
227
233
238
245
252
259
265
271
277
283
290
296
302
308
314
320
326
332
338
344
350
354
359
363
367
371
374
378
381
387
390
393
401
411
412#ifdef __cplusplus
413} // extern "C"
414#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)
Upcasts an instance of MR::PointCloudRelaxParams to its base class MR::RelaxParams.
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)
Upcasts an instance of MR::PointCloudApproxRelaxParams to its base class MR::RelaxParams.
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)
Upcasts an instance of MR::PointCloudApproxRelaxParams to its base class MR::PointCloudRelaxParams.
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
MR_PassBy
Definition common.h:23
#define MRC_API
Definition exports.h:11