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

Go to the source code of this file.

Typedefs

typedef struct MR_FaceMap MR_FaceMap
 
typedef struct MR_PartMapping MR_PartMapping
 
typedef struct MR_VertMap MR_VertMap
 
typedef struct MR_WholeEdgeMap MR_WholeEdgeMap
 
typedef struct MR_Src2TgtMaps MR_Src2TgtMaps
 
typedef struct MR_Tgt2SrcMaps MR_Tgt2SrcMaps
 

Functions

MRC_API MR_Src2TgtMapsMR_Src2TgtMaps_ConstructFromAnother (MR_PassBy _other_pass_by, MR_Src2TgtMaps *_other)
 
MRC_API const MR_Src2TgtMapsMR_Src2TgtMaps_OffsetPtr (const MR_Src2TgtMaps *ptr, ptrdiff_t i)
 
MRC_API MR_Src2TgtMapsMR_Src2TgtMaps_OffsetMutablePtr (MR_Src2TgtMaps *ptr, ptrdiff_t i)
 
MRC_API MR_Src2TgtMapsMR_Src2TgtMaps_Construct (MR_FaceMap *outFmap, MR_VertMap *outVmap, MR_WholeEdgeMap *outEmap)
 
MRC_API void MR_Src2TgtMaps_Destroy (const MR_Src2TgtMaps *_this)
 Destroys a heap-allocated instance of MR_Src2TgtMaps. Does nothing if the pointer is null.
 
MRC_API void MR_Src2TgtMaps_DestroyArray (const MR_Src2TgtMaps *_this)
 Destroys a heap-allocated array of MR_Src2TgtMaps. Does nothing if the pointer is null.
 
MRC_API const MR_PartMappingMR_Src2TgtMaps_ConvertTo_const_MR_PartMapping_ref (const MR_Src2TgtMaps *_this)
 
MRC_API MR_Src2TgtMapsMR_Src2TgtMaps_AssignFromAnother (MR_Src2TgtMaps *_this, MR_PassBy _other_pass_by, MR_Src2TgtMaps *_other)
 
MRC_API const MR_PartMappingMR_Src2TgtMaps_getPartMapping (const MR_Src2TgtMaps *_this)
 
MRC_API MR_Tgt2SrcMapsMR_Tgt2SrcMaps_ConstructFromAnother (MR_PassBy _other_pass_by, MR_Tgt2SrcMaps *_other)
 
MRC_API const MR_Tgt2SrcMapsMR_Tgt2SrcMaps_OffsetPtr (const MR_Tgt2SrcMaps *ptr, ptrdiff_t i)
 
MRC_API MR_Tgt2SrcMapsMR_Tgt2SrcMaps_OffsetMutablePtr (MR_Tgt2SrcMaps *ptr, ptrdiff_t i)
 
MRC_API MR_Tgt2SrcMapsMR_Tgt2SrcMaps_Construct (MR_FaceMap *outFmap, MR_VertMap *outVmap, MR_WholeEdgeMap *outEmap)
 
MRC_API void MR_Tgt2SrcMaps_Destroy (const MR_Tgt2SrcMaps *_this)
 Destroys a heap-allocated instance of MR_Tgt2SrcMaps. Does nothing if the pointer is null.
 
MRC_API void MR_Tgt2SrcMaps_DestroyArray (const MR_Tgt2SrcMaps *_this)
 Destroys a heap-allocated array of MR_Tgt2SrcMaps. Does nothing if the pointer is null.
 
MRC_API const MR_PartMappingMR_Tgt2SrcMaps_ConvertTo_const_MR_PartMapping_ref (const MR_Tgt2SrcMaps *_this)
 
MRC_API MR_Tgt2SrcMapsMR_Tgt2SrcMaps_AssignFromAnother (MR_Tgt2SrcMaps *_this, MR_PassBy _other_pass_by, MR_Tgt2SrcMaps *_other)
 
MRC_API const MR_PartMappingMR_Tgt2SrcMaps_getPartMapping (const MR_Tgt2SrcMaps *_this)
 

Typedef Documentation

◆ MR_FaceMap

typedef struct MR_FaceMap MR_FaceMap

◆ MR_PartMapping

◆ MR_Src2TgtMaps

use this adapter to call functions expecting PartMapping parameter to receive src2tgt dense maps Generated from class MR::Src2TgtMaps. Supported MR_PassBy modes: MR_PassBy_Copy (and MR_PassBy_DefaultArgument and MR_PassBy_NoObject if supported by the callee).

◆ MR_Tgt2SrcMaps

use this adapter to call functions expecting PartMapping parameter to receive tgt2src dense maps Generated from class MR::Tgt2SrcMaps. Supported MR_PassBy modes: MR_PassBy_Copy (and MR_PassBy_DefaultArgument and MR_PassBy_NoObject if supported by the callee).

◆ MR_VertMap

typedef struct MR_VertMap MR_VertMap

◆ MR_WholeEdgeMap

Function Documentation

◆ MR_Src2TgtMaps_AssignFromAnother()

MRC_API MR_Src2TgtMaps * MR_Src2TgtMaps_AssignFromAnother ( MR_Src2TgtMaps * _this,
MR_PassBy _other_pass_by,
MR_Src2TgtMaps * _other )

Generated from method MR::Src2TgtMaps::operator=. Parameter _this 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_Src2TgtMaps_Construct()

MRC_API MR_Src2TgtMaps * MR_Src2TgtMaps_Construct ( MR_FaceMap * outFmap,
MR_VertMap * outVmap,
MR_WholeEdgeMap * outEmap )

Generated from constructor MR::Src2TgtMaps::Src2TgtMaps. The reference to the parameter outFmap might be preserved in the constructed object. The reference to the parameter outVmap might be preserved in the constructed object. The reference to the parameter outEmap might be preserved in the constructed object. Never returns null. Returns an instance allocated on the heap! Must call MR_Src2TgtMaps_Destroy() to free it when you're done using it.

◆ MR_Src2TgtMaps_ConstructFromAnother()

MRC_API MR_Src2TgtMaps * MR_Src2TgtMaps_ConstructFromAnother ( MR_PassBy _other_pass_by,
MR_Src2TgtMaps * _other )

Generated from constructor MR::Src2TgtMaps::Src2TgtMaps. 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_Src2TgtMaps_Destroy() to free it when you're done using it.

◆ MR_Src2TgtMaps_ConvertTo_const_MR_PartMapping_ref()

MRC_API const MR_PartMapping * MR_Src2TgtMaps_ConvertTo_const_MR_PartMapping_ref ( const MR_Src2TgtMaps * _this)

Generated from conversion operator MR::Src2TgtMaps::operator const MR::PartMapping &. 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_Src2TgtMaps_Destroy()

MRC_API void MR_Src2TgtMaps_Destroy ( const MR_Src2TgtMaps * _this)

Destroys a heap-allocated instance of MR_Src2TgtMaps. Does nothing if the pointer is null.

◆ MR_Src2TgtMaps_DestroyArray()

MRC_API void MR_Src2TgtMaps_DestroyArray ( const MR_Src2TgtMaps * _this)

Destroys a heap-allocated array of MR_Src2TgtMaps. Does nothing if the pointer is null.

◆ MR_Src2TgtMaps_getPartMapping()

MRC_API const MR_PartMapping * MR_Src2TgtMaps_getPartMapping ( const MR_Src2TgtMaps * _this)

Generated from method MR::Src2TgtMaps::getPartMapping. 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_Src2TgtMaps_OffsetMutablePtr()

MRC_API MR_Src2TgtMaps * MR_Src2TgtMaps_OffsetMutablePtr ( MR_Src2TgtMaps * 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_Src2TgtMaps_OffsetPtr()

MRC_API const MR_Src2TgtMaps * MR_Src2TgtMaps_OffsetPtr ( const MR_Src2TgtMaps * 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_Tgt2SrcMaps_AssignFromAnother()

MRC_API MR_Tgt2SrcMaps * MR_Tgt2SrcMaps_AssignFromAnother ( MR_Tgt2SrcMaps * _this,
MR_PassBy _other_pass_by,
MR_Tgt2SrcMaps * _other )

Generated from method MR::Tgt2SrcMaps::operator=. Parameter _this 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_Tgt2SrcMaps_Construct()

MRC_API MR_Tgt2SrcMaps * MR_Tgt2SrcMaps_Construct ( MR_FaceMap * outFmap,
MR_VertMap * outVmap,
MR_WholeEdgeMap * outEmap )

Generated from constructor MR::Tgt2SrcMaps::Tgt2SrcMaps. The reference to the parameter outFmap might be preserved in the constructed object. The reference to the parameter outVmap might be preserved in the constructed object. The reference to the parameter outEmap might be preserved in the constructed object. Never returns null. Returns an instance allocated on the heap! Must call MR_Tgt2SrcMaps_Destroy() to free it when you're done using it.

◆ MR_Tgt2SrcMaps_ConstructFromAnother()

MRC_API MR_Tgt2SrcMaps * MR_Tgt2SrcMaps_ConstructFromAnother ( MR_PassBy _other_pass_by,
MR_Tgt2SrcMaps * _other )

Generated from constructor MR::Tgt2SrcMaps::Tgt2SrcMaps. 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_Tgt2SrcMaps_Destroy() to free it when you're done using it.

◆ MR_Tgt2SrcMaps_ConvertTo_const_MR_PartMapping_ref()

MRC_API const MR_PartMapping * MR_Tgt2SrcMaps_ConvertTo_const_MR_PartMapping_ref ( const MR_Tgt2SrcMaps * _this)

Generated from conversion operator MR::Tgt2SrcMaps::operator const MR::PartMapping &. 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_Tgt2SrcMaps_Destroy()

MRC_API void MR_Tgt2SrcMaps_Destroy ( const MR_Tgt2SrcMaps * _this)

Destroys a heap-allocated instance of MR_Tgt2SrcMaps. Does nothing if the pointer is null.

◆ MR_Tgt2SrcMaps_DestroyArray()

MRC_API void MR_Tgt2SrcMaps_DestroyArray ( const MR_Tgt2SrcMaps * _this)

Destroys a heap-allocated array of MR_Tgt2SrcMaps. Does nothing if the pointer is null.

◆ MR_Tgt2SrcMaps_getPartMapping()

MRC_API const MR_PartMapping * MR_Tgt2SrcMaps_getPartMapping ( const MR_Tgt2SrcMaps * _this)

Generated from method MR::Tgt2SrcMaps::getPartMapping. 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_Tgt2SrcMaps_OffsetMutablePtr()

MRC_API MR_Tgt2SrcMaps * MR_Tgt2SrcMaps_OffsetMutablePtr ( MR_Tgt2SrcMaps * 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_Tgt2SrcMaps_OffsetPtr()

MRC_API const MR_Tgt2SrcMaps * MR_Tgt2SrcMaps_OffsetPtr ( const MR_Tgt2SrcMaps * 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.