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

Go to the source code of this file.

Typedefs

typedef struct MR_VertMap MR_VertMap
 
typedef struct MR_CloudPartMapping MR_CloudPartMapping
 Generated from class MR::CloudPartMapping.
 

Functions

MRC_API MR_VertMap *const * MR_CloudPartMapping_Get_src2tgtVerts (const MR_CloudPartMapping *_this)
 
MRC_API void MR_CloudPartMapping_Set_src2tgtVerts (MR_CloudPartMapping *_this, MR_VertMap *value)
 
MRC_API MR_VertMap ** MR_CloudPartMapping_GetMutable_src2tgtVerts (MR_CloudPartMapping *_this)
 
MRC_API MR_VertMap *const * MR_CloudPartMapping_Get_tgt2srcVerts (const MR_CloudPartMapping *_this)
 
MRC_API void MR_CloudPartMapping_Set_tgt2srcVerts (MR_CloudPartMapping *_this, MR_VertMap *value)
 
MRC_API MR_VertMap ** MR_CloudPartMapping_GetMutable_tgt2srcVerts (MR_CloudPartMapping *_this)
 
MRC_API MR_CloudPartMappingMR_CloudPartMapping_DefaultConstruct (void)
 
MRC_API MR_CloudPartMappingMR_CloudPartMapping_DefaultConstructArray (size_t num_elems)
 
MRC_API MR_CloudPartMappingMR_CloudPartMapping_ConstructFrom (MR_VertMap *src2tgtVerts, MR_VertMap *tgt2srcVerts)
 
MRC_API const MR_CloudPartMappingMR_CloudPartMapping_OffsetPtr (const MR_CloudPartMapping *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_CloudPartMappingMR_CloudPartMapping_OffsetMutablePtr (MR_CloudPartMapping *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_CloudPartMappingMR_CloudPartMapping_ConstructFromAnother (const MR_CloudPartMapping *_other)
 
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.
 
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_CloudPartMappingMR_CloudPartMapping_AssignFromAnother (MR_CloudPartMapping *_this, const MR_CloudPartMapping *_other)
 

Typedef Documentation

◆ MR_CloudPartMapping

Generated from class MR::CloudPartMapping.

◆ MR_VertMap

typedef struct MR_VertMap MR_VertMap

Function Documentation

◆ MR_CloudPartMapping_AssignFromAnother()

MRC_API MR_CloudPartMapping * MR_CloudPartMapping_AssignFromAnother ( MR_CloudPartMapping * _this,
const MR_CloudPartMapping * _other )

Generated from a method of class MR::CloudPartMapping named operator=. Parameter _this can not be null. It is a single object. Parameter _other 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_CloudPartMapping_ConstructFrom()

MRC_API MR_CloudPartMapping * MR_CloudPartMapping_ConstructFrom ( MR_VertMap * src2tgtVerts,
MR_VertMap * tgt2srcVerts )

Constructs MR::CloudPartMapping elementwise. Never returns null. Returns an instance allocated on the heap! Must call MR_CloudPartMapping_Destroy() to free it when you're done using it.

◆ MR_CloudPartMapping_ConstructFromAnother()

MRC_API MR_CloudPartMapping * MR_CloudPartMapping_ConstructFromAnother ( const MR_CloudPartMapping * _other)

Generated from a constructor of class MR::CloudPartMapping. Parameter _other can not be null. It is a single object. Never returns null. Returns an instance allocated on the heap! Must call MR_CloudPartMapping_Destroy() to free it when you're done using it.

◆ MR_CloudPartMapping_DefaultConstruct()

MRC_API MR_CloudPartMapping * MR_CloudPartMapping_DefaultConstruct ( void )

Constructs an empty (default-constructed) instance. Never returns null. Returns an instance allocated on the heap! Must call MR_CloudPartMapping_Destroy() to free it when you're done using it.

◆ MR_CloudPartMapping_DefaultConstructArray()

MRC_API MR_CloudPartMapping * MR_CloudPartMapping_DefaultConstructArray ( size_t num_elems)

Constructs an array of empty (default-constructed) instances, of the specified size. Will never return null. The array must be destroyed using MR_CloudPartMapping_DestroyArray(). Use MR_CloudPartMapping_OffsetMutablePtr() and MR_CloudPartMapping_OffsetPtr() to access the array elements.

◆ MR_CloudPartMapping_Destroy()

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.

◆ MR_CloudPartMapping_DestroyArray()

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.

◆ MR_CloudPartMapping_Get_src2tgtVerts()

MRC_API MR_VertMap *const * MR_CloudPartMapping_Get_src2tgtVerts ( const MR_CloudPartMapping * _this)

Returns a pointer to a member variable of class MR::CloudPartMapping named src2tgtVerts. 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_CloudPartMapping_Get_tgt2srcVerts()

MRC_API MR_VertMap *const * MR_CloudPartMapping_Get_tgt2srcVerts ( const MR_CloudPartMapping * _this)

Returns a pointer to a member variable of class MR::CloudPartMapping named tgt2srcVerts. 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_CloudPartMapping_GetMutable_src2tgtVerts()

MRC_API MR_VertMap ** MR_CloudPartMapping_GetMutable_src2tgtVerts ( MR_CloudPartMapping * _this)

Returns a mutable pointer to a member variable of class MR::CloudPartMapping named src2tgtVerts. 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_CloudPartMapping_GetMutable_tgt2srcVerts()

MRC_API MR_VertMap ** MR_CloudPartMapping_GetMutable_tgt2srcVerts ( MR_CloudPartMapping * _this)

Returns a mutable pointer to a member variable of class MR::CloudPartMapping named tgt2srcVerts. 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_CloudPartMapping_OffsetMutablePtr()

MRC_API MR_CloudPartMapping * MR_CloudPartMapping_OffsetMutablePtr ( MR_CloudPartMapping * 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_CloudPartMapping_OffsetPtr()

MRC_API const MR_CloudPartMapping * MR_CloudPartMapping_OffsetPtr ( const MR_CloudPartMapping * 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_CloudPartMapping_Set_src2tgtVerts()

MRC_API void MR_CloudPartMapping_Set_src2tgtVerts ( MR_CloudPartMapping * _this,
MR_VertMap * value )

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

◆ MR_CloudPartMapping_Set_tgt2srcVerts()

MRC_API void MR_CloudPartMapping_Set_tgt2srcVerts ( MR_CloudPartMapping * _this,
MR_VertMap * value )

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