#include <MRCMesh/MRVector3.h>#include <MRCMisc/common.h>#include <MRCMisc/exports.h>#include <stddef.h>Go to the source code of this file.
Typedefs | |
| typedef struct MR_AffineXf3f | MR_AffineXf3f |
| typedef struct MR_Mesh | MR_Mesh |
| typedef struct MR_expected_std_vector_MR_FaceBitSet_std_string | MR_expected_std_vector_MR_FaceBitSet_std_string |
| typedef struct MR_std_function_bool_from_float | MR_std_function_bool_from_float |
| typedef struct MR_FindOverhangsSettings | MR_FindOverhangsSettings |
| typedef struct MR_AffineXf3f MR_AffineXf3f |
| typedef struct MR_expected_std_vector_MR_FaceBitSet_std_string MR_expected_std_vector_MR_FaceBitSet_std_string |
| typedef struct MR_FindOverhangsSettings MR_FindOverhangsSettings |
parameters for MR::findOverhangs Generated from class MR::FindOverhangsSettings. 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_bool_from_float MR_std_function_bool_from_float |
| MRC_API MR_expected_std_vector_MR_FaceBitSet_std_string * MR_findOverhangs | ( | const MR_Mesh * | mesh, |
| const MR_FindOverhangsSettings * | settings ) |
Find face regions that might create overhangs.
| mesh | - source mesh |
| settings | - parameters |
MR::findOverhangs. Parameter mesh can not be null. It is a single object. Parameter settings can not be null. It is a single object. Never returns null. Returns an instance allocated on the heap! Must call MR_expected_std_vector_MR_FaceBitSet_std_string_Destroy() to free it when you're done using it. | MRC_API MR_FindOverhangsSettings * MR_FindOverhangsSettings_AssignFromAnother | ( | MR_FindOverhangsSettings * | _this, |
| MR_PassBy | _other_pass_by, | ||
| MR_FindOverhangsSettings * | _other ) |
Generated from method MR::FindOverhangsSettings::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.
| MRC_API MR_FindOverhangsSettings * MR_FindOverhangsSettings_ConstructFrom | ( | MR_Vector3f | axis, |
| float | layerHeight, | ||
| float | maxOverhangDistance, | ||
| int | hops, | ||
| const MR_AffineXf3f * | xf, | ||
| MR_PassBy | progressCb_pass_by, | ||
| MR_std_function_bool_from_float * | progressCb ) |
Constructs MR::FindOverhangsSettings elementwise. The reference to the parameter axis might be preserved in the constructed object. The reference to the parameter xf might be preserved in the constructed object. The reference to the parameter progressCb might be preserved in the constructed object. Never returns null. Returns an instance allocated on the heap! Must call MR_FindOverhangsSettings_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_FindOverhangsSettings * MR_FindOverhangsSettings_ConstructFromAnother | ( | MR_PassBy | _other_pass_by, |
| MR_FindOverhangsSettings * | _other ) |
Generated from constructor MR::FindOverhangsSettings::FindOverhangsSettings. 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_FindOverhangsSettings_Destroy() to free it when you're done using it.
| MRC_API MR_FindOverhangsSettings * MR_FindOverhangsSettings_DefaultConstruct | ( | void | ) |
Constructs an empty (default-constructed) instance. Never returns null. Returns an instance allocated on the heap! Must call MR_FindOverhangsSettings_Destroy() to free it when you're done using it.
| MRC_API MR_FindOverhangsSettings * MR_FindOverhangsSettings_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_FindOverhangsSettings_DestroyArray(). Use MR_FindOverhangsSettings_OffsetMutablePtr() and MR_FindOverhangsSettings_OffsetPtr() to access the array elements.
| MRC_API void MR_FindOverhangsSettings_Destroy | ( | const MR_FindOverhangsSettings * | _this | ) |
Destroys a heap-allocated instance of MR_FindOverhangsSettings. Does nothing if the pointer is null.
| MRC_API void MR_FindOverhangsSettings_DestroyArray | ( | const MR_FindOverhangsSettings * | _this | ) |
Destroys a heap-allocated array of MR_FindOverhangsSettings. Does nothing if the pointer is null.
| MRC_API const MR_Vector3f * MR_FindOverhangsSettings_Get_axis | ( | const MR_FindOverhangsSettings * | _this | ) |
base axis marking the up direction Returns a pointer to a member variable of class MR::FindOverhangsSettings named axis. 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_FindOverhangsSettings_Get_hops | ( | const MR_FindOverhangsSettings * | _this | ) |
number of hops used to smooth out the overhang regions (0 - disable smoothing) Returns a pointer to a member variable of class MR::FindOverhangsSettings named hops. 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_FindOverhangsSettings_Get_layerHeight | ( | const MR_FindOverhangsSettings * | _this | ) |
height of a layer Returns a pointer to a member variable of class MR::FindOverhangsSettings named layerHeight. 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_FindOverhangsSettings_Get_maxOverhangDistance | ( | const MR_FindOverhangsSettings * | _this | ) |
maximum allowed overhang distance within a layer Returns a pointer to a member variable of class MR::FindOverhangsSettings named maxOverhangDistance. 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_bool_from_float * MR_FindOverhangsSettings_Get_progressCb | ( | const MR_FindOverhangsSettings * | _this | ) |
Returns a pointer to a member variable of class MR::FindOverhangsSettings named progressCb. 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_AffineXf3f *const * MR_FindOverhangsSettings_Get_xf | ( | const MR_FindOverhangsSettings * | _this | ) |
mesh transform Returns a pointer to a member variable of class MR::FindOverhangsSettings named xf. 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_Vector3f * MR_FindOverhangsSettings_GetMutable_axis | ( | MR_FindOverhangsSettings * | _this | ) |
base axis marking the up direction Returns a mutable pointer to a member variable of class MR::FindOverhangsSettings named axis. 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_FindOverhangsSettings_GetMutable_hops | ( | MR_FindOverhangsSettings * | _this | ) |
number of hops used to smooth out the overhang regions (0 - disable smoothing) Returns a mutable pointer to a member variable of class MR::FindOverhangsSettings named hops. 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_FindOverhangsSettings_GetMutable_layerHeight | ( | MR_FindOverhangsSettings * | _this | ) |
height of a layer Returns a mutable pointer to a member variable of class MR::FindOverhangsSettings named layerHeight. 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_FindOverhangsSettings_GetMutable_maxOverhangDistance | ( | MR_FindOverhangsSettings * | _this | ) |
maximum allowed overhang distance within a layer Returns a mutable pointer to a member variable of class MR::FindOverhangsSettings named maxOverhangDistance. 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_float * MR_FindOverhangsSettings_GetMutable_progressCb | ( | MR_FindOverhangsSettings * | _this | ) |
Returns a mutable pointer to a member variable of class MR::FindOverhangsSettings named progressCb. 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_AffineXf3f ** MR_FindOverhangsSettings_GetMutable_xf | ( | MR_FindOverhangsSettings * | _this | ) |
mesh transform Returns a mutable pointer to a member variable of class MR::FindOverhangsSettings named xf. 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_FindOverhangsSettings * MR_FindOverhangsSettings_OffsetMutablePtr | ( | MR_FindOverhangsSettings * | 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_FindOverhangsSettings * MR_FindOverhangsSettings_OffsetPtr | ( | const MR_FindOverhangsSettings * | 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_FindOverhangsSettings_Set_axis | ( | MR_FindOverhangsSettings * | _this, |
| MR_Vector3f | value ) |
base axis marking the up direction Modifies a member variable of class MR::FindOverhangsSettings named axis. 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 axis. When this function is called, this object will drop object references it had previously in axis.
| MRC_API void MR_FindOverhangsSettings_Set_hops | ( | MR_FindOverhangsSettings * | _this, |
| int | value ) |
number of hops used to smooth out the overhang regions (0 - disable smoothing) Modifies a member variable of class MR::FindOverhangsSettings named hops. 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 hops.
| MRC_API void MR_FindOverhangsSettings_Set_layerHeight | ( | MR_FindOverhangsSettings * | _this, |
| float | value ) |
height of a layer Modifies a member variable of class MR::FindOverhangsSettings named layerHeight. 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 layerHeight.
| MRC_API void MR_FindOverhangsSettings_Set_maxOverhangDistance | ( | MR_FindOverhangsSettings * | _this, |
| float | value ) |
maximum allowed overhang distance within a layer Modifies a member variable of class MR::FindOverhangsSettings named maxOverhangDistance. 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 maxOverhangDistance.
| MRC_API void MR_FindOverhangsSettings_Set_progressCb | ( | MR_FindOverhangsSettings * | _this, |
| MR_PassBy | value_pass_by, | ||
| MR_std_function_bool_from_float * | value ) |
Modifies a member variable of class MR::FindOverhangsSettings named progressCb. 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 progressCb. When this function is called, this object will drop object references it had previously in progressCb.
| MRC_API void MR_FindOverhangsSettings_Set_xf | ( | MR_FindOverhangsSettings * | _this, |
| const MR_AffineXf3f * | value ) |
mesh transform Modifies a member variable of class MR::FindOverhangsSettings named xf. 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 xf. When this function is called, this object will drop object references it had previously in xf.