MeshLib C Docs
Loading...
Searching...
No Matches
MRCloudPartMapping.h
Go to the documentation of this file.
1#pragma once
2
3#include <MRCMisc/exports.h>
4
5#include <stddef.h>
6
7#ifdef __cplusplus
8extern "C" {
9#endif
10
11typedef struct MR_VertMap MR_VertMap; // Defined in `#include <MRCMesh/MRVector.h>`.
12
13
14// mapping among elements of source point cloud, from which a part is taken, and target (this) point cloud
17
18// from.id -> this.id, efficient when full cloud without many invalid points is added into another cloud
23
24// from.id -> this.id, efficient when full cloud without many invalid points is added into another cloud
28
29// from.id -> this.id, efficient when full cloud without many invalid points is added into another cloud
34
35// this.id -> from.id, efficient when any cloud or its part is added into empty cloud
40
41// this.id -> from.id, efficient when any cloud or its part is added into empty cloud
45
46// this.id -> from.id, efficient when any cloud or its part is added into empty cloud
51
55
60
64
67
70
75
78
81
87
88#ifdef __cplusplus
89} // extern "C"
90#endif
struct MR_VertMap MR_VertMap
Definition MRBitSet.h:41
MRC_API MR_CloudPartMapping * MR_CloudPartMapping_ConstructFrom(MR_VertMap *src2tgtVerts, MR_VertMap *tgt2srcVerts)
MRC_API MR_CloudPartMapping * MR_CloudPartMapping_AssignFromAnother(MR_CloudPartMapping *_this, const MR_CloudPartMapping *_other)
MRC_API void MR_CloudPartMapping_DestroyArray(const MR_CloudPartMapping *_this)
Destroys a heap-allocated array of MR_CloudPartMapping. Does nothing if the pointer is null.
MRC_API MR_CloudPartMapping * MR_CloudPartMapping_OffsetMutablePtr(MR_CloudPartMapping *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_CloudPartMapping * MR_CloudPartMapping_OffsetPtr(const MR_CloudPartMapping *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_VertMap *const * MR_CloudPartMapping_Get_tgt2srcVerts(const MR_CloudPartMapping *_this)
MRC_API MR_VertMap *const * MR_CloudPartMapping_Get_src2tgtVerts(const MR_CloudPartMapping *_this)
MRC_API MR_CloudPartMapping * MR_CloudPartMapping_DefaultConstructArray(size_t num_elems)
MRC_API void MR_CloudPartMapping_Destroy(const MR_CloudPartMapping *_this)
Destroys a heap-allocated instance of MR_CloudPartMapping. Does nothing if the pointer is null.
struct MR_CloudPartMapping MR_CloudPartMapping
Generated from class MR::CloudPartMapping.
Definition MRCloudPartMapping.h:16
MRC_API MR_VertMap ** MR_CloudPartMapping_GetMutable_src2tgtVerts(MR_CloudPartMapping *_this)
MRC_API MR_VertMap ** MR_CloudPartMapping_GetMutable_tgt2srcVerts(MR_CloudPartMapping *_this)
MRC_API MR_CloudPartMapping * MR_CloudPartMapping_DefaultConstruct(void)
MRC_API void MR_CloudPartMapping_Set_tgt2srcVerts(MR_CloudPartMapping *_this, MR_VertMap *value)
MRC_API void MR_CloudPartMapping_Set_src2tgtVerts(MR_CloudPartMapping *_this, MR_VertMap *value)
MRC_API MR_CloudPartMapping * MR_CloudPartMapping_ConstructFromAnother(const MR_CloudPartMapping *_other)
#define MRC_API
Definition exports.h:11