#include <MRCMesh/MREnums.h>#include <MRCMesh/MRId.h>#include <MRCMisc/common.h>#include <MRCMisc/exports.h>#include <stdbool.h>#include <stddef.h>Go to the source code of this file.
Typedefs | |
| typedef struct MR_FillHoleParams | MR_FillHoleParams |
| typedef struct MR_StitchHolesParams | MR_StitchHolesParams |
| typedef struct MR_std_function_bool_from_MR_EdgeId | MR_std_function_bool_from_MR_EdgeId |
| typedef struct MR_std_function_void_from_MR_EdgeId_MR_EdgeId | MR_std_function_void_from_MR_EdgeId_MR_EdgeId |
| typedef struct MR_SubdivideFillingSettings | MR_SubdivideFillingSettings |
| typedef struct MR_SmoothFillingSettings | MR_SmoothFillingSettings |
| typedef struct MR_OutAttributesFillingSettings | MR_OutAttributesFillingSettings |
| typedef struct MR_FillHoleNicelySettings | MR_FillHoleNicelySettings |
| typedef struct MR_StitchHolesNicelySettings | MR_StitchHolesNicelySettings |
| typedef struct MR_FillHoleNicelySettings MR_FillHoleNicelySettings |
Generated from class MR::FillHoleNicelySettings. 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_FillHoleParams MR_FillHoleParams |
Generated from class MR::FillHoleParams. 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_OutAttributesFillingSettings MR_OutAttributesFillingSettings |
Generated from class MR::OutAttributesFillingSettings. 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_SmoothFillingSettings MR_SmoothFillingSettings |
Generated from class MR::SmoothFillingSettings. 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).
Stores a functor of type: bool(MR::EdgeId). Possibly stateful. 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_std_function_void_from_MR_EdgeId_MR_EdgeId MR_std_function_void_from_MR_EdgeId_MR_EdgeId |
Stores a functor of type: void(MR::EdgeId, MR::EdgeId). Possibly stateful. 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_StitchHolesNicelySettings MR_StitchHolesNicelySettings |
Generated from class MR::StitchHolesNicelySettings. 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_StitchHolesParams MR_StitchHolesParams |
Generated from class MR::StitchHolesParams. 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_SubdivideFillingSettings MR_SubdivideFillingSettings |
Generated from class MR::SubdivideFillingSettings. 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 const bool * MR_FillHoleNicelySettings_Get_smoothCurvature | ( | const MR_FillHoleNicelySettings * | _this | ) |
Whether to make patch over the hole smooth both inside and on its boundary with existed surface Returns a pointer to a member variable of class MR::FillHoleNicelySettings named smoothCurvature. 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. The reference to this object might be preserved as the return value.
| MRC_API const MR_SubdivideFillingSettings * MR_FillHoleNicelySettings_Get_subdivideSettings | ( | const MR_FillHoleNicelySettings * | _this | ) |
if triangulateOnly is false - this settings are used to subdivide new filling Returns a pointer to a member variable of class MR::FillHoleNicelySettings named subdivideSettings. 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. The reference to this object might be preserved as the return value.
| MRC_API const bool * MR_FillHoleNicelySettings_Get_triangulateOnly | ( | const MR_FillHoleNicelySettings * | _this | ) |
If false then additional vertices are created inside the patch for best mesh quality Returns a pointer to a member variable of class MR::FillHoleNicelySettings named triangulateOnly. 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. The reference to this object might be preserved as the return value.
| MRC_API const MR_FillHoleParams * MR_FillHoleNicelySettings_Get_triangulateParams | ( | const MR_FillHoleNicelySettings * | _this | ) |
how to triangulate the hole, must be specified by the user Returns a pointer to a member variable of class MR::FillHoleNicelySettings named triangulateParams. 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. The reference to this object might be preserved as the return value.
| MRC_API bool * MR_FillHoleNicelySettings_GetMutable_smoothCurvature | ( | MR_FillHoleNicelySettings * | _this | ) |
Whether to make patch over the hole smooth both inside and on its boundary with existed surface Returns a mutable pointer to a member variable of class MR::FillHoleNicelySettings named smoothCurvature. 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. The reference to this object might be preserved as the return value.
| MRC_API MR_SubdivideFillingSettings * MR_FillHoleNicelySettings_GetMutable_subdivideSettings | ( | MR_FillHoleNicelySettings * | _this | ) |
if triangulateOnly is false - this settings are used to subdivide new filling Returns a mutable pointer to a member variable of class MR::FillHoleNicelySettings named subdivideSettings. 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. The reference to this object might be preserved as the return value.
| MRC_API bool * MR_FillHoleNicelySettings_GetMutable_triangulateOnly | ( | MR_FillHoleNicelySettings * | _this | ) |
If false then additional vertices are created inside the patch for best mesh quality Returns a mutable pointer to a member variable of class MR::FillHoleNicelySettings named triangulateOnly. 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. The reference to this object might be preserved as the return value.
| MRC_API MR_FillHoleParams * MR_FillHoleNicelySettings_GetMutable_triangulateParams | ( | MR_FillHoleNicelySettings * | _this | ) |
how to triangulate the hole, must be specified by the user Returns a mutable pointer to a member variable of class MR::FillHoleNicelySettings named triangulateParams. 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. The reference to this object might be preserved as the return value.
| MRC_API void MR_FillHoleNicelySettings_Set_smoothCurvature | ( | MR_FillHoleNicelySettings * | _this, |
| bool | value ) |
Whether to make patch over the hole smooth both inside and on its boundary with existed surface Modifies a member variable of class MR::FillHoleNicelySettings named smoothCurvature. Parameter _this can not be null. It is a single object. When this function is called, this object will drop object references it held previously in smoothCurvature.
| MRC_API void MR_FillHoleNicelySettings_Set_smoothSeettings | ( | MR_FillHoleNicelySettings * | _this, |
| const MR_SmoothFillingSettings * | value ) |
if smoothCurvature is true and triangulateOnly is false - these settings are used to smooth new filling / Returns a pointer to a member variable of class MR::FillHoleNicelySettings named smoothSeettings. / 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. / The reference to this object might be preserved as the return value. MRC_API const MR_SmoothFillingSettings *MR_FillHoleNicelySettings_Get_smoothSeettings(const MR_FillHoleNicelySettings *_this);
/ if smoothCurvature is true and triangulateOnly is false - these settings are used to smooth new filling Modifies a member variable of class MR::FillHoleNicelySettings named smoothSeettings. Parameter _this can not be null. It is a single object. Parameter value can not be null. It is a single object. The reference to the parameter value might be preserved in this object in element smoothSeettings. When this function is called, this object will drop object references it held previously in smoothSeettings`.
| MRC_API void MR_FillHoleNicelySettings_Set_subdivideSettings | ( | MR_FillHoleNicelySettings * | _this, |
| MR_PassBy | value_pass_by, | ||
| MR_SubdivideFillingSettings * | value ) |
if triangulateOnly is false - this settings are used to subdivide new filling Modifies a member variable of class MR::FillHoleNicelySettings named subdivideSettings. 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 subdivideSettings. When this function is called, this object will drop object references it held previously in subdivideSettings.
| MRC_API void MR_FillHoleNicelySettings_Set_triangulateOnly | ( | MR_FillHoleNicelySettings * | _this, |
| bool | value ) |
If false then additional vertices are created inside the patch for best mesh quality Modifies a member variable of class MR::FillHoleNicelySettings named triangulateOnly. Parameter _this can not be null. It is a single object. When this function is called, this object will drop object references it held previously in triangulateOnly.
| MRC_API void MR_FillHoleNicelySettings_Set_triangulateParams | ( | MR_FillHoleNicelySettings * | _this, |
| MR_PassBy | value_pass_by, | ||
| MR_FillHoleParams * | value ) |
how to triangulate the hole, must be specified by the user Modifies a member variable of class MR::FillHoleNicelySettings named triangulateParams. 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 triangulateParams. When this function is called, this object will drop object references it held previously in triangulateParams.
| MRC_API MR_OutAttributesFillingSettings * MR_OutAttributesFillingSettings_AssignFromAnother | ( | MR_OutAttributesFillingSettings * | _this, |
| const MR_OutAttributesFillingSettings * | _other ) |
Generated from method MR::OutAttributesFillingSettings::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 held previously.
| MRC_API MR_OutAttributesFillingSettings * MR_OutAttributesFillingSettings_ConstructFrom | ( | MR_VertCoords2 * | uvCoords, |
| MR_VertColors * | colorMap, | ||
| MR_FaceColors * | faceColors ) |
Constructs MR::OutAttributesFillingSettings elementwise. The reference to the parameter uvCoords might be preserved in the constructed object. The reference to the parameter colorMap might be preserved in the constructed object. The reference to the parameter faceColors might be preserved in the constructed object. Never returns null. Returns an instance allocated on the heap! Must call MR_OutAttributesFillingSettings_Destroy() to free it when you're done using it. When this function is called, this object will drop any object references it held previously.
| MRC_API MR_OutAttributesFillingSettings * MR_OutAttributesFillingSettings_ConstructFromAnother | ( | const MR_OutAttributesFillingSettings * | _other | ) |
Generated from constructor MR::OutAttributesFillingSettings::OutAttributesFillingSettings. 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_OutAttributesFillingSettings_Destroy() to free it when you're done using it.
| MRC_API MR_OutAttributesFillingSettings * MR_OutAttributesFillingSettings_DefaultConstruct | ( | void | ) |
Constructs an empty (default-constructed) instance. Never returns null. Returns an instance allocated on the heap! Must call MR_OutAttributesFillingSettings_Destroy() to free it when you're done using it.
| MRC_API MR_OutAttributesFillingSettings * MR_OutAttributesFillingSettings_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_OutAttributesFillingSettings_DestroyArray(). Use MR_OutAttributesFillingSettings_OffsetMutablePtr() and MR_OutAttributesFillingSettings_OffsetPtr() to access the array elements.
| MRC_API void MR_OutAttributesFillingSettings_Destroy | ( | const MR_OutAttributesFillingSettings * | _this | ) |
Destroys a heap-allocated instance of MR_OutAttributesFillingSettings. Does nothing if the pointer is null.
| MRC_API void MR_OutAttributesFillingSettings_DestroyArray | ( | const MR_OutAttributesFillingSettings * | _this | ) |
Destroys a heap-allocated array of MR_OutAttributesFillingSettings. Does nothing if the pointer is null.
| MRC_API MR_VertColors *const * MR_OutAttributesFillingSettings_Get_colorMap | ( | const MR_OutAttributesFillingSettings * | _this | ) |
optional colors of vertices; if provided then elements corresponding to new vertices will be added there Returns a pointer to a member variable of class MR::OutAttributesFillingSettings named colorMap. 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. The reference to this object might be preserved as the return value.
| MRC_API MR_FaceColors *const * MR_OutAttributesFillingSettings_Get_faceColors | ( | const MR_OutAttributesFillingSettings * | _this | ) |
optional colors of faces; if provided then elements corresponding to new faces will be added there Returns a pointer to a member variable of class MR::OutAttributesFillingSettings named faceColors. 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. The reference to this object might be preserved as the return value.
| MRC_API MR_VertCoords2 *const * MR_OutAttributesFillingSettings_Get_uvCoords | ( | const MR_OutAttributesFillingSettings * | _this | ) |
optional uv-coordinates of vertices; if provided then elements corresponding to new vertices will be added there Returns a pointer to a member variable of class MR::OutAttributesFillingSettings named uvCoords. 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. The reference to this object might be preserved as the return value.
| MRC_API MR_VertColors ** MR_OutAttributesFillingSettings_GetMutable_colorMap | ( | MR_OutAttributesFillingSettings * | _this | ) |
optional colors of vertices; if provided then elements corresponding to new vertices will be added there Returns a mutable pointer to a member variable of class MR::OutAttributesFillingSettings named colorMap. 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. The reference to this object might be preserved as the return value.
| MRC_API MR_FaceColors ** MR_OutAttributesFillingSettings_GetMutable_faceColors | ( | MR_OutAttributesFillingSettings * | _this | ) |
optional colors of faces; if provided then elements corresponding to new faces will be added there Returns a mutable pointer to a member variable of class MR::OutAttributesFillingSettings named faceColors. 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. The reference to this object might be preserved as the return value.
| MRC_API MR_VertCoords2 ** MR_OutAttributesFillingSettings_GetMutable_uvCoords | ( | MR_OutAttributesFillingSettings * | _this | ) |
optional uv-coordinates of vertices; if provided then elements corresponding to new vertices will be added there Returns a mutable pointer to a member variable of class MR::OutAttributesFillingSettings named uvCoords. 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. The reference to this object might be preserved as the return value.
| MRC_API MR_OutAttributesFillingSettings * MR_OutAttributesFillingSettings_OffsetMutablePtr | ( | MR_OutAttributesFillingSettings * | 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_OutAttributesFillingSettings * MR_OutAttributesFillingSettings_OffsetPtr | ( | const MR_OutAttributesFillingSettings * | 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_OutAttributesFillingSettings_Set_colorMap | ( | MR_OutAttributesFillingSettings * | _this, |
| MR_VertColors * | value ) |
optional colors of vertices; if provided then elements corresponding to new vertices will be added there Modifies a member variable of class MR::OutAttributesFillingSettings named colorMap. 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 colorMap. When this function is called, this object will drop object references it held previously in colorMap.
| MRC_API void MR_OutAttributesFillingSettings_Set_faceColors | ( | MR_OutAttributesFillingSettings * | _this, |
| MR_FaceColors * | value ) |
optional colors of faces; if provided then elements corresponding to new faces will be added there Modifies a member variable of class MR::OutAttributesFillingSettings named faceColors. 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 faceColors. When this function is called, this object will drop object references it held previously in faceColors.
| MRC_API void MR_OutAttributesFillingSettings_Set_uvCoords | ( | MR_OutAttributesFillingSettings * | _this, |
| MR_VertCoords2 * | value ) |
optional uv-coordinates of vertices; if provided then elements corresponding to new vertices will be added there Modifies a member variable of class MR::OutAttributesFillingSettings named uvCoords. 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 uvCoords. When this function is called, this object will drop object references it held previously in uvCoords.
| MRC_API MR_SmoothFillingSettings * MR_SmoothFillingSettings_AssignFromAnother | ( | MR_SmoothFillingSettings * | _this, |
| const MR_SmoothFillingSettings * | _other ) |
Generated from method MR::SmoothFillingSettings::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 held previously.
| MRC_API MR_SmoothFillingSettings * MR_SmoothFillingSettings_ConstructFrom | ( | bool | naturalSmooth, |
| MR_EdgeWeights | edgeWeights, | ||
| MR_VertexMass | vmass ) |
Constructs MR::SmoothFillingSettings elementwise. The reference to the parameter edgeWeights might be preserved in the constructed object. The reference to the parameter vmass might be preserved in the constructed object. Never returns null. Returns an instance allocated on the heap! Must call MR_SmoothFillingSettings_Destroy() to free it when you're done using it. When this function is called, this object will drop any object references it held previously.
| MRC_API MR_SmoothFillingSettings * MR_SmoothFillingSettings_ConstructFromAnother | ( | const MR_SmoothFillingSettings * | _other | ) |
Generated from constructor MR::SmoothFillingSettings::SmoothFillingSettings. 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_SmoothFillingSettings_Destroy() to free it when you're done using it.
| MRC_API MR_SmoothFillingSettings * MR_SmoothFillingSettings_DefaultConstruct | ( | void | ) |
Constructs an empty (default-constructed) instance. Never returns null. Returns an instance allocated on the heap! Must call MR_SmoothFillingSettings_Destroy() to free it when you're done using it.
| MRC_API MR_SmoothFillingSettings * MR_SmoothFillingSettings_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_SmoothFillingSettings_DestroyArray(). Use MR_SmoothFillingSettings_OffsetMutablePtr() and MR_SmoothFillingSettings_OffsetPtr() to access the array elements.
| MRC_API void MR_SmoothFillingSettings_Destroy | ( | const MR_SmoothFillingSettings * | _this | ) |
Destroys a heap-allocated instance of MR_SmoothFillingSettings. Does nothing if the pointer is null.
| MRC_API void MR_SmoothFillingSettings_DestroyArray | ( | const MR_SmoothFillingSettings * | _this | ) |
Destroys a heap-allocated array of MR_SmoothFillingSettings. Does nothing if the pointer is null.
| MRC_API const MR_EdgeWeights * MR_SmoothFillingSettings_Get_edgeWeights | ( | const MR_SmoothFillingSettings * | _this | ) |
edge weighting scheme for smoothCurvature mode Returns a pointer to a member variable of class MR::SmoothFillingSettings named edgeWeights. 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. The reference to this object might be preserved as the return value.
| MRC_API const bool * MR_SmoothFillingSettings_Get_naturalSmooth | ( | const MR_SmoothFillingSettings * | _this | ) |
Additionally smooth 3 layers of vertices near hole boundary both inside and outside of the hole Returns a pointer to a member variable of class MR::SmoothFillingSettings named naturalSmooth. 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. The reference to this object might be preserved as the return value.
| MRC_API const MR_VertexMass * MR_SmoothFillingSettings_Get_vmass | ( | const MR_SmoothFillingSettings * | _this | ) |
vertex mass scheme for smoothCurvature mode Returns a pointer to a member variable of class MR::SmoothFillingSettings named vmass. 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. The reference to this object might be preserved as the return value.
| MRC_API MR_EdgeWeights * MR_SmoothFillingSettings_GetMutable_edgeWeights | ( | MR_SmoothFillingSettings * | _this | ) |
edge weighting scheme for smoothCurvature mode Returns a mutable pointer to a member variable of class MR::SmoothFillingSettings named edgeWeights. 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. The reference to this object might be preserved as the return value.
| MRC_API bool * MR_SmoothFillingSettings_GetMutable_naturalSmooth | ( | MR_SmoothFillingSettings * | _this | ) |
Additionally smooth 3 layers of vertices near hole boundary both inside and outside of the hole Returns a mutable pointer to a member variable of class MR::SmoothFillingSettings named naturalSmooth. 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. The reference to this object might be preserved as the return value.
| MRC_API MR_VertexMass * MR_SmoothFillingSettings_GetMutable_vmass | ( | MR_SmoothFillingSettings * | _this | ) |
vertex mass scheme for smoothCurvature mode Returns a mutable pointer to a member variable of class MR::SmoothFillingSettings named vmass. 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. The reference to this object might be preserved as the return value.
| MRC_API MR_SmoothFillingSettings * MR_SmoothFillingSettings_OffsetMutablePtr | ( | MR_SmoothFillingSettings * | 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_SmoothFillingSettings * MR_SmoothFillingSettings_OffsetPtr | ( | const MR_SmoothFillingSettings * | 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_SmoothFillingSettings_Set_edgeWeights | ( | MR_SmoothFillingSettings * | _this, |
| MR_EdgeWeights | value ) |
edge weighting scheme for smoothCurvature mode Modifies a member variable of class MR::SmoothFillingSettings named edgeWeights. 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 edgeWeights. When this function is called, this object will drop object references it held previously in edgeWeights.
| MRC_API void MR_SmoothFillingSettings_Set_naturalSmooth | ( | MR_SmoothFillingSettings * | _this, |
| bool | value ) |
Additionally smooth 3 layers of vertices near hole boundary both inside and outside of the hole Modifies a member variable of class MR::SmoothFillingSettings named naturalSmooth. Parameter _this can not be null. It is a single object. When this function is called, this object will drop object references it held previously in naturalSmooth.
| MRC_API void MR_SmoothFillingSettings_Set_vmass | ( | MR_SmoothFillingSettings * | _this, |
| MR_VertexMass | value ) |
vertex mass scheme for smoothCurvature mode Modifies a member variable of class MR::SmoothFillingSettings named vmass. 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 vmass. When this function is called, this object will drop object references it held previously in vmass.
| MRC_API MR_FaceBitSet * MR_stitchHolesNicely | ( | MR_Mesh * | mesh, |
| MR_EdgeId | hole0Edge, | ||
| MR_EdgeId | hole1Edge, | ||
| const MR_StitchHolesNicelySettings * | settings ) |
stitches two holes building cylinder between them, each hole is specified by one of its edge, optionally subdivides new patch on smaller triangles, optionally make smooth connection with existing triangles outside the hole
| MRC_API MR_StitchHolesNicelySettings * MR_StitchHolesNicelySettings_AssignFromAnother | ( | MR_StitchHolesNicelySettings * | _this, |
| MR_PassBy | _other_pass_by, | ||
| MR_StitchHolesNicelySettings * | _other ) |
Generated from method MR::StitchHolesNicelySettings::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 held previously.
| MRC_API MR_StitchHolesNicelySettings * MR_StitchHolesNicelySettings_ConstructFrom | ( | MR_PassBy | triangulateParams_pass_by, |
| MR_StitchHolesParams * | triangulateParams, | ||
| bool | triangulateOnly, | ||
| MR_PassBy | subdivideSettings_pass_by, | ||
| MR_SubdivideFillingSettings * | subdivideSettings, | ||
| bool | smoothCurvature, | ||
| const MR_SmoothFillingSettings * | smoothSeettings, | ||
| const MR_OutAttributesFillingSettings * | outAttributes ) |
Constructs MR::StitchHolesNicelySettings elementwise. The reference to the parameter triangulateParams might be preserved in the constructed object. The reference to the parameter subdivideSettings might be preserved in the constructed object. Parameter smoothSeettings can not be null. It is a single object. The reference to the parameter smoothSeettings might be preserved in the constructed object. Parameter outAttributes can not be null. It is a single object. The reference to the parameter outAttributes might be preserved in the constructed object. Never returns null. Returns an instance allocated on the heap! Must call MR_StitchHolesNicelySettings_Destroy() to free it when you're done using it. When this function is called, this object will drop any object references it held previously.
| MRC_API MR_StitchHolesNicelySettings * MR_StitchHolesNicelySettings_ConstructFromAnother | ( | MR_PassBy | _other_pass_by, |
| MR_StitchHolesNicelySettings * | _other ) |
Generated from constructor MR::StitchHolesNicelySettings::StitchHolesNicelySettings. 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_StitchHolesNicelySettings_Destroy() to free it when you're done using it.
| MRC_API MR_StitchHolesNicelySettings * MR_StitchHolesNicelySettings_DefaultConstruct | ( | void | ) |
Constructs an empty (default-constructed) instance. Never returns null. Returns an instance allocated on the heap! Must call MR_StitchHolesNicelySettings_Destroy() to free it when you're done using it.
| MRC_API MR_StitchHolesNicelySettings * MR_StitchHolesNicelySettings_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_StitchHolesNicelySettings_DestroyArray(). Use MR_StitchHolesNicelySettings_OffsetMutablePtr() and MR_StitchHolesNicelySettings_OffsetPtr() to access the array elements.
| MRC_API void MR_StitchHolesNicelySettings_Destroy | ( | const MR_StitchHolesNicelySettings * | _this | ) |
Destroys a heap-allocated instance of MR_StitchHolesNicelySettings. Does nothing if the pointer is null.
| MRC_API void MR_StitchHolesNicelySettings_DestroyArray | ( | const MR_StitchHolesNicelySettings * | _this | ) |
Destroys a heap-allocated array of MR_StitchHolesNicelySettings. Does nothing if the pointer is null.
| MRC_API const MR_OutAttributesFillingSettings * MR_StitchHolesNicelySettings_Get_outAttributes | ( | const MR_StitchHolesNicelySettings * | _this | ) |
structure with optional output attributes Returns a pointer to a member variable of class MR::StitchHolesNicelySettings named outAttributes. 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. The reference to this object might be preserved as the return value.
| MRC_API const MR_SmoothFillingSettings * MR_StitchHolesNicelySettings_Get_smoothSeettings | ( | const MR_StitchHolesNicelySettings * | _this | ) |
if smoothCurvature is true and triangulateOnly is false - these settings are used to smooth new filling / Returns a mutable pointer to a member variable of class MR::FillHoleNicelySettings named smoothSeettings. / 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. / The reference to this object might be preserved as the return value. MRC_API MR_SmoothFillingSettings *MR_FillHoleNicelySettings_GetMutable_smoothSeettings(MR_FillHoleNicelySettings *_this);
/ structure with optional output attributes / Returns a pointer to a member variable of class MR::FillHoleNicelySettings named outAttributes. / 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. / The reference to this object might be preserved as the return value. MRC_API const MR_OutAttributesFillingSettings *MR_FillHoleNicelySettings_Get_outAttributes(const MR_FillHoleNicelySettings *_this);
/ structure with optional output attributes / Modifies a member variable of class MR::FillHoleNicelySettings named outAttributes. / Parameter _this can not be null. It is a single object. / Parameter value can not be null. It is a single object. / The reference to the parameter value might be preserved in this object in element outAttributes. / When this function is called, this object will drop object references it held previously in outAttributes. MRC_API void MR_FillHoleNicelySettings_Set_outAttributes(MR_FillHoleNicelySettings *_this, const MR_OutAttributesFillingSettings *value);
/ structure with optional output attributes / Returns a mutable pointer to a member variable of class MR::FillHoleNicelySettings named outAttributes. / 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. / The reference to this object might be preserved as the return value. MRC_API MR_OutAttributesFillingSettings *MR_FillHoleNicelySettings_GetMutable_outAttributes(MR_FillHoleNicelySettings *_this);
/ Constructs an empty (default-constructed) instance. / Never returns null. Returns an instance allocated on the heap! Must call MR_FillHoleNicelySettings_Destroy() to free it when you're done using it. MRC_API MR_FillHoleNicelySettings *MR_FillHoleNicelySettings_DefaultConstruct(void);
/ Constructs an array of empty (default-constructed) instances, of the specified size. Will never return null. / The array must be destroyed using MR_FillHoleNicelySettings_DestroyArray(). / Use MR_FillHoleNicelySettings_OffsetMutablePtr() and MR_FillHoleNicelySettings_OffsetPtr() to access the array elements. MRC_API MR_FillHoleNicelySettings *MR_FillHoleNicelySettings_DefaultConstructArray(size_t num_elems);
/ Constructs MR::FillHoleNicelySettings elementwise. / The reference to the parameter triangulateParams might be preserved in the constructed object. / The reference to the parameter subdivideSettings might be preserved in the constructed object. / Parameter smoothSeettings can not be null. It is a single object. / The reference to the parameter smoothSeettings might be preserved in the constructed object. / Parameter outAttributes can not be null. It is a single object. / The reference to the parameter outAttributes might be preserved in the constructed object. / Never returns null. Returns an instance allocated on the heap! Must call MR_FillHoleNicelySettings_Destroy() to free it when you're done using it. / When this function is called, this object will drop any object references it held previously. MRC_API MR_FillHoleNicelySettings *MR_FillHoleNicelySettings_ConstructFrom(MR_PassBy triangulateParams_pass_by, MR_FillHoleParams *triangulateParams, bool triangulateOnly, MR_PassBy subdivideSettings_pass_by, MR_SubdivideFillingSettings *subdivideSettings, bool smoothCurvature, const MR_SmoothFillingSettings *smoothSeettings, const MR_OutAttributesFillingSettings *outAttributes);
/ 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_FillHoleNicelySettings *MR_FillHoleNicelySettings_OffsetPtr(const MR_FillHoleNicelySettings *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 MR_FillHoleNicelySettings *MR_FillHoleNicelySettings_OffsetMutablePtr(MR_FillHoleNicelySettings *ptr, ptrdiff_t i);
/ Generated from constructor MR::FillHoleNicelySettings::FillHoleNicelySettings. / 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_FillHoleNicelySettings_Destroy() to free it when you're done using it. MRC_API MR_FillHoleNicelySettings *MR_FillHoleNicelySettings_ConstructFromAnother(MR_PassBy _other_pass_by, MR_FillHoleNicelySettings *_other);
/ Destroys a heap-allocated instance of MR_FillHoleNicelySettings. Does nothing if the pointer is null. MRC_API void MR_FillHoleNicelySettings_Destroy(const MR_FillHoleNicelySettings *_this);
/ Destroys a heap-allocated array of MR_FillHoleNicelySettings. Does nothing if the pointer is null. MRC_API void MR_FillHoleNicelySettings_DestroyArray(const MR_FillHoleNicelySettings *_this);
/ Generated from method MR::FillHoleNicelySettings::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 held previously. MRC_API MR_FillHoleNicelySettings *MR_FillHoleNicelySettings_AssignFromAnother(MR_FillHoleNicelySettings *_this, MR_PassBy _other_pass_by, MR_FillHoleNicelySettings *_other);
/ fills a hole in mesh specified by one of its edge, / optionally subdivides new patch on smaller triangles, / optionally make smooth connection with existing triangles outside the hole /
/ how to triangulate the cylinder between holes, must be specified by the user / Returns a pointer to a member variable of class MR::StitchHolesNicelySettings named triangulateParams. / 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. / The reference to this object might be preserved as the return value. MRC_API const MR_StitchHolesParams *MR_StitchHolesNicelySettings_Get_triangulateParams(const MR_StitchHolesNicelySettings *_this);
/ how to triangulate the cylinder between holes, must be specified by the user / Modifies a member variable of class MR::StitchHolesNicelySettings named triangulateParams. / 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 triangulateParams. / When this function is called, this object will drop object references it held previously in triangulateParams. MRC_API void MR_StitchHolesNicelySettings_Set_triangulateParams(MR_StitchHolesNicelySettings *_this, MR_PassBy value_pass_by, MR_StitchHolesParams *value);
/ how to triangulate the cylinder between holes, must be specified by the user / Returns a mutable pointer to a member variable of class MR::StitchHolesNicelySettings named triangulateParams. / 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. / The reference to this object might be preserved as the return value. MRC_API MR_StitchHolesParams *MR_StitchHolesNicelySettings_GetMutable_triangulateParams(MR_StitchHolesNicelySettings *_this);
/ If false then additional vertices are created inside the patch for best mesh quality / Returns a pointer to a member variable of class MR::StitchHolesNicelySettings named triangulateOnly. / 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. / The reference to this object might be preserved as the return value. MRC_API const bool *MR_StitchHolesNicelySettings_Get_triangulateOnly(const MR_StitchHolesNicelySettings *_this);
/ If false then additional vertices are created inside the patch for best mesh quality / Modifies a member variable of class MR::StitchHolesNicelySettings named triangulateOnly. / Parameter _this can not be null. It is a single object. / When this function is called, this object will drop object references it held previously in triangulateOnly. MRC_API void MR_StitchHolesNicelySettings_Set_triangulateOnly(MR_StitchHolesNicelySettings *_this, bool value);
/ If false then additional vertices are created inside the patch for best mesh quality / Returns a mutable pointer to a member variable of class MR::StitchHolesNicelySettings named triangulateOnly. / 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. / The reference to this object might be preserved as the return value. MRC_API bool *MR_StitchHolesNicelySettings_GetMutable_triangulateOnly(MR_StitchHolesNicelySettings *_this);
/ if triangulateOnly is false - this settings are used to subdivide new filling / Returns a pointer to a member variable of class MR::StitchHolesNicelySettings named subdivideSettings. / 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. / The reference to this object might be preserved as the return value. MRC_API const MR_SubdivideFillingSettings *MR_StitchHolesNicelySettings_Get_subdivideSettings(const MR_StitchHolesNicelySettings *_this);
/ if triangulateOnly is false - this settings are used to subdivide new filling / Modifies a member variable of class MR::StitchHolesNicelySettings named subdivideSettings. / 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 subdivideSettings. / When this function is called, this object will drop object references it held previously in subdivideSettings. MRC_API void MR_StitchHolesNicelySettings_Set_subdivideSettings(MR_StitchHolesNicelySettings *_this, MR_PassBy value_pass_by, MR_SubdivideFillingSettings *value);
/ if triangulateOnly is false - this settings are used to subdivide new filling / Returns a mutable pointer to a member variable of class MR::StitchHolesNicelySettings named subdivideSettings. / 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. / The reference to this object might be preserved as the return value. MRC_API MR_SubdivideFillingSettings *MR_StitchHolesNicelySettings_GetMutable_subdivideSettings(MR_StitchHolesNicelySettings *_this);
/ Whether to make patch over the hole smooth both inside and on its boundary with existed surface / Returns a pointer to a member variable of class MR::StitchHolesNicelySettings named smoothCurvature. / 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. / The reference to this object might be preserved as the return value. MRC_API const bool *MR_StitchHolesNicelySettings_Get_smoothCurvature(const MR_StitchHolesNicelySettings *_this);
/ Whether to make patch over the hole smooth both inside and on its boundary with existed surface / Modifies a member variable of class MR::StitchHolesNicelySettings named smoothCurvature. / Parameter _this can not be null. It is a single object. / When this function is called, this object will drop object references it held previously in smoothCurvature. MRC_API void MR_StitchHolesNicelySettings_Set_smoothCurvature(MR_StitchHolesNicelySettings *_this, bool value);
/ Whether to make patch over the hole smooth both inside and on its boundary with existed surface / Returns a mutable pointer to a member variable of class MR::StitchHolesNicelySettings named smoothCurvature. / 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. / The reference to this object might be preserved as the return value. MRC_API bool *MR_StitchHolesNicelySettings_GetMutable_smoothCurvature(MR_StitchHolesNicelySettings *_this);
/ if smoothCurvature is true and triangulateOnly is false - these settings are used to smooth new filling Returns a pointer to a member variable of class MR::StitchHolesNicelySettings named smoothSeettings. 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. The reference to this object might be preserved as the return value.
| MRC_API MR_OutAttributesFillingSettings * MR_StitchHolesNicelySettings_GetMutable_outAttributes | ( | MR_StitchHolesNicelySettings * | _this | ) |
structure with optional output attributes Returns a mutable pointer to a member variable of class MR::StitchHolesNicelySettings named outAttributes. 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. The reference to this object might be preserved as the return value.
| MRC_API MR_SmoothFillingSettings * MR_StitchHolesNicelySettings_GetMutable_smoothSeettings | ( | MR_StitchHolesNicelySettings * | _this | ) |
if smoothCurvature is true and triangulateOnly is false - these settings are used to smooth new filling / Modifies a member variable of class MR::StitchHolesNicelySettings named smoothSeettings. / Parameter _this can not be null. It is a single object. / Parameter value can not be null. It is a single object. / The reference to the parameter value might be preserved in this object in element smoothSeettings. / When this function is called, this object will drop object references it held previously in smoothSeettings`. MRC_API void MR_StitchHolesNicelySettings_Set_smoothSeettings(MR_StitchHolesNicelySettings *_this, const MR_SmoothFillingSettings *value);
/ if smoothCurvature is true and triangulateOnly is false - these settings are used to smooth new filling Returns a mutable pointer to a member variable of class MR::StitchHolesNicelySettings named smoothSeettings. 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. The reference to this object might be preserved as the return value.
| MRC_API MR_StitchHolesNicelySettings * MR_StitchHolesNicelySettings_OffsetMutablePtr | ( | MR_StitchHolesNicelySettings * | 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_StitchHolesNicelySettings * MR_StitchHolesNicelySettings_OffsetPtr | ( | const MR_StitchHolesNicelySettings * | 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_StitchHolesNicelySettings_Set_outAttributes | ( | MR_StitchHolesNicelySettings * | _this, |
| const MR_OutAttributesFillingSettings * | value ) |
structure with optional output attributes Modifies a member variable of class MR::StitchHolesNicelySettings named outAttributes. Parameter _this can not be null. It is a single object. Parameter value can not be null. It is a single object. The reference to the parameter value might be preserved in this object in element outAttributes. When this function is called, this object will drop object references it held previously in outAttributes.
| MRC_API MR_SubdivideFillingSettings * MR_SubdivideFillingSettings_AssignFromAnother | ( | MR_SubdivideFillingSettings * | _this, |
| MR_PassBy | _other_pass_by, | ||
| MR_SubdivideFillingSettings * | _other ) |
Generated from method MR::SubdivideFillingSettings::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 held previously.
| MRC_API MR_SubdivideFillingSettings * MR_SubdivideFillingSettings_ConstructFrom | ( | MR_UndirectedEdgeBitSet * | notFlippable, |
| float | maxEdgeLen, | ||
| int | maxEdgeSplits, | ||
| float | maxAngleChangeAfterFlip, | ||
| MR_PassBy | beforeEdgeSplit_pass_by, | ||
| MR_std_function_bool_from_MR_EdgeId * | beforeEdgeSplit, | ||
| MR_PassBy | onEdgeSplit_pass_by, | ||
| MR_std_function_void_from_MR_EdgeId_MR_EdgeId * | onEdgeSplit ) |
Constructs MR::SubdivideFillingSettings elementwise. The reference to the parameter notFlippable might be preserved in the constructed object. The reference to the parameter beforeEdgeSplit might be preserved in the constructed object. The reference to the parameter onEdgeSplit might be preserved in the constructed object. Never returns null. Returns an instance allocated on the heap! Must call MR_SubdivideFillingSettings_Destroy() to free it when you're done using it. When this function is called, this object will drop any object references it held previously.
| MRC_API MR_SubdivideFillingSettings * MR_SubdivideFillingSettings_ConstructFromAnother | ( | MR_PassBy | _other_pass_by, |
| MR_SubdivideFillingSettings * | _other ) |
Generated from constructor MR::SubdivideFillingSettings::SubdivideFillingSettings. 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_SubdivideFillingSettings_Destroy() to free it when you're done using it.
| MRC_API MR_SubdivideFillingSettings * MR_SubdivideFillingSettings_DefaultConstruct | ( | void | ) |
Constructs an empty (default-constructed) instance. Never returns null. Returns an instance allocated on the heap! Must call MR_SubdivideFillingSettings_Destroy() to free it when you're done using it.
| MRC_API MR_SubdivideFillingSettings * MR_SubdivideFillingSettings_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_SubdivideFillingSettings_DestroyArray(). Use MR_SubdivideFillingSettings_OffsetMutablePtr() and MR_SubdivideFillingSettings_OffsetPtr() to access the array elements.
| MRC_API void MR_SubdivideFillingSettings_Destroy | ( | const MR_SubdivideFillingSettings * | _this | ) |
Destroys a heap-allocated instance of MR_SubdivideFillingSettings. Does nothing if the pointer is null.
| MRC_API void MR_SubdivideFillingSettings_DestroyArray | ( | const MR_SubdivideFillingSettings * | _this | ) |
Destroys a heap-allocated array of MR_SubdivideFillingSettings. Does nothing if the pointer is null.
| MRC_API const MR_std_function_bool_from_MR_EdgeId * MR_SubdivideFillingSettings_Get_beforeEdgeSplit | ( | const MR_SubdivideFillingSettings * | _this | ) |
(If this is set) this function is called in subdivision each time edge (e) is going to split, if it returns false then this split will be skipped Returns a pointer to a member variable of class MR::SubdivideFillingSettings named beforeEdgeSplit. 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. The reference to this object might be preserved as the return value.
| MRC_API const float * MR_SubdivideFillingSettings_Get_maxAngleChangeAfterFlip | ( | const MR_SubdivideFillingSettings * | _this | ) |
Improves local mesh triangulation by doing edge flips if it does not change dihedral angle more than on this value (in radians) Returns a pointer to a member variable of class MR::SubdivideFillingSettings named maxAngleChangeAfterFlip. 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. The reference to this object might be preserved as the return value.
| MRC_API const float * MR_SubdivideFillingSettings_Get_maxEdgeLen | ( | const MR_SubdivideFillingSettings * | _this | ) |
Subdivision is stopped when all edges inside or on the boundary of the region are not longer than this value Returns a pointer to a member variable of class MR::SubdivideFillingSettings named maxEdgeLen. 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. The reference to this object might be preserved as the return value.
| MRC_API const int * MR_SubdivideFillingSettings_Get_maxEdgeSplits | ( | const MR_SubdivideFillingSettings * | _this | ) |
Maximum number of edge splits allowed during subdivision Returns a pointer to a member variable of class MR::SubdivideFillingSettings named maxEdgeSplits. 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. The reference to this object might be preserved as the return value.
| MRC_API MR_UndirectedEdgeBitSet *const * MR_SubdivideFillingSettings_Get_notFlippable | ( | const MR_SubdivideFillingSettings * | _this | ) |
in triangulateOnly = false mode, edges specified by this bit-set will never be flipped, but they can be split so it is updated during the operation Returns a pointer to a member variable of class MR::SubdivideFillingSettings named notFlippable. 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. The reference to this object might be preserved as the return value.
| MRC_API const MR_std_function_void_from_MR_EdgeId_MR_EdgeId * MR_SubdivideFillingSettings_Get_onEdgeSplit | ( | const MR_SubdivideFillingSettings * | _this | ) |
(If this is set) this function is called in subdivision each time edge (e) is split into (e1->e), but before the ring is made Delone Returns a pointer to a member variable of class MR::SubdivideFillingSettings named onEdgeSplit. 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. The reference to this object might be preserved as the return value.
| MRC_API MR_std_function_bool_from_MR_EdgeId * MR_SubdivideFillingSettings_GetMutable_beforeEdgeSplit | ( | MR_SubdivideFillingSettings * | _this | ) |
(If this is set) this function is called in subdivision each time edge (e) is going to split, if it returns false then this split will be skipped Returns a mutable pointer to a member variable of class MR::SubdivideFillingSettings named beforeEdgeSplit. 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. The reference to this object might be preserved as the return value.
| MRC_API float * MR_SubdivideFillingSettings_GetMutable_maxAngleChangeAfterFlip | ( | MR_SubdivideFillingSettings * | _this | ) |
Improves local mesh triangulation by doing edge flips if it does not change dihedral angle more than on this value (in radians) Returns a mutable pointer to a member variable of class MR::SubdivideFillingSettings named maxAngleChangeAfterFlip. 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. The reference to this object might be preserved as the return value.
| MRC_API float * MR_SubdivideFillingSettings_GetMutable_maxEdgeLen | ( | MR_SubdivideFillingSettings * | _this | ) |
Subdivision is stopped when all edges inside or on the boundary of the region are not longer than this value Returns a mutable pointer to a member variable of class MR::SubdivideFillingSettings named maxEdgeLen. 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. The reference to this object might be preserved as the return value.
| MRC_API int * MR_SubdivideFillingSettings_GetMutable_maxEdgeSplits | ( | MR_SubdivideFillingSettings * | _this | ) |
Maximum number of edge splits allowed during subdivision Returns a mutable pointer to a member variable of class MR::SubdivideFillingSettings named maxEdgeSplits. 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. The reference to this object might be preserved as the return value.
| MRC_API MR_UndirectedEdgeBitSet ** MR_SubdivideFillingSettings_GetMutable_notFlippable | ( | MR_SubdivideFillingSettings * | _this | ) |
in triangulateOnly = false mode, edges specified by this bit-set will never be flipped, but they can be split so it is updated during the operation Returns a mutable pointer to a member variable of class MR::SubdivideFillingSettings named notFlippable. 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. The reference to this object might be preserved as the return value.
| MRC_API MR_std_function_void_from_MR_EdgeId_MR_EdgeId * MR_SubdivideFillingSettings_GetMutable_onEdgeSplit | ( | MR_SubdivideFillingSettings * | _this | ) |
(If this is set) this function is called in subdivision each time edge (e) is split into (e1->e), but before the ring is made Delone Returns a mutable pointer to a member variable of class MR::SubdivideFillingSettings named onEdgeSplit. 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. The reference to this object might be preserved as the return value.
| MRC_API MR_SubdivideFillingSettings * MR_SubdivideFillingSettings_OffsetMutablePtr | ( | MR_SubdivideFillingSettings * | 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_SubdivideFillingSettings * MR_SubdivideFillingSettings_OffsetPtr | ( | const MR_SubdivideFillingSettings * | 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_SubdivideFillingSettings_Set_beforeEdgeSplit | ( | MR_SubdivideFillingSettings * | _this, |
| MR_PassBy | value_pass_by, | ||
| MR_std_function_bool_from_MR_EdgeId * | value ) |
(If this is set) this function is called in subdivision each time edge (e) is going to split, if it returns false then this split will be skipped Modifies a member variable of class MR::SubdivideFillingSettings named beforeEdgeSplit. 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 beforeEdgeSplit. When this function is called, this object will drop object references it held previously in beforeEdgeSplit.
| MRC_API void MR_SubdivideFillingSettings_Set_maxAngleChangeAfterFlip | ( | MR_SubdivideFillingSettings * | _this, |
| float | value ) |
Improves local mesh triangulation by doing edge flips if it does not change dihedral angle more than on this value (in radians) Modifies a member variable of class MR::SubdivideFillingSettings named maxAngleChangeAfterFlip. Parameter _this can not be null. It is a single object. When this function is called, this object will drop object references it held previously in maxAngleChangeAfterFlip.
| MRC_API void MR_SubdivideFillingSettings_Set_maxEdgeLen | ( | MR_SubdivideFillingSettings * | _this, |
| float | value ) |
Subdivision is stopped when all edges inside or on the boundary of the region are not longer than this value Modifies a member variable of class MR::SubdivideFillingSettings named maxEdgeLen. Parameter _this can not be null. It is a single object. When this function is called, this object will drop object references it held previously in maxEdgeLen.
| MRC_API void MR_SubdivideFillingSettings_Set_maxEdgeSplits | ( | MR_SubdivideFillingSettings * | _this, |
| int | value ) |
Maximum number of edge splits allowed during subdivision Modifies a member variable of class MR::SubdivideFillingSettings named maxEdgeSplits. Parameter _this can not be null. It is a single object. When this function is called, this object will drop object references it held previously in maxEdgeSplits.
| MRC_API void MR_SubdivideFillingSettings_Set_notFlippable | ( | MR_SubdivideFillingSettings * | _this, |
| MR_UndirectedEdgeBitSet * | value ) |
in triangulateOnly = false mode, edges specified by this bit-set will never be flipped, but they can be split so it is updated during the operation Modifies a member variable of class MR::SubdivideFillingSettings named notFlippable. 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 notFlippable. When this function is called, this object will drop object references it held previously in notFlippable.
| MRC_API void MR_SubdivideFillingSettings_Set_onEdgeSplit | ( | MR_SubdivideFillingSettings * | _this, |
| MR_PassBy | value_pass_by, | ||
| MR_std_function_void_from_MR_EdgeId_MR_EdgeId * | value ) |
(If this is set) this function is called in subdivision each time edge (e) is split into (e1->e), but before the ring is made Delone Modifies a member variable of class MR::SubdivideFillingSettings named onEdgeSplit. 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 onEdgeSplit. When this function is called, this object will drop object references it held previously in onEdgeSplit.