MeshLib C Docs
Loading...
Searching...
No Matches
MRFeatureRefine.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 <stddef.h>
7#include <stdint.h>
8
9#ifdef __cplusplus
10extern "C" {
11#endif
12
13typedef struct MR_FaceBitSet MR_FaceBitSet; // Defined in `#include <MRCMesh/MRBitSet.h>`.
14typedef struct MR_FeatureObject MR_FeatureObject; // Defined in `#include <MRCMesh/MRFeatureObject.h>`.
15typedef struct MR_Mesh MR_Mesh; // Defined in `#include <MRCMesh/MRMesh.h>`.
16typedef struct MR_PointCloud MR_PointCloud; // Defined in `#include <MRCMesh/MRPointCloud.h>`.
17typedef struct MR_VertBitSet MR_VertBitSet; // Defined in `#include <MRCMesh/MRBitSet.h>`.
18typedef struct MR_expected_MR_AffineXf3f_std_string MR_expected_MR_AffineXf3f_std_string; // Defined in `#include <MRCMisc/expected_MR_AffineXf3f_std_string.h>`.
19typedef 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
31
36
42
48
53
59
65
70
76
82
87
93
99
104
110
116
121
127
131
136
139MRC_API MR_RefineParameters *MR_RefineParameters_ConstructFrom(float distanceLimit, float normalTolerance, const MR_FaceBitSet *faceRegion, const MR_VertBitSet *vertRegion, int32_t maxIterations, MR_PassBy callback_pass_by, MR_std_function_bool_from_float *callback);
140
143
146
150
153
156
161
170
179
180#ifdef __cplusplus
181} // extern "C"
182#endif
struct MR_std_function_bool_from_float MR_std_function_bool_from_float
Definition MR3mf.h:10
struct MR_FaceBitSet MR_FaceBitSet
Definition MRAABBTreeBase.h:25
struct MR_VertBitSet MR_VertBitSet
Definition MRAABBTree.h:15
struct MR_FeatureObject MR_FeatureObject
Definition MRAddVisualPropertiesMixin.h:16
struct MR_Mesh MR_Mesh
Definition MRCtm.h:13
struct MR_PointCloud MR_PointCloud
Definition MRCtm.h:15
MRC_API MR_RefineParameters * MR_RefineParameters_DefaultConstruct(void)
MRC_API const MR_VertBitSet ** MR_RefineParameters_GetMutable_vertRegion(MR_RefineParameters *_this)
MRC_API MR_expected_MR_AffineXf3f_std_string * MR_refineFeatureObject_MR_PointCloud(const MR_FeatureObject *featObj, const MR_PointCloud *pointCloud, const MR_RefineParameters *params)
MRC_API const MR_FaceBitSet *const * MR_RefineParameters_Get_faceRegion(const MR_RefineParameters *_this)
struct MR_expected_MR_AffineXf3f_std_string MR_expected_MR_AffineXf3f_std_string
Definition MRFeatureRefine.h:18
MRC_API float * MR_RefineParameters_GetMutable_distanceLimit(MR_RefineParameters *_this)
MRC_API const MR_std_function_bool_from_float * MR_RefineParameters_Get_callback(const MR_RefineParameters *_this)
MRC_API MR_std_function_bool_from_float * MR_RefineParameters_GetMutable_callback(MR_RefineParameters *_this)
MRC_API void MR_RefineParameters_Destroy(const MR_RefineParameters *_this)
Destroys a heap-allocated instance of MR_RefineParameters. Does nothing if the pointer is null.
MRC_API void MR_RefineParameters_Set_distanceLimit(MR_RefineParameters *_this, float value)
MRC_API const MR_RefineParameters * MR_RefineParameters_OffsetPtr(const MR_RefineParameters *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 MR_RefineParameters * MR_RefineParameters_DefaultConstructArray(size_t num_elems)
MRC_API void MR_RefineParameters_Set_normalTolerance(MR_RefineParameters *_this, float value)
MRC_API void MR_RefineParameters_Set_callback(MR_RefineParameters *_this, MR_PassBy value_pass_by, MR_std_function_bool_from_float *value)
MRC_API const MR_FaceBitSet ** MR_RefineParameters_GetMutable_faceRegion(MR_RefineParameters *_this)
MRC_API MR_RefineParameters * MR_RefineParameters_ConstructFrom(float distanceLimit, float normalTolerance, const MR_FaceBitSet *faceRegion, const MR_VertBitSet *vertRegion, int32_t maxIterations, MR_PassBy callback_pass_by, MR_std_function_bool_from_float *callback)
MRC_API MR_RefineParameters * MR_RefineParameters_OffsetMutablePtr(MR_RefineParameters *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 float * MR_RefineParameters_GetMutable_normalTolerance(MR_RefineParameters *_this)
MRC_API const MR_VertBitSet *const * MR_RefineParameters_Get_vertRegion(const MR_RefineParameters *_this)
MRC_API int32_t * MR_RefineParameters_GetMutable_maxIterations(MR_RefineParameters *_this)
MRC_API MR_RefineParameters * MR_RefineParameters_ConstructFromAnother(MR_PassBy _other_pass_by, MR_RefineParameters *_other)
MRC_API MR_RefineParameters * MR_RefineParameters_AssignFromAnother(MR_RefineParameters *_this, MR_PassBy _other_pass_by, MR_RefineParameters *_other)
MRC_API void MR_RefineParameters_Set_maxIterations(MR_RefineParameters *_this, int32_t value)
MRC_API void MR_RefineParameters_DestroyArray(const MR_RefineParameters *_this)
Destroys a heap-allocated array of MR_RefineParameters. Does nothing if the pointer is null.
MRC_API void MR_RefineParameters_Set_vertRegion(MR_RefineParameters *_this, const MR_VertBitSet *value)
MRC_API void MR_RefineParameters_Set_faceRegion(MR_RefineParameters *_this, const MR_FaceBitSet *value)
MRC_API const int32_t * MR_RefineParameters_Get_maxIterations(const MR_RefineParameters *_this)
MRC_API const float * MR_RefineParameters_Get_distanceLimit(const MR_RefineParameters *_this)
MRC_API MR_expected_MR_AffineXf3f_std_string * MR_refineFeatureObject_MR_Mesh(const MR_FeatureObject *featObj, const MR_Mesh *mesh, const MR_RefineParameters *params)
MRC_API const float * MR_RefineParameters_Get_normalTolerance(const MR_RefineParameters *_this)
struct MR_RefineParameters MR_RefineParameters
Definition MRFeatureRefine.h:24
MR_PassBy
Definition common.h:19
#define MRC_API
Definition exports.h:11