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
8#ifdef __cplusplus
9extern "C" {
10#endif
11
12typedef struct MR_expected_MR_Mesh_std_string MR_expected_MR_Mesh_std_string; // Defined in `#include <MRCMisc/expected_MR_Mesh_std_string.h>`.
13typedef struct MR_expected_void_std_string MR_expected_void_std_string; // Defined in `#include <MRCMisc/expected_void_std_string.h>`.
14typedef struct MR_std_shared_ptr_MR_PointCloud MR_std_shared_ptr_MR_PointCloud; // Defined in `#include <MRCMisc/std_shared_ptr_MR_PointCloud.h>`.
15typedef struct MR_std_vector_float MR_std_vector_float; // Defined in `#include <MRCMisc/std_vector_float.h>`.
16
17
28
32
37
40
43
47
50
53
58
64
70
76MRC_API MR_expected_void_std_string *MR_RegularMapMesher_loadDistances(MR_RegularMapMesher *_this, int width, int height, const char *path, const char *path_end);
77
82MRC_API void MR_RegularMapMesher_setDistances(MR_RegularMapMesher *_this, int width, int height, const MR_std_vector_float *distances);
83
89
90#ifdef __cplusplus
91} // extern "C"
92#endif
struct MR_expected_void_std_string MR_expected_void_std_string
Definition MRCtm.h:19
struct MR_expected_MR_Mesh_std_string MR_expected_MR_Mesh_std_string
Definition MRCtm.h:17
struct MR_std_shared_ptr_MR_PointCloud MR_std_shared_ptr_MR_PointCloud
Definition MRHeapBytes.h:13
struct MR_std_vector_float MR_std_vector_float
Definition MRPdf.h:27
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_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:27
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 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 void MR_RegularMapMesher_setDistances(MR_RegularMapMesher *_this, int width, int height, const MR_std_vector_float *distances)
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)
MRC_API MR_expected_void_std_string * MR_RegularMapMesher_loadDistances(MR_RegularMapMesher *_this, int width, int height, const char *path, const char *path_end)
MR_PassBy
Definition common.h:19
#define MRC_API
Definition exports.h:11