#include <MRCMesh/MRVector3.h>
#include <MRCMisc/common.h>
#include <MRCMisc/exports.h>
#include <stddef.h>
Go to the source code of this file.
|
| MRC_API const MR_Vector3f * | MR_FindOverhangsSettings_Get_axis (const MR_FindOverhangsSettings *_this) |
| MRC_API void | MR_FindOverhangsSettings_Set_axis (MR_FindOverhangsSettings *_this, MR_Vector3f value) |
| MRC_API MR_Vector3f * | MR_FindOverhangsSettings_GetMutable_axis (MR_FindOverhangsSettings *_this) |
| MRC_API const float * | MR_FindOverhangsSettings_Get_layerHeight (const MR_FindOverhangsSettings *_this) |
| MRC_API void | MR_FindOverhangsSettings_Set_layerHeight (MR_FindOverhangsSettings *_this, float value) |
| MRC_API float * | MR_FindOverhangsSettings_GetMutable_layerHeight (MR_FindOverhangsSettings *_this) |
| MRC_API const float * | MR_FindOverhangsSettings_Get_maxOverhangDistance (const MR_FindOverhangsSettings *_this) |
| MRC_API void | MR_FindOverhangsSettings_Set_maxOverhangDistance (MR_FindOverhangsSettings *_this, float value) |
| MRC_API float * | MR_FindOverhangsSettings_GetMutable_maxOverhangDistance (MR_FindOverhangsSettings *_this) |
| MRC_API const int * | MR_FindOverhangsSettings_Get_hops (const MR_FindOverhangsSettings *_this) |
| MRC_API void | MR_FindOverhangsSettings_Set_hops (MR_FindOverhangsSettings *_this, int value) |
| MRC_API int * | MR_FindOverhangsSettings_GetMutable_hops (MR_FindOverhangsSettings *_this) |
| MRC_API const MR_AffineXf3f *const * | MR_FindOverhangsSettings_Get_xf (const MR_FindOverhangsSettings *_this) |
| MRC_API void | MR_FindOverhangsSettings_Set_xf (MR_FindOverhangsSettings *_this, const MR_AffineXf3f *value) |
| MRC_API const MR_AffineXf3f ** | MR_FindOverhangsSettings_GetMutable_xf (MR_FindOverhangsSettings *_this) |
| MRC_API const MR_std_function_bool_from_float * | MR_FindOverhangsSettings_Get_progressCb (const MR_FindOverhangsSettings *_this) |
| MRC_API void | MR_FindOverhangsSettings_Set_progressCb (MR_FindOverhangsSettings *_this, MR_PassBy value_pass_by, MR_std_function_bool_from_float *value) |
| MRC_API MR_std_function_bool_from_float * | MR_FindOverhangsSettings_GetMutable_progressCb (MR_FindOverhangsSettings *_this) |
| MRC_API MR_FindOverhangsSettings * | MR_FindOverhangsSettings_DefaultConstruct (void) |
| MRC_API MR_FindOverhangsSettings * | MR_FindOverhangsSettings_DefaultConstructArray (size_t num_elems) |
| 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) |
| MRC_API const MR_FindOverhangsSettings * | MR_FindOverhangsSettings_OffsetPtr (const MR_FindOverhangsSettings *ptr, ptrdiff_t i) |
| MRC_API MR_FindOverhangsSettings * | MR_FindOverhangsSettings_OffsetMutablePtr (MR_FindOverhangsSettings *ptr, ptrdiff_t i) |
| MRC_API MR_FindOverhangsSettings * | MR_FindOverhangsSettings_ConstructFromAnother (MR_PassBy _other_pass_by, MR_FindOverhangsSettings *_other) |
| 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 MR_FindOverhangsSettings * | MR_FindOverhangsSettings_AssignFromAnother (MR_FindOverhangsSettings *_this, MR_PassBy _other_pass_by, MR_FindOverhangsSettings *_other) |
| 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.
|
◆ MR_expected_std_vector_MR_FaceBitSet_std_string
Stores either a std::vector<MR::FaceBitSet> that represents success or a std::string that represents an error. Supported MR_PassBy modes: MR_PassBy_DefaultConstruct, MR_PassBy_Copy, MR_PassBy_Move (and MR_PassBy_DefaultArgument and MR_PassBy_NoObject if supported by the callee).
◆ MR_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).
◆ MR_findOverhangs()
Find face regions that might create overhangs.
- Parameters
-
| mesh | - source mesh |
| settings | - parameters |
- Returns
- face regions Generated from function 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.
◆ MR_FindOverhangsSettings_AssignFromAnother()
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 held previously.
◆ MR_FindOverhangsSettings_ConstructFrom()
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 held previously.
◆ MR_FindOverhangsSettings_ConstructFromAnother()
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.
◆ MR_FindOverhangsSettings_DefaultConstruct()
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.
◆ MR_FindOverhangsSettings_DefaultConstructArray()
◆ MR_FindOverhangsSettings_Destroy()
◆ MR_FindOverhangsSettings_DestroyArray()
◆ MR_FindOverhangsSettings_Get_axis()
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.
◆ MR_FindOverhangsSettings_Get_hops()
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.
◆ MR_FindOverhangsSettings_Get_layerHeight()
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.
◆ MR_FindOverhangsSettings_Get_maxOverhangDistance()
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.
◆ MR_FindOverhangsSettings_Get_progressCb()
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.
◆ MR_FindOverhangsSettings_Get_xf()
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.
◆ MR_FindOverhangsSettings_GetMutable_axis()
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.
◆ MR_FindOverhangsSettings_GetMutable_hops()
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.
◆ MR_FindOverhangsSettings_GetMutable_layerHeight()
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.
◆ MR_FindOverhangsSettings_GetMutable_maxOverhangDistance()
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.
◆ MR_FindOverhangsSettings_GetMutable_progressCb()
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.
◆ MR_FindOverhangsSettings_GetMutable_xf()
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.
◆ MR_FindOverhangsSettings_OffsetMutablePtr()
Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the pointer points to an array element. The reference to the parameter ptr might be preserved in the return value.
◆ MR_FindOverhangsSettings_OffsetPtr()
Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the pointer points to an array element. The reference to the parameter ptr might be preserved in the return value.
◆ MR_FindOverhangsSettings_Set_axis()
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 held previously in axis.
◆ MR_FindOverhangsSettings_Set_hops()
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 held previously in hops.
◆ MR_FindOverhangsSettings_Set_layerHeight()
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 held previously in layerHeight.
◆ MR_FindOverhangsSettings_Set_maxOverhangDistance()
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 held previously in maxOverhangDistance.
◆ MR_FindOverhangsSettings_Set_progressCb()
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 held previously in progressCb.
◆ MR_FindOverhangsSettings_Set_xf()
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 held previously in xf.