MeshLib C Docs
Loading...
Searching...
No Matches
MRRegularMapMesher.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_expected_MR_Mesh_std_string MR_expected_MR_Mesh_std_string; // Defined in `#include <MRCMisc/expected_MR_Mesh_std_string.h>`.
14typedef struct MR_expected_void_std_string MR_expected_void_std_string; // Defined in `#include <MRCMisc/expected_void_std_string.h>`.
15typedef struct MR_std_shared_ptr_MR_PointCloud MR_std_shared_ptr_MR_PointCloud; // Defined in `#include <MRCMisc/std_shared_ptr_MR_PointCloud.h>`.
16typedef struct MR_std_vector_float MR_std_vector_float; // Defined in `#include <MRCMisc/std_vector_float.h>`.
17
18
29
33
38
41
44
48
51
54
59
65
71
77MRC_API MR_expected_void_std_string *MR_RegularMapMesher_loadDistances(MR_RegularMapMesher *_this, int32_t width, int32_t height, const char *path, const char *path_end);
78
83MRC_API void MR_RegularMapMesher_setDistances(MR_RegularMapMesher *_this, int32_t width, int32_t height, const MR_std_vector_float *distances);
84
90
91#ifdef __cplusplus
92} // extern "C"
93#endif
struct MR_std_vector_float MR_std_vector_float
Definition MRBestFit.h:27
struct MR_expected_void_std_string MR_expected_void_std_string
Definition MRCtm.h:20
struct MR_expected_MR_Mesh_std_string MR_expected_MR_Mesh_std_string
Definition MRCtm.h:18
struct MR_std_shared_ptr_MR_PointCloud MR_std_shared_ptr_MR_PointCloud
Definition MRHeapBytes.h:13
MRC_API MR_RegularMapMesher * MR_RegularMapMesher_OffsetMutablePtr(MR_RegularMapMesher *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_RegularMapMesher_DestroyArray(const MR_RegularMapMesher *_this)
Destroys a heap-allocated array of MR_RegularMapMesher. Does nothing if the pointer is null.
MRC_API void MR_RegularMapMesher_setDistances(MR_RegularMapMesher *_this, int32_t width, int32_t height, const MR_std_vector_float *distances)
MRC_API void MR_RegularMapMesher_Destroy(const MR_RegularMapMesher *_this)
Destroys a heap-allocated instance of MR_RegularMapMesher. Does nothing if the pointer is null.
struct MR_RegularMapMesher MR_RegularMapMesher
Class for making mesh from regular distance map.
Definition MRRegularMapMesher.h:28
MRC_API MR_RegularMapMesher * MR_RegularMapMesher_AssignFromAnother(MR_RegularMapMesher *_this, MR_PassBy _other_pass_by, MR_RegularMapMesher *_other)
MRC_API MR_RegularMapMesher * MR_RegularMapMesher_DefaultConstruct(void)
MRC_API void MR_RegularMapMesher_setSurfacePC(MR_RegularMapMesher *_this, const MR_std_shared_ptr_MR_PointCloud *surfacePC)
MRC_API MR_RegularMapMesher * MR_RegularMapMesher_DefaultConstructArray(size_t num_elems)
MRC_API MR_expected_void_std_string * MR_RegularMapMesher_loadDistances(MR_RegularMapMesher *_this, int32_t width, int32_t height, const char *path, const char *path_end)
MRC_API void MR_RegularMapMesher_setDirectionsPC(MR_RegularMapMesher *_this, const MR_std_shared_ptr_MR_PointCloud *directionsPC)
MRC_API const MR_RegularMapMesher * MR_RegularMapMesher_OffsetPtr(const MR_RegularMapMesher *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_RegularMapMesher * MR_RegularMapMesher_ConstructFromAnother(MR_PassBy _other_pass_by, MR_RegularMapMesher *_other)
MRC_API MR_expected_MR_Mesh_std_string * MR_RegularMapMesher_createMesh(const MR_RegularMapMesher *_this)
MR_PassBy
Definition common.h:19
#define MRC_API
Definition exports.h:11