MeshLib C Docs
Loading...
Searching...
No Matches
MRPointCloudPart.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_PointCloud MR_PointCloud; // Defined in `#include <MRCMesh/MRPointCloud.h>`.
12typedef struct MR_VertBitSet MR_VertBitSet; // Defined in `#include <MRCMesh/MRBitSet.h>`.
13
14
19
24
25// nullptr here means all valid points of point cloud
30
31// nullptr here means all valid points of point cloud
37
38// nullptr here means all valid points of point cloud
43
44// Make this assignable. A better idea would be to rewrite the class to not use references, but doing this instead preserves API compatibility.
50
54
58
66
69
72
80
81#ifdef __cplusplus
82} // extern "C"
83#endif
struct MR_VertBitSet MR_VertBitSet
Definition MRAABBTree.h:22
struct MR_PointCloudPart MR_PointCloudPart
Definition MRBestFit.h:23
struct MR_PointCloud MR_PointCloud
Definition MRCtm.h:19
MRC_API MR_PointCloudPart * MR_PointCloudPart_Construct(const MR_PointCloud *c, const MR_VertBitSet *bs)
MRC_API void MR_PointCloudPart_Destroy(const MR_PointCloudPart *_this)
Destroys a heap-allocated instance of MR_PointCloudPart. Does nothing if the pointer is null.
MRC_API MR_PointCloudPart * MR_PointCloudPart_ConstructFromAnother(const MR_PointCloudPart *other)
MRC_API const MR_PointCloudPart * MR_PointCloudPart_OffsetPtr(const MR_PointCloudPart *ptr, ptrdiff_t i)
MRC_API void MR_PointCloudPart_Set_region(MR_PointCloudPart *_this, const MR_VertBitSet *value)
MRC_API void MR_PointCloudPart_DestroyArray(const MR_PointCloudPart *_this)
Destroys a heap-allocated array of MR_PointCloudPart. Does nothing if the pointer is null.
MRC_API const MR_VertBitSet ** MR_PointCloudPart_GetMutable_region(MR_PointCloudPart *_this)
MRC_API const MR_PointCloud * MR_PointCloudPart_Get_cloud(const MR_PointCloudPart *_this)
MRC_API const MR_VertBitSet *const * MR_PointCloudPart_Get_region(const MR_PointCloudPart *_this)
MRC_API MR_PointCloudPart * MR_PointCloudPart_AssignFromAnother(MR_PointCloudPart *_this, const MR_PointCloudPart *other)
MRC_API MR_PointCloudPart * MR_PointCloudPart_OffsetMutablePtr(MR_PointCloudPart *ptr, ptrdiff_t i)
#define MRC_API
Definition exports.h:11