MeshLib C Docs
Loading...
Searching...
No Matches
MRPointCloudPart.h File Reference
#include <MRCMisc/exports.h>
#include <stddef.h>

Go to the source code of this file.

Typedefs

typedef struct MR_PointCloud MR_PointCloud
 
typedef struct MR_VertBitSet MR_VertBitSet
 
typedef struct MR_PointCloudPart MR_PointCloudPart
 

Functions

MRC_API const MR_PointCloudMR_PointCloudPart_Get_cloud (const MR_PointCloudPart *_this)
 
MRC_API const MR_VertBitSet *const * MR_PointCloudPart_Get_region (const MR_PointCloudPart *_this)
 
MRC_API void MR_PointCloudPart_Set_region (MR_PointCloudPart *_this, const MR_VertBitSet *value)
 
MRC_API const MR_VertBitSet ** MR_PointCloudPart_GetMutable_region (MR_PointCloudPart *_this)
 
MRC_API MR_PointCloudPartMR_PointCloudPart_Construct (const MR_PointCloud *c, const MR_VertBitSet *bs)
 
MRC_API const MR_PointCloudPartMR_PointCloudPart_OffsetPtr (const MR_PointCloudPart *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_PointCloudPartMR_PointCloudPart_OffsetMutablePtr (MR_PointCloudPart *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 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 void MR_PointCloudPart_DestroyArray (const MR_PointCloudPart *_this)
 Destroys a heap-allocated array of MR_PointCloudPart. Does nothing if the pointer is null.
 

Typedef Documentation

◆ MR_PointCloud

typedef struct MR_PointCloud MR_PointCloud

◆ MR_PointCloudPart

represents full point cloud (if region is nullptr) or some portion of point cloud (if region pointer is valid) Generated from class MR::PointCloudPart.

◆ MR_VertBitSet

typedef struct MR_VertBitSet MR_VertBitSet

Function Documentation

◆ MR_PointCloudPart_Construct()

MRC_API MR_PointCloudPart * MR_PointCloudPart_Construct ( const MR_PointCloud * c,
const MR_VertBitSet * bs )

Generated from a constructor of class MR::PointCloudPart. Parameter c can not be null. It is a single object. Parameter bs defaults to a null pointer in C++. Never returns null. Returns an instance allocated on the heap! Must call MR_PointCloudPart_Destroy() to free it when you're done using it.

◆ MR_PointCloudPart_Destroy()

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.

◆ MR_PointCloudPart_DestroyArray()

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.

◆ MR_PointCloudPart_Get_cloud()

MRC_API const MR_PointCloud * MR_PointCloudPart_Get_cloud ( const MR_PointCloudPart * _this)

Returns a pointer to a member variable of class MR::PointCloudPart named cloud. 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_PointCloudPart_Get_region()

MRC_API const MR_VertBitSet *const * MR_PointCloudPart_Get_region ( const MR_PointCloudPart * _this)

Returns a pointer to a member variable of class MR::PointCloudPart named region. 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_PointCloudPart_GetMutable_region()

MRC_API const MR_VertBitSet ** MR_PointCloudPart_GetMutable_region ( MR_PointCloudPart * _this)

Returns a mutable pointer to a member variable of class MR::PointCloudPart named region. 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_PointCloudPart_OffsetMutablePtr()

MRC_API MR_PointCloudPart * MR_PointCloudPart_OffsetMutablePtr ( MR_PointCloudPart * 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.

◆ MR_PointCloudPart_OffsetPtr()

MRC_API const MR_PointCloudPart * MR_PointCloudPart_OffsetPtr ( const MR_PointCloudPart * 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.

◆ MR_PointCloudPart_Set_region()

MRC_API void MR_PointCloudPart_Set_region ( MR_PointCloudPart * _this,
const MR_VertBitSet * value )

Modifies a member variable of class MR::PointCloudPart named region. Parameter _this can not be null. It is a single object.