#include <MRCMisc/common.h>
#include <MRCMisc/exports.h>
#include <stddef.h>
#include <stdint.h>
Go to the source code of this file.
|
MRC_API MR_RegularMapMesher * | MR_RegularMapMesher_DefaultConstruct (void) |
|
MRC_API MR_RegularMapMesher * | MR_RegularMapMesher_DefaultConstructArray (size_t num_elems) |
|
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 pointer points to an array element.
|
|
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 pointer points to an array element.
|
|
MRC_API MR_RegularMapMesher * | MR_RegularMapMesher_ConstructFromAnother (MR_PassBy _other_pass_by, MR_RegularMapMesher *_other) |
|
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.
|
|
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 MR_RegularMapMesher * | MR_RegularMapMesher_AssignFromAnother (MR_RegularMapMesher *_this, MR_PassBy _other_pass_by, MR_RegularMapMesher *_other) |
|
MRC_API void | MR_RegularMapMesher_setSurfacePC (MR_RegularMapMesher *_this, const MR_std_shared_ptr_MR_PointCloud *surfacePC) |
|
MRC_API void | MR_RegularMapMesher_setDirectionsPC (MR_RegularMapMesher *_this, const MR_std_shared_ptr_MR_PointCloud *directionsPC) |
|
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_setDistances (MR_RegularMapMesher *_this, int32_t width, int32_t height, const MR_std_vector_float *distances) |
|
MRC_API MR_expected_MR_Mesh_std_string * | MR_RegularMapMesher_createMesh (const MR_RegularMapMesher *_this) |
|
◆ MR_expected_MR_Mesh_std_string
◆ MR_expected_void_std_string
◆ MR_RegularMapMesher
Class for making mesh from regular distance map.
distance for each lattice of map is defined as point on ray from surface point cloud to direction point cloud, with length equal to 1/distance from distances file (if distance in file == 0 ray had no point) Generated from class MR::RegularMapMesher
.
◆ MR_std_shared_ptr_MR_PointCloud
◆ MR_std_vector_float
◆ MR_RegularMapMesher_AssignFromAnother()
Generated from a method of class MR::RegularMapMesher
named operator=
. Parameter _this
can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
◆ MR_RegularMapMesher_ConstructFromAnother()
◆ MR_RegularMapMesher_createMesh()
Creates mesh if all components were successfully loaded Generated from a method of class MR::RegularMapMesher
named createMesh
. Parameter _this
can not be null. It is a single object. Never returns null. Returns an instance allocated on the heap! Must call MR_expected_MR_Mesh_std_string_Destroy()
to free it when you're done using it.
◆ MR_RegularMapMesher_DefaultConstruct()
Constructs an empty (default-constructed) instance. Never returns null. Returns an instance allocated on the heap! Must call MR_RegularMapMesher_Destroy()
to free it when you're done using it.
◆ MR_RegularMapMesher_DefaultConstructArray()
◆ MR_RegularMapMesher_Destroy()
Destroys a heap-allocated instance of MR_RegularMapMesher
. Does nothing if the pointer is null.
◆ MR_RegularMapMesher_DestroyArray()
Destroys a heap-allocated array of MR_RegularMapMesher
. Does nothing if the pointer is null.
◆ MR_RegularMapMesher_loadDistances()
Loads distances form distances file (1/distance) Generated from a method of class MR::RegularMapMesher
named loadDistances
. Parameter _this
can not be null. It is a single object. Parameter path
is a UTF-8 encoded filesystem path. Never returns null. Returns an instance allocated on the heap! Must call MR_expected_void_std_string_Destroy()
to free it when you're done using it.
◆ MR_RegularMapMesher_OffsetMutablePtr()
Offsets a pointer to an array element by i
positions (not bytes). Use only if you're certain that the pointer points to an array element.
◆ MR_RegularMapMesher_OffsetPtr()
Offsets a pointer to an array element by i
positions (not bytes). Use only if you're certain that the pointer points to an array element.
◆ MR_RegularMapMesher_setDirectionsPC()
Sets directions Point Cloud Generated from a method of class MR::RegularMapMesher
named setDirectionsPC
. Parameter _this
can not be null. It is a single object. Parameter directionsPC
can not be null. It is a single object.
◆ MR_RegularMapMesher_setDistances()
Sets distances Generated from a method of class MR::RegularMapMesher
named setDistances
. Parameter _this
can not be null. It is a single object. Parameter distances
can not be null. It is a single object.
◆ MR_RegularMapMesher_setSurfacePC()
Sets surface Point Cloud Generated from a method of class MR::RegularMapMesher
named setSurfacePC
. Parameter _this
can not be null. It is a single object. Parameter surfacePC
can not be null. It is a single object.