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_ConstructFromAnother (const MR_PointCloudPart *other)
 
MRC_API const MR_PointCloudPartMR_PointCloudPart_OffsetPtr (const MR_PointCloudPart *ptr, ptrdiff_t i)
 
MRC_API MR_PointCloudPartMR_PointCloudPart_OffsetMutablePtr (MR_PointCloudPart *ptr, ptrdiff_t i)
 
MRC_API MR_PointCloudPartMR_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 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 MR_PointCloudPartMR_PointCloudPart_AssignFromAnother (MR_PointCloudPart *_this, const MR_PointCloudPart *other)
 

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. Supported MR_PassBy modes: MR_PassBy_Copy (and MR_PassBy_DefaultArgument and MR_PassBy_NoObject if supported by the callee).

◆ MR_VertBitSet

typedef struct MR_VertBitSet MR_VertBitSet

Function Documentation

◆ MR_PointCloudPart_AssignFromAnother()

MRC_API MR_PointCloudPart * MR_PointCloudPart_AssignFromAnother ( MR_PointCloudPart * _this,
const MR_PointCloudPart * other )

Generated from method MR::PointCloudPart::operator=. Parameter _this can not be null. It is a single object. Parameter other can not be null. It is a single object. The reference to things referred to by the parameter other (if any) might be preserved in this object. The returned pointer will never be null. It is non-owning, do NOT destroy it. When this function is called, this object will drop any object references it had previously.

◆ MR_PointCloudPart_Construct()

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

Generated from constructor MR::PointCloudPart::PointCloudPart. Parameter c can not be null. It is a single object. The reference to the parameter c might be preserved in the constructed object. Parameter bs defaults to a null pointer in C++. The reference to the parameter bs might be preserved in the constructed object. 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_ConstructFromAnother()

MRC_API MR_PointCloudPart * MR_PointCloudPart_ConstructFromAnother ( const MR_PointCloudPart * other)

Generated from constructor MR::PointCloudPart::PointCloudPart. Parameter other can not be null. It is a single object. The reference to things referred to by the parameter other (if any) might be preserved in the constructed object. 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. The reference to the parameter ptr might be preserved in the return value.

◆ 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. The reference to the parameter ptr might be preserved in the return value.

◆ 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. The reference to the parameter value might be preserved in this object in element region. When this function is called, this object will drop object references it had previously in region.