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
51
58
64
69
75
81
86
92
98
103
109
115
120
126
132
137
143
147
152
155
158
162
165
170
174
179
182
185
191
200
210
215
219
224
231
237
244
250
255
261
267
272
278
284
289
295
301
306
312
318
323
329
333
338
341
344
348
351
355
358
363
366
369
375
385
386#ifdef __cplusplus
387} // extern "C"
388#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)
Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the...
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)
Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the...
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)
Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the...
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)
Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the...
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