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
18
19// from.id -> this.id, efficient when full cloud without many invalid points is added into another cloud
25
26// from.id -> this.id, efficient when full cloud without many invalid points is added into another cloud
32
33// from.id -> this.id, efficient when full cloud without many invalid points is added into another cloud
39
40// this.id -> from.id, efficient when any cloud or its part is added into empty cloud
46
47// this.id -> from.id, efficient when any cloud or its part is added into empty cloud
53
54// this.id -> from.id, efficient when any cloud or its part is added into empty cloud
60
64
69
76
80
84
90
93
96
104
105#ifdef __cplusplus
106} // extern "C"
107#endif
struct MR_VertMap MR_VertMap
Definition MRBitSet.h:40
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)
MRC_API const MR_CloudPartMapping * MR_CloudPartMapping_OffsetPtr(const MR_CloudPartMapping *ptr, ptrdiff_t i)
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
Definition MRCloudPartMapping.h:17
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)