#include <MRCMesh/MRId.h>#include <MRCMisc/exports.h>#include <MRCMisc/std_array_MR_VertId_3.h>#include <stdbool.h>#include <stddef.h>Go to the source code of this file.
Typedefs | |
| typedef struct MR_FaceBitSet | MR_FaceBitSet |
| typedef struct MR_MeshBuilder_Triangle | MR_MeshBuilder_Triangle |
| typedef struct MR_MeshBuilder_BuildSettings | MR_MeshBuilder_BuildSettings |
| typedef struct MR_MeshBuilder_VertSpan | MR_MeshBuilder_VertSpan |
| typedef struct MR_FaceBitSet MR_FaceBitSet |
| typedef struct MR_MeshBuilder_BuildSettings MR_MeshBuilder_BuildSettings |
Generated from class MR::MeshBuilder::BuildSettings. 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).
| typedef struct MR_MeshBuilder_Triangle MR_MeshBuilder_Triangle |
mesh triangle represented by its three vertices and by its face ID Generated from class MR::MeshBuilder::Triangle. 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).
| typedef struct MR_MeshBuilder_VertSpan MR_MeshBuilder_VertSpan |
Generated from class MR::MeshBuilder::VertSpan. 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).
| MRC_API bool MR_equal_MR_MeshBuilder_Triangle | ( | const MR_MeshBuilder_Triangle * | _this, |
| const MR_MeshBuilder_Triangle * | other ) |
Generated from method MR::MeshBuilder::Triangle::operator==. Parameter _this can not be null. It is a single object. Parameter other can not be null. It is a single object.
| MRC_API MR_MeshBuilder_BuildSettings * MR_MeshBuilder_BuildSettings_AssignFromAnother | ( | MR_MeshBuilder_BuildSettings * | _this, |
| const MR_MeshBuilder_BuildSettings * | _other ) |
Generated from method MR::MeshBuilder::BuildSettings::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.
| MRC_API MR_MeshBuilder_BuildSettings * MR_MeshBuilder_BuildSettings_ConstructFrom | ( | MR_FaceBitSet * | region, |
| int | shiftFaceId, | ||
| bool | allowNonManifoldEdge, | ||
| int * | skippedFaceCount ) |
Constructs MR::MeshBuilder::BuildSettings elementwise. The reference to the parameter region might be preserved in the constructed object. The reference to the parameter skippedFaceCount might be preserved in the constructed object. Never returns null. Returns an instance allocated on the heap! Must call MR_MeshBuilder_BuildSettings_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.
| MRC_API MR_MeshBuilder_BuildSettings * MR_MeshBuilder_BuildSettings_ConstructFromAnother | ( | const MR_MeshBuilder_BuildSettings * | _other | ) |
Generated from constructor MR::MeshBuilder::BuildSettings::BuildSettings. 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_MeshBuilder_BuildSettings_Destroy() to free it when you're done using it.
| MRC_API MR_MeshBuilder_BuildSettings * MR_MeshBuilder_BuildSettings_DefaultConstruct | ( | void | ) |
Constructs an empty (default-constructed) instance. Never returns null. Returns an instance allocated on the heap! Must call MR_MeshBuilder_BuildSettings_Destroy() to free it when you're done using it.
| MRC_API MR_MeshBuilder_BuildSettings * MR_MeshBuilder_BuildSettings_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_MeshBuilder_BuildSettings_DestroyArray(). Use MR_MeshBuilder_BuildSettings_OffsetMutablePtr() and MR_MeshBuilder_BuildSettings_OffsetPtr() to access the array elements.
| MRC_API void MR_MeshBuilder_BuildSettings_Destroy | ( | const MR_MeshBuilder_BuildSettings * | _this | ) |
Destroys a heap-allocated instance of MR_MeshBuilder_BuildSettings. Does nothing if the pointer is null.
| MRC_API void MR_MeshBuilder_BuildSettings_DestroyArray | ( | const MR_MeshBuilder_BuildSettings * | _this | ) |
Destroys a heap-allocated array of MR_MeshBuilder_BuildSettings. Does nothing if the pointer is null.
| MRC_API const bool * MR_MeshBuilder_BuildSettings_Get_allowNonManifoldEdge | ( | const MR_MeshBuilder_BuildSettings * | _this | ) |
whether to permit non-manifold edges in the resulting topology Returns a pointer to a member variable of class MR::MeshBuilder::BuildSettings named allowNonManifoldEdge. 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.
| MRC_API MR_FaceBitSet *const * MR_MeshBuilder_BuildSettings_Get_region | ( | const MR_MeshBuilder_BuildSettings * | _this | ) |
if region is given then on input it contains the faces to be added, and on output the faces failed to be added Returns a pointer to a member variable of class MR::MeshBuilder::BuildSettings 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.
| MRC_API const int * MR_MeshBuilder_BuildSettings_Get_shiftFaceId | ( | const MR_MeshBuilder_BuildSettings * | _this | ) |
this value to be added to every faceId before its inclusion in the topology Returns a pointer to a member variable of class MR::MeshBuilder::BuildSettings named shiftFaceId. 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.
| MRC_API int *const * MR_MeshBuilder_BuildSettings_Get_skippedFaceCount | ( | const MR_MeshBuilder_BuildSettings * | _this | ) |
optional output: counter of skipped faces during mesh creation Returns a pointer to a member variable of class MR::MeshBuilder::BuildSettings named skippedFaceCount. 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.
| MRC_API bool * MR_MeshBuilder_BuildSettings_GetMutable_allowNonManifoldEdge | ( | MR_MeshBuilder_BuildSettings * | _this | ) |
whether to permit non-manifold edges in the resulting topology Returns a mutable pointer to a member variable of class MR::MeshBuilder::BuildSettings named allowNonManifoldEdge. 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.
| MRC_API MR_FaceBitSet ** MR_MeshBuilder_BuildSettings_GetMutable_region | ( | MR_MeshBuilder_BuildSettings * | _this | ) |
if region is given then on input it contains the faces to be added, and on output the faces failed to be added Returns a mutable pointer to a member variable of class MR::MeshBuilder::BuildSettings 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.
| MRC_API int * MR_MeshBuilder_BuildSettings_GetMutable_shiftFaceId | ( | MR_MeshBuilder_BuildSettings * | _this | ) |
this value to be added to every faceId before its inclusion in the topology Returns a mutable pointer to a member variable of class MR::MeshBuilder::BuildSettings named shiftFaceId. 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.
| MRC_API int ** MR_MeshBuilder_BuildSettings_GetMutable_skippedFaceCount | ( | MR_MeshBuilder_BuildSettings * | _this | ) |
optional output: counter of skipped faces during mesh creation Returns a mutable pointer to a member variable of class MR::MeshBuilder::BuildSettings named skippedFaceCount. 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.
| MRC_API MR_MeshBuilder_BuildSettings * MR_MeshBuilder_BuildSettings_OffsetMutablePtr | ( | MR_MeshBuilder_BuildSettings * | 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.
| MRC_API const MR_MeshBuilder_BuildSettings * MR_MeshBuilder_BuildSettings_OffsetPtr | ( | const MR_MeshBuilder_BuildSettings * | 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.
| MRC_API void MR_MeshBuilder_BuildSettings_Set_allowNonManifoldEdge | ( | MR_MeshBuilder_BuildSettings * | _this, |
| bool | value ) |
whether to permit non-manifold edges in the resulting topology Modifies a member variable of class MR::MeshBuilder::BuildSettings named allowNonManifoldEdge. Parameter _this can not be null. It is a single object. When this function is called, this object will drop object references it had previously in allowNonManifoldEdge.
| MRC_API void MR_MeshBuilder_BuildSettings_Set_region | ( | MR_MeshBuilder_BuildSettings * | _this, |
| MR_FaceBitSet * | value ) |
if region is given then on input it contains the faces to be added, and on output the faces failed to be added Modifies a member variable of class MR::MeshBuilder::BuildSettings 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.
| MRC_API void MR_MeshBuilder_BuildSettings_Set_shiftFaceId | ( | MR_MeshBuilder_BuildSettings * | _this, |
| int | value ) |
this value to be added to every faceId before its inclusion in the topology Modifies a member variable of class MR::MeshBuilder::BuildSettings named shiftFaceId. Parameter _this can not be null. It is a single object. When this function is called, this object will drop object references it had previously in shiftFaceId.
| MRC_API void MR_MeshBuilder_BuildSettings_Set_skippedFaceCount | ( | MR_MeshBuilder_BuildSettings * | _this, |
| int * | value ) |
optional output: counter of skipped faces during mesh creation Modifies a member variable of class MR::MeshBuilder::BuildSettings named skippedFaceCount. 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 skippedFaceCount. When this function is called, this object will drop object references it had previously in skippedFaceCount.
| MRC_API MR_MeshBuilder_Triangle * MR_MeshBuilder_Triangle_AssignFromAnother | ( | MR_MeshBuilder_Triangle * | _this, |
| const MR_MeshBuilder_Triangle * | _other ) |
Generated from method MR::MeshBuilder::Triangle::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.
| MRC_API MR_MeshBuilder_Triangle * MR_MeshBuilder_Triangle_Construct | ( | MR_VertId | a, |
| MR_VertId | b, | ||
| MR_VertId | c, | ||
| MR_FaceId | f ) |
Generated from constructor MR::MeshBuilder::Triangle::Triangle. The reference to the parameter a might be preserved in the constructed object. The reference to the parameter b might be preserved in the constructed object. The reference to the parameter c might be preserved in the constructed object. The reference to the parameter f might be preserved in the constructed object. Never returns null. Returns an instance allocated on the heap! Must call MR_MeshBuilder_Triangle_Destroy() to free it when you're done using it.
| MRC_API MR_MeshBuilder_Triangle * MR_MeshBuilder_Triangle_ConstructFromAnother | ( | const MR_MeshBuilder_Triangle * | _other | ) |
Generated from constructor MR::MeshBuilder::Triangle::Triangle. 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_MeshBuilder_Triangle_Destroy() to free it when you're done using it.
| MRC_API MR_MeshBuilder_Triangle * MR_MeshBuilder_Triangle_DefaultConstruct | ( | void | ) |
Constructs an empty (default-constructed) instance. Never returns null. Returns an instance allocated on the heap! Must call MR_MeshBuilder_Triangle_Destroy() to free it when you're done using it.
| MRC_API MR_MeshBuilder_Triangle * MR_MeshBuilder_Triangle_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_MeshBuilder_Triangle_DestroyArray(). Use MR_MeshBuilder_Triangle_OffsetMutablePtr() and MR_MeshBuilder_Triangle_OffsetPtr() to access the array elements.
| MRC_API void MR_MeshBuilder_Triangle_Destroy | ( | const MR_MeshBuilder_Triangle * | _this | ) |
Destroys a heap-allocated instance of MR_MeshBuilder_Triangle. Does nothing if the pointer is null.
| MRC_API void MR_MeshBuilder_Triangle_DestroyArray | ( | const MR_MeshBuilder_Triangle * | _this | ) |
Destroys a heap-allocated array of MR_MeshBuilder_Triangle. Does nothing if the pointer is null.
| MRC_API const MR_FaceId * MR_MeshBuilder_Triangle_Get_f | ( | const MR_MeshBuilder_Triangle * | _this | ) |
Returns a pointer to a member variable of class MR::MeshBuilder::Triangle named f. 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.
| MRC_API const MR_std_array_MR_VertId_3 * MR_MeshBuilder_Triangle_Get_v | ( | const MR_MeshBuilder_Triangle * | _this | ) |
Returns a pointer to a member variable of class MR::MeshBuilder::Triangle named v. 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.
| MRC_API MR_FaceId * MR_MeshBuilder_Triangle_GetMutable_f | ( | MR_MeshBuilder_Triangle * | _this | ) |
Returns a mutable pointer to a member variable of class MR::MeshBuilder::Triangle named f. 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.
| MRC_API MR_std_array_MR_VertId_3 * MR_MeshBuilder_Triangle_GetMutable_v | ( | MR_MeshBuilder_Triangle * | _this | ) |
Returns a mutable pointer to a member variable of class MR::MeshBuilder::Triangle named v. 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.
| MRC_API MR_MeshBuilder_Triangle * MR_MeshBuilder_Triangle_OffsetMutablePtr | ( | MR_MeshBuilder_Triangle * | 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.
| MRC_API const MR_MeshBuilder_Triangle * MR_MeshBuilder_Triangle_OffsetPtr | ( | const MR_MeshBuilder_Triangle * | 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.
| MRC_API void MR_MeshBuilder_Triangle_Set_f | ( | MR_MeshBuilder_Triangle * | _this, |
| MR_FaceId | value ) |
Modifies a member variable of class MR::MeshBuilder::Triangle named f. 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 f. When this function is called, this object will drop object references it had previously in f.
| MRC_API void MR_MeshBuilder_Triangle_Set_v | ( | MR_MeshBuilder_Triangle * | _this, |
| MR_std_array_MR_VertId_3 | value ) |
Modifies a member variable of class MR::MeshBuilder::Triangle named v. 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 v. When this function is called, this object will drop object references it had previously in v.
| MRC_API MR_MeshBuilder_VertSpan * MR_MeshBuilder_VertSpan_AssignFromAnother | ( | MR_MeshBuilder_VertSpan * | _this, |
| const MR_MeshBuilder_VertSpan * | _other ) |
Generated from method MR::MeshBuilder::VertSpan::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.
| MRC_API MR_MeshBuilder_VertSpan * MR_MeshBuilder_VertSpan_ConstructFrom | ( | int | firstVertex, |
| int | lastVertex ) |
Constructs MR::MeshBuilder::VertSpan elementwise. Never returns null. Returns an instance allocated on the heap! Must call MR_MeshBuilder_VertSpan_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.
| MRC_API MR_MeshBuilder_VertSpan * MR_MeshBuilder_VertSpan_ConstructFromAnother | ( | const MR_MeshBuilder_VertSpan * | _other | ) |
Generated from constructor MR::MeshBuilder::VertSpan::VertSpan. 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_MeshBuilder_VertSpan_Destroy() to free it when you're done using it.
| MRC_API MR_MeshBuilder_VertSpan * MR_MeshBuilder_VertSpan_DefaultConstruct | ( | void | ) |
Constructs an empty (default-constructed) instance. Never returns null. Returns an instance allocated on the heap! Must call MR_MeshBuilder_VertSpan_Destroy() to free it when you're done using it.
| MRC_API MR_MeshBuilder_VertSpan * MR_MeshBuilder_VertSpan_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_MeshBuilder_VertSpan_DestroyArray(). Use MR_MeshBuilder_VertSpan_OffsetMutablePtr() and MR_MeshBuilder_VertSpan_OffsetPtr() to access the array elements.
| MRC_API void MR_MeshBuilder_VertSpan_Destroy | ( | const MR_MeshBuilder_VertSpan * | _this | ) |
Destroys a heap-allocated instance of MR_MeshBuilder_VertSpan. Does nothing if the pointer is null.
| MRC_API void MR_MeshBuilder_VertSpan_DestroyArray | ( | const MR_MeshBuilder_VertSpan * | _this | ) |
Destroys a heap-allocated array of MR_MeshBuilder_VertSpan. Does nothing if the pointer is null.
| MRC_API const int * MR_MeshBuilder_VertSpan_Get_firstVertex | ( | const MR_MeshBuilder_VertSpan * | _this | ) |
Returns a pointer to a member variable of class MR::MeshBuilder::VertSpan named firstVertex. 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.
| MRC_API const int * MR_MeshBuilder_VertSpan_Get_lastVertex | ( | const MR_MeshBuilder_VertSpan * | _this | ) |
Returns a pointer to a member variable of class MR::MeshBuilder::VertSpan named lastVertex. 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.
| MRC_API int * MR_MeshBuilder_VertSpan_GetMutable_firstVertex | ( | MR_MeshBuilder_VertSpan * | _this | ) |
Returns a mutable pointer to a member variable of class MR::MeshBuilder::VertSpan named firstVertex. 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.
| MRC_API int * MR_MeshBuilder_VertSpan_GetMutable_lastVertex | ( | MR_MeshBuilder_VertSpan * | _this | ) |
Returns a mutable pointer to a member variable of class MR::MeshBuilder::VertSpan named lastVertex. 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.
| MRC_API MR_MeshBuilder_VertSpan * MR_MeshBuilder_VertSpan_OffsetMutablePtr | ( | MR_MeshBuilder_VertSpan * | 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.
| MRC_API const MR_MeshBuilder_VertSpan * MR_MeshBuilder_VertSpan_OffsetPtr | ( | const MR_MeshBuilder_VertSpan * | 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.
| MRC_API void MR_MeshBuilder_VertSpan_Set_firstVertex | ( | MR_MeshBuilder_VertSpan * | _this, |
| int | value ) |
Modifies a member variable of class MR::MeshBuilder::VertSpan named firstVertex. Parameter _this can not be null. It is a single object. When this function is called, this object will drop object references it had previously in firstVertex.
| MRC_API void MR_MeshBuilder_VertSpan_Set_lastVertex | ( | MR_MeshBuilder_VertSpan * | _this, |
| int | value ) |
Modifies a member variable of class MR::MeshBuilder::VertSpan named lastVertex. Parameter _this can not be null. It is a single object. When this function is called, this object will drop object references it had previously in lastVertex.