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
24
25// from.id -> this.id, efficient when full cloud without many invalid points is added into another cloud
31
32// from.id -> this.id, efficient when full cloud without many invalid points is added into another cloud
37
38// this.id -> from.id, efficient when any cloud or its part is added into empty cloud
43
44// this.id -> from.id, efficient when any cloud or its part is added into empty cloud
50
51// this.id -> from.id, efficient when any cloud or its part is added into empty cloud
56
60
65
72
76
80
86
89
92
100
101#ifdef __cplusplus
102} // extern "C"
103#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)
#define MRC_API
Definition exports.h:11