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
 

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)
 
MRC_API MR_CloudPartMappingMR_CloudPartMapping_OffsetMutablePtr (MR_CloudPartMapping *ptr, ptrdiff_t i)
 
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. Supported MR_PassBy modes: MR_PassBy_DefaultConstruct, MR_PassBy_Copy, MR_PassBy_Move (and MR_PassBy_DefaultArgument and MR_PassBy_NoObject if supported by the callee).

◆ 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 method MR::CloudPartMapping::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_CloudPartMapping_ConstructFrom()

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

Constructs MR::CloudPartMapping elementwise. The reference to the parameter src2tgtVerts might be preserved in the constructed object. The reference to the parameter tgt2srcVerts might be preserved in the constructed 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. When this function is called, this object will drop any object references it had previously.

◆ MR_CloudPartMapping_ConstructFromAnother()

MRC_API MR_CloudPartMapping * MR_CloudPartMapping_ConstructFromAnother ( const MR_CloudPartMapping * _other)

Generated from constructor MR::CloudPartMapping::CloudPartMapping. 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_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. The reference to the parameter ptr might be preserved in the return value.

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

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

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