#include <MRCMisc/common.h>
#include <MRCMisc/exports.h>
#include <stdbool.h>
#include <stddef.h>
Go to the source code of this file.
|
| MRC_API const bool * | MR_SelfIntersections_Settings_Get_touchIsIntersection (const MR_SelfIntersections_Settings *_this) |
| |
| MRC_API void | MR_SelfIntersections_Settings_Set_touchIsIntersection (MR_SelfIntersections_Settings *_this, bool value) |
| |
| MRC_API bool * | MR_SelfIntersections_Settings_GetMutable_touchIsIntersection (MR_SelfIntersections_Settings *_this) |
| |
| MRC_API const MR_SelfIntersections_Settings_Method * | MR_SelfIntersections_Settings_Get_method (const MR_SelfIntersections_Settings *_this) |
| |
| MRC_API void | MR_SelfIntersections_Settings_Set_method (MR_SelfIntersections_Settings *_this, MR_SelfIntersections_Settings_Method value) |
| |
| MRC_API MR_SelfIntersections_Settings_Method * | MR_SelfIntersections_Settings_GetMutable_method (MR_SelfIntersections_Settings *_this) |
| |
| MRC_API const int * | MR_SelfIntersections_Settings_Get_relaxIterations (const MR_SelfIntersections_Settings *_this) |
| |
| MRC_API void | MR_SelfIntersections_Settings_Set_relaxIterations (MR_SelfIntersections_Settings *_this, int value) |
| |
| MRC_API int * | MR_SelfIntersections_Settings_GetMutable_relaxIterations (MR_SelfIntersections_Settings *_this) |
| |
| MRC_API const int * | MR_SelfIntersections_Settings_Get_maxExpand (const MR_SelfIntersections_Settings *_this) |
| |
| MRC_API void | MR_SelfIntersections_Settings_Set_maxExpand (MR_SelfIntersections_Settings *_this, int value) |
| |
| MRC_API int * | MR_SelfIntersections_Settings_GetMutable_maxExpand (MR_SelfIntersections_Settings *_this) |
| |
| MRC_API const float * | MR_SelfIntersections_Settings_Get_subdivideEdgeLen (const MR_SelfIntersections_Settings *_this) |
| |
| MRC_API void | MR_SelfIntersections_Settings_Set_subdivideEdgeLen (MR_SelfIntersections_Settings *_this, float value) |
| |
| MRC_API float * | MR_SelfIntersections_Settings_GetMutable_subdivideEdgeLen (MR_SelfIntersections_Settings *_this) |
| |
| MRC_API const MR_std_function_bool_from_float * | MR_SelfIntersections_Settings_Get_callback (const MR_SelfIntersections_Settings *_this) |
| |
| MRC_API void | MR_SelfIntersections_Settings_Set_callback (MR_SelfIntersections_Settings *_this, MR_PassBy value_pass_by, MR_std_function_bool_from_float *value) |
| |
| MRC_API MR_std_function_bool_from_float * | MR_SelfIntersections_Settings_GetMutable_callback (MR_SelfIntersections_Settings *_this) |
| |
| MRC_API MR_SelfIntersections_Settings * | MR_SelfIntersections_Settings_DefaultConstruct (void) |
| |
| MRC_API MR_SelfIntersections_Settings * | MR_SelfIntersections_Settings_DefaultConstructArray (size_t num_elems) |
| |
| MRC_API MR_SelfIntersections_Settings * | MR_SelfIntersections_Settings_ConstructFrom (bool touchIsIntersection, MR_SelfIntersections_Settings_Method method, int relaxIterations, int maxExpand, float subdivideEdgeLen, MR_PassBy callback_pass_by, MR_std_function_bool_from_float *callback) |
| |
| MRC_API const MR_SelfIntersections_Settings * | MR_SelfIntersections_Settings_OffsetPtr (const MR_SelfIntersections_Settings *ptr, ptrdiff_t i) |
| |
| MRC_API MR_SelfIntersections_Settings * | MR_SelfIntersections_Settings_OffsetMutablePtr (MR_SelfIntersections_Settings *ptr, ptrdiff_t i) |
| |
| MRC_API MR_SelfIntersections_Settings * | MR_SelfIntersections_Settings_ConstructFromAnother (MR_PassBy _other_pass_by, MR_SelfIntersections_Settings *_other) |
| |
| MRC_API void | MR_SelfIntersections_Settings_Destroy (const MR_SelfIntersections_Settings *_this) |
| | Destroys a heap-allocated instance of MR_SelfIntersections_Settings. Does nothing if the pointer is null.
|
| |
| MRC_API void | MR_SelfIntersections_Settings_DestroyArray (const MR_SelfIntersections_Settings *_this) |
| | Destroys a heap-allocated array of MR_SelfIntersections_Settings. Does nothing if the pointer is null.
|
| |
| MRC_API MR_SelfIntersections_Settings * | MR_SelfIntersections_Settings_AssignFromAnother (MR_SelfIntersections_Settings *_this, MR_PassBy _other_pass_by, MR_SelfIntersections_Settings *_other) |
| |
| MRC_API MR_expected_MR_FaceBitSet_std_string * | MR_SelfIntersections_getFaces (const MR_Mesh *mesh, const bool *touchIsIntersection, MR_PassBy cb_pass_by, MR_std_function_bool_from_float *cb) |
| |
| MRC_API MR_expected_void_std_string * | MR_SelfIntersections_fix (MR_Mesh *mesh, const MR_SelfIntersections_Settings *settings) |
| |
◆ MR_expected_MR_FaceBitSet_std_string
◆ MR_expected_void_std_string
◆ MR_Mesh
◆ MR_SelfIntersections_Settings
Setting set for mesh self-intersections fix Generated from class MR::SelfIntersections::Settings. 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_SelfIntersections_Settings_Method
◆ MR_std_function_bool_from_float
◆ MR_SelfIntersections_Settings_Method
Fix method.
| Enumerator |
|---|
| MR_SelfIntersections_Settings_Method_Relax | Relax mesh around self-intersections.
|
| MR_SelfIntersections_Settings_Method_CutAndFill | Cut and re-fill regions around self-intersections (may fall back to Relax)
|
◆ MR_SelfIntersections_fix()
Finds and fixes self-intersections per component: Generated from function MR::SelfIntersections::fix. 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_void_std_string_Destroy() to free it when you're done using it.
◆ MR_SelfIntersections_getFaces()
Find all self-intersections faces component-wise Generated from function MR::SelfIntersections::getFaces. Parameter mesh can not be null. It is a single object. Parameter touchIsIntersection has a default argument: true, pass a null pointer to use it. Parameter cb has a default argument: {}, pass MR_PassBy_DefaultArgument and a null pointer to use it. Never returns null. Returns an instance allocated on the heap! Must call MR_expected_MR_FaceBitSet_std_string_Destroy() to free it when you're done using it.
◆ MR_SelfIntersections_Settings_AssignFromAnother()
Generated from method MR::SelfIntersections::Settings::operator=. Parameter _this can not be null. It is a single object. The reference to things referred to by the parameter _other (if any) might be preserved in this object. The returned pointer will never be null. It is non-owning, do NOT destroy it. When this function is called, this object will drop any object references it had previously.
◆ MR_SelfIntersections_Settings_ConstructFrom()
Constructs MR::SelfIntersections::Settings elementwise. The reference to the parameter method might be preserved in the constructed object. The reference to the parameter callback might be preserved in the constructed object. Never returns null. Returns an instance allocated on the heap! Must call MR_SelfIntersections_Settings_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.
◆ MR_SelfIntersections_Settings_ConstructFromAnother()
◆ MR_SelfIntersections_Settings_DefaultConstruct()
Constructs an empty (default-constructed) instance. Never returns null. Returns an instance allocated on the heap! Must call MR_SelfIntersections_Settings_Destroy() to free it when you're done using it.
◆ MR_SelfIntersections_Settings_DefaultConstructArray()
◆ MR_SelfIntersections_Settings_Destroy()
Destroys a heap-allocated instance of MR_SelfIntersections_Settings. Does nothing if the pointer is null.
◆ MR_SelfIntersections_Settings_DestroyArray()
Destroys a heap-allocated array of MR_SelfIntersections_Settings. Does nothing if the pointer is null.
◆ MR_SelfIntersections_Settings_Get_callback()
Callback function Returns a pointer to a member variable of class MR::SelfIntersections::Settings named callback. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
◆ MR_SelfIntersections_Settings_Get_maxExpand()
Maximum expand count (edge steps from self-intersecting faces), should be > 0 Returns a pointer to a member variable of class MR::SelfIntersections::Settings named maxExpand. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
◆ MR_SelfIntersections_Settings_Get_method()
Returns a pointer to a member variable of class MR::SelfIntersections::Settings named method. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
◆ MR_SelfIntersections_Settings_Get_relaxIterations()
Maximum relax iterations Returns a pointer to a member variable of class MR::SelfIntersections::Settings named relaxIterations. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
◆ MR_SelfIntersections_Settings_Get_subdivideEdgeLen()
Edge length for subdivision of holes covers (0.0f means auto) FLT_MAX to disable subdivision Returns a pointer to a member variable of class MR::SelfIntersections::Settings named subdivideEdgeLen. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
◆ MR_SelfIntersections_Settings_Get_touchIsIntersection()
If true then count touching faces as self-intersections Returns a pointer to a member variable of class MR::SelfIntersections::Settings named touchIsIntersection. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
◆ MR_SelfIntersections_Settings_GetMutable_callback()
Callback function Returns a mutable pointer to a member variable of class MR::SelfIntersections::Settings named callback. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
◆ MR_SelfIntersections_Settings_GetMutable_maxExpand()
Maximum expand count (edge steps from self-intersecting faces), should be > 0 Returns a mutable pointer to a member variable of class MR::SelfIntersections::Settings named maxExpand. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
◆ MR_SelfIntersections_Settings_GetMutable_method()
Returns a mutable pointer to a member variable of class MR::SelfIntersections::Settings named method. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
◆ MR_SelfIntersections_Settings_GetMutable_relaxIterations()
Maximum relax iterations Returns a mutable pointer to a member variable of class MR::SelfIntersections::Settings named relaxIterations. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
◆ MR_SelfIntersections_Settings_GetMutable_subdivideEdgeLen()
Edge length for subdivision of holes covers (0.0f means auto) FLT_MAX to disable subdivision Returns a mutable pointer to a member variable of class MR::SelfIntersections::Settings named subdivideEdgeLen. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
◆ MR_SelfIntersections_Settings_GetMutable_touchIsIntersection()
If true then count touching faces as self-intersections Returns a mutable pointer to a member variable of class MR::SelfIntersections::Settings named touchIsIntersection. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
◆ MR_SelfIntersections_Settings_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_SelfIntersections_Settings_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_SelfIntersections_Settings_Set_callback()
Callback function Modifies a member variable of class MR::SelfIntersections::Settings named callback. 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 callback. When this function is called, this object will drop object references it had previously in callback.
◆ MR_SelfIntersections_Settings_Set_maxExpand()
Maximum expand count (edge steps from self-intersecting faces), should be > 0 Modifies a member variable of class MR::SelfIntersections::Settings named maxExpand. 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 maxExpand.
◆ MR_SelfIntersections_Settings_Set_method()
Modifies a member variable of class MR::SelfIntersections::Settings named method. 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 method. When this function is called, this object will drop object references it had previously in method.
◆ MR_SelfIntersections_Settings_Set_relaxIterations()
Maximum relax iterations Modifies a member variable of class MR::SelfIntersections::Settings named relaxIterations. 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 relaxIterations.
◆ MR_SelfIntersections_Settings_Set_subdivideEdgeLen()
Edge length for subdivision of holes covers (0.0f means auto) FLT_MAX to disable subdivision Modifies a member variable of class MR::SelfIntersections::Settings named subdivideEdgeLen. 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 subdivideEdgeLen.
◆ MR_SelfIntersections_Settings_Set_touchIsIntersection()
If true then count touching faces as self-intersections Modifies a member variable of class MR::SelfIntersections::Settings named touchIsIntersection. 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 touchIsIntersection.