#include <MRCMesh/MRRelaxParams.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_PointCloud | MR_PointCloud |
| typedef struct MR_RelaxParams | MR_RelaxParams |
| typedef struct MR_VertBitSet | MR_VertBitSet |
| typedef struct MR_std_function_bool_from_float | MR_std_function_bool_from_float |
| typedef struct MR_PointCloudRelaxParams | MR_PointCloudRelaxParams |
| typedef struct MR_PointCloudApproxRelaxParams | MR_PointCloudApproxRelaxParams |
| typedef struct MR_PointCloud MR_PointCloud |
| typedef struct MR_PointCloudApproxRelaxParams MR_PointCloudApproxRelaxParams |
Generated from class MR::PointCloudApproxRelaxParams. Base classes: Direct: (non-virtual) MR::PointCloudRelaxParams Indirect: (non-virtual) MR::RelaxParams 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_PointCloudRelaxParams MR_PointCloudRelaxParams |
Generated from class MR::PointCloudRelaxParams. Base classes: Direct: (non-virtual) MR::RelaxParams Derived classes: Direct: (non-virtual) MR::PointCloudApproxRelaxParams 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_RelaxParams MR_RelaxParams |
| typedef struct MR_std_function_bool_from_float MR_std_function_bool_from_float |
| typedef struct MR_VertBitSet MR_VertBitSet |
| MRC_API MR_PointCloudApproxRelaxParams * MR_PointCloudApproxRelaxParams_AssignFromAnother | ( | MR_PointCloudApproxRelaxParams * | _this, |
| const MR_PointCloudApproxRelaxParams * | _other ) |
Generated from method MR::PointCloudApproxRelaxParams::operator=. Parameter _this can not be null. It is a single object. Parameter _other can not be null. It is a single object. The reference to things referred to by the parameter _other (if any) might be preserved in this object. The returned pointer will never be null. It is non-owning, do NOT destroy it. When this function is called, this object will drop any object references it had previously.
| MRC_API MR_PointCloudApproxRelaxParams * MR_PointCloudApproxRelaxParams_ConstructFromAnother | ( | const MR_PointCloudApproxRelaxParams * | _other | ) |
Generated from constructor MR::PointCloudApproxRelaxParams::PointCloudApproxRelaxParams. 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_PointCloudApproxRelaxParams_Destroy() to free it when you're done using it.
| MRC_API MR_PointCloudApproxRelaxParams * MR_PointCloudApproxRelaxParams_DefaultConstruct | ( | void | ) |
Constructs an empty (default-constructed) instance. Never returns null. Returns an instance allocated on the heap! Must call MR_PointCloudApproxRelaxParams_Destroy() to free it when you're done using it.
| MRC_API MR_PointCloudApproxRelaxParams * MR_PointCloudApproxRelaxParams_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_PointCloudApproxRelaxParams_DestroyArray(). Use MR_PointCloudApproxRelaxParams_OffsetMutablePtr() and MR_PointCloudApproxRelaxParams_OffsetPtr() to access the array elements.
| MRC_API void MR_PointCloudApproxRelaxParams_Destroy | ( | const MR_PointCloudApproxRelaxParams * | _this | ) |
Destroys a heap-allocated instance of MR_PointCloudApproxRelaxParams. Does nothing if the pointer is null.
| MRC_API void MR_PointCloudApproxRelaxParams_DestroyArray | ( | const MR_PointCloudApproxRelaxParams * | _this | ) |
Destroys a heap-allocated array of MR_PointCloudApproxRelaxParams. Does nothing if the pointer is null.
| MRC_API const float * MR_PointCloudApproxRelaxParams_Get_force | ( | const MR_PointCloudApproxRelaxParams * | _this | ) |
speed of relaxing, typical values (0.0, 0.5] Returns a pointer to a member variable of class MR::PointCloudApproxRelaxParams named force. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
| MRC_API const int * MR_PointCloudApproxRelaxParams_Get_iterations | ( | const MR_PointCloudApproxRelaxParams * | _this | ) |
number of iterations Returns a pointer to a member variable of class MR::PointCloudApproxRelaxParams named iterations. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
| MRC_API const bool * MR_PointCloudApproxRelaxParams_Get_limitNearInitial | ( | const MR_PointCloudApproxRelaxParams * | _this | ) |
if true then maximal displacement of each point during denoising will be limited Returns a pointer to a member variable of class MR::PointCloudApproxRelaxParams named limitNearInitial. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
| MRC_API const float * MR_PointCloudApproxRelaxParams_Get_maxInitialDist | ( | const MR_PointCloudApproxRelaxParams * | _this | ) |
maximum distance between a point and its position before relaxation, ignored if limitNearInitial = false Returns a pointer to a member variable of class MR::PointCloudApproxRelaxParams named maxInitialDist. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
| MRC_API const float * MR_PointCloudApproxRelaxParams_Get_neighborhoodRadius | ( | const MR_PointCloudApproxRelaxParams * | _this | ) |
radius to find neighbors in, 0.0 - default, 0.1*boundibg box diagonal Returns a pointer to a member variable of class MR::PointCloudApproxRelaxParams named neighborhoodRadius. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
| MRC_API const MR_VertBitSet *const * MR_PointCloudApproxRelaxParams_Get_region | ( | const MR_PointCloudApproxRelaxParams * | _this | ) |
region to relax Returns a pointer to a member variable of class MR::PointCloudApproxRelaxParams named region. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
| MRC_API const MR_RelaxApproxType * MR_PointCloudApproxRelaxParams_Get_type | ( | const MR_PointCloudApproxRelaxParams * | _this | ) |
Returns a pointer to a member variable of class MR::PointCloudApproxRelaxParams named type. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
| MRC_API float * MR_PointCloudApproxRelaxParams_GetMutable_force | ( | MR_PointCloudApproxRelaxParams * | _this | ) |
speed of relaxing, typical values (0.0, 0.5] Returns a mutable pointer to a member variable of class MR::PointCloudApproxRelaxParams named force. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
| MRC_API int * MR_PointCloudApproxRelaxParams_GetMutable_iterations | ( | MR_PointCloudApproxRelaxParams * | _this | ) |
number of iterations Returns a mutable pointer to a member variable of class MR::PointCloudApproxRelaxParams named iterations. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
| MRC_API bool * MR_PointCloudApproxRelaxParams_GetMutable_limitNearInitial | ( | MR_PointCloudApproxRelaxParams * | _this | ) |
if true then maximal displacement of each point during denoising will be limited Returns a mutable pointer to a member variable of class MR::PointCloudApproxRelaxParams named limitNearInitial. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
| MRC_API float * MR_PointCloudApproxRelaxParams_GetMutable_maxInitialDist | ( | MR_PointCloudApproxRelaxParams * | _this | ) |
maximum distance between a point and its position before relaxation, ignored if limitNearInitial = false Returns a mutable pointer to a member variable of class MR::PointCloudApproxRelaxParams named maxInitialDist. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
| MRC_API float * MR_PointCloudApproxRelaxParams_GetMutable_neighborhoodRadius | ( | MR_PointCloudApproxRelaxParams * | _this | ) |
radius to find neighbors in, 0.0 - default, 0.1*boundibg box diagonal Returns a mutable pointer to a member variable of class MR::PointCloudApproxRelaxParams named neighborhoodRadius. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
| MRC_API const MR_VertBitSet ** MR_PointCloudApproxRelaxParams_GetMutable_region | ( | MR_PointCloudApproxRelaxParams * | _this | ) |
region to relax Returns a mutable pointer to a member variable of class MR::PointCloudApproxRelaxParams named region. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
| MRC_API MR_RelaxApproxType * MR_PointCloudApproxRelaxParams_GetMutable_type | ( | MR_PointCloudApproxRelaxParams * | _this | ) |
Returns a mutable pointer to a member variable of class MR::PointCloudApproxRelaxParams named type. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
| MRC_API MR_PointCloudRelaxParams * MR_PointCloudApproxRelaxParams_MutableUpcastTo_MR_PointCloudRelaxParams | ( | MR_PointCloudApproxRelaxParams * | object | ) |
Upcasts an instance of MR::PointCloudApproxRelaxParams to its base class MR::PointCloudRelaxParams.
| MRC_API MR_RelaxParams * MR_PointCloudApproxRelaxParams_MutableUpcastTo_MR_RelaxParams | ( | MR_PointCloudApproxRelaxParams * | object | ) |
Upcasts an instance of MR::PointCloudApproxRelaxParams to its base class MR::RelaxParams.
| MRC_API MR_PointCloudApproxRelaxParams * MR_PointCloudApproxRelaxParams_OffsetMutablePtr | ( | MR_PointCloudApproxRelaxParams * | 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_PointCloudApproxRelaxParams * MR_PointCloudApproxRelaxParams_OffsetPtr | ( | const MR_PointCloudApproxRelaxParams * | 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_PointCloudApproxRelaxParams_Set_force | ( | MR_PointCloudApproxRelaxParams * | _this, |
| float | value ) |
speed of relaxing, typical values (0.0, 0.5] Modifies a member variable of class MR::PointCloudApproxRelaxParams named force. 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 force.
| MRC_API void MR_PointCloudApproxRelaxParams_Set_iterations | ( | MR_PointCloudApproxRelaxParams * | _this, |
| int | value ) |
number of iterations Modifies a member variable of class MR::PointCloudApproxRelaxParams named iterations. 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 iterations.
| MRC_API void MR_PointCloudApproxRelaxParams_Set_limitNearInitial | ( | MR_PointCloudApproxRelaxParams * | _this, |
| bool | value ) |
if true then maximal displacement of each point during denoising will be limited Modifies a member variable of class MR::PointCloudApproxRelaxParams named limitNearInitial. 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 limitNearInitial.
| MRC_API void MR_PointCloudApproxRelaxParams_Set_maxInitialDist | ( | MR_PointCloudApproxRelaxParams * | _this, |
| float | value ) |
maximum distance between a point and its position before relaxation, ignored if limitNearInitial = false Modifies a member variable of class MR::PointCloudApproxRelaxParams named maxInitialDist. 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 maxInitialDist.
| MRC_API void MR_PointCloudApproxRelaxParams_Set_neighborhoodRadius | ( | MR_PointCloudApproxRelaxParams * | _this, |
| float | value ) |
radius to find neighbors in, 0.0 - default, 0.1*boundibg box diagonal Modifies a member variable of class MR::PointCloudApproxRelaxParams named neighborhoodRadius. 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 neighborhoodRadius.
| MRC_API void MR_PointCloudApproxRelaxParams_Set_region | ( | MR_PointCloudApproxRelaxParams * | _this, |
| const MR_VertBitSet * | value ) |
region to relax Modifies a member variable of class MR::PointCloudApproxRelaxParams named region. Parameter _this can not be null. It is a single object. The reference to the parameter value might be preserved in this object in element region. When this function is called, this object will drop object references it had previously in region.
| MRC_API void MR_PointCloudApproxRelaxParams_Set_type | ( | MR_PointCloudApproxRelaxParams * | _this, |
| MR_RelaxApproxType | value ) |
Modifies a member variable of class MR::PointCloudApproxRelaxParams named type. 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 type. When this function is called, this object will drop object references it had previously in type.
| MRC_API const MR_PointCloudRelaxParams * MR_PointCloudApproxRelaxParams_UpcastTo_MR_PointCloudRelaxParams | ( | const MR_PointCloudApproxRelaxParams * | object | ) |
Upcasts an instance of MR::PointCloudApproxRelaxParams to its base class MR::PointCloudRelaxParams. This version is acting on mutable pointers.
| MRC_API const MR_RelaxParams * MR_PointCloudApproxRelaxParams_UpcastTo_MR_RelaxParams | ( | const MR_PointCloudApproxRelaxParams * | object | ) |
Upcasts an instance of MR::PointCloudApproxRelaxParams to its base class MR::RelaxParams. This version is acting on mutable pointers.
| MRC_API MR_PointCloudRelaxParams * MR_PointCloudRelaxParams_AssignFromAnother | ( | MR_PointCloudRelaxParams * | _this, |
| const MR_PointCloudRelaxParams * | _other ) |
Generated from method MR::PointCloudRelaxParams::operator=. Parameter _this can not be null. It is a single object. Parameter _other can not be null. It is a single object. The reference to things referred to by the parameter _other (if any) might be preserved in this object. The returned pointer will never be null. It is non-owning, do NOT destroy it. When this function is called, this object will drop any object references it had previously.
| MRC_API MR_PointCloudRelaxParams * MR_PointCloudRelaxParams_ConstructFromAnother | ( | const MR_PointCloudRelaxParams * | _other | ) |
Generated from constructor MR::PointCloudRelaxParams::PointCloudRelaxParams. 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_PointCloudRelaxParams_Destroy() to free it when you're done using it.
| MRC_API MR_PointCloudRelaxParams * MR_PointCloudRelaxParams_DefaultConstruct | ( | void | ) |
Constructs an empty (default-constructed) instance. Never returns null. Returns an instance allocated on the heap! Must call MR_PointCloudRelaxParams_Destroy() to free it when you're done using it.
| MRC_API MR_PointCloudRelaxParams * MR_PointCloudRelaxParams_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_PointCloudRelaxParams_DestroyArray(). Use MR_PointCloudRelaxParams_OffsetMutablePtr() and MR_PointCloudRelaxParams_OffsetPtr() to access the array elements.
| MRC_API void MR_PointCloudRelaxParams_Destroy | ( | const MR_PointCloudRelaxParams * | _this | ) |
Destroys a heap-allocated instance of MR_PointCloudRelaxParams. Does nothing if the pointer is null.
| MRC_API void MR_PointCloudRelaxParams_DestroyArray | ( | const MR_PointCloudRelaxParams * | _this | ) |
Destroys a heap-allocated array of MR_PointCloudRelaxParams. Does nothing if the pointer is null.
| MRC_API const float * MR_PointCloudRelaxParams_Get_force | ( | const MR_PointCloudRelaxParams * | _this | ) |
speed of relaxing, typical values (0.0, 0.5] Returns a pointer to a member variable of class MR::PointCloudRelaxParams named force. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
| MRC_API const int * MR_PointCloudRelaxParams_Get_iterations | ( | const MR_PointCloudRelaxParams * | _this | ) |
number of iterations Returns a pointer to a member variable of class MR::PointCloudRelaxParams named iterations. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
| MRC_API const bool * MR_PointCloudRelaxParams_Get_limitNearInitial | ( | const MR_PointCloudRelaxParams * | _this | ) |
if true then maximal displacement of each point during denoising will be limited Returns a pointer to a member variable of class MR::PointCloudRelaxParams named limitNearInitial. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
| MRC_API const float * MR_PointCloudRelaxParams_Get_maxInitialDist | ( | const MR_PointCloudRelaxParams * | _this | ) |
maximum distance between a point and its position before relaxation, ignored if limitNearInitial = false Returns a pointer to a member variable of class MR::PointCloudRelaxParams named maxInitialDist. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
| MRC_API const float * MR_PointCloudRelaxParams_Get_neighborhoodRadius | ( | const MR_PointCloudRelaxParams * | _this | ) |
radius to find neighbors in, 0.0 - default, 0.1*boundibg box diagonal Returns a pointer to a member variable of class MR::PointCloudRelaxParams named neighborhoodRadius. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
| MRC_API const MR_VertBitSet *const * MR_PointCloudRelaxParams_Get_region | ( | const MR_PointCloudRelaxParams * | _this | ) |
region to relax Returns a pointer to a member variable of class MR::PointCloudRelaxParams named region. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
| MRC_API float * MR_PointCloudRelaxParams_GetMutable_force | ( | MR_PointCloudRelaxParams * | _this | ) |
speed of relaxing, typical values (0.0, 0.5] Returns a mutable pointer to a member variable of class MR::PointCloudRelaxParams named force. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
| MRC_API int * MR_PointCloudRelaxParams_GetMutable_iterations | ( | MR_PointCloudRelaxParams * | _this | ) |
number of iterations Returns a mutable pointer to a member variable of class MR::PointCloudRelaxParams named iterations. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
| MRC_API bool * MR_PointCloudRelaxParams_GetMutable_limitNearInitial | ( | MR_PointCloudRelaxParams * | _this | ) |
if true then maximal displacement of each point during denoising will be limited Returns a mutable pointer to a member variable of class MR::PointCloudRelaxParams named limitNearInitial. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
| MRC_API float * MR_PointCloudRelaxParams_GetMutable_maxInitialDist | ( | MR_PointCloudRelaxParams * | _this | ) |
maximum distance between a point and its position before relaxation, ignored if limitNearInitial = false Returns a mutable pointer to a member variable of class MR::PointCloudRelaxParams named maxInitialDist. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
| MRC_API float * MR_PointCloudRelaxParams_GetMutable_neighborhoodRadius | ( | MR_PointCloudRelaxParams * | _this | ) |
radius to find neighbors in, 0.0 - default, 0.1*boundibg box diagonal Returns a mutable pointer to a member variable of class MR::PointCloudRelaxParams named neighborhoodRadius. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
| MRC_API const MR_VertBitSet ** MR_PointCloudRelaxParams_GetMutable_region | ( | MR_PointCloudRelaxParams * | _this | ) |
region to relax Returns a mutable pointer to a member variable of class MR::PointCloudRelaxParams named region. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
| MRC_API MR_PointCloudApproxRelaxParams * MR_PointCloudRelaxParams_MutableStaticDowncastTo_MR_PointCloudApproxRelaxParams | ( | MR_PointCloudRelaxParams * | object | ) |
Downcasts an instance of MR::PointCloudRelaxParams to a derived class MR::PointCloudApproxRelaxParams. This is a static downcast, it trusts the programmer that the target type is correct. Results in UB and returns an invalid pointer otherwise.
| MRC_API MR_RelaxParams * MR_PointCloudRelaxParams_MutableUpcastTo_MR_RelaxParams | ( | MR_PointCloudRelaxParams * | object | ) |
Upcasts an instance of MR::PointCloudRelaxParams to its base class MR::RelaxParams.
| MRC_API MR_PointCloudRelaxParams * MR_PointCloudRelaxParams_OffsetMutablePtr | ( | MR_PointCloudRelaxParams * | 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_PointCloudRelaxParams * MR_PointCloudRelaxParams_OffsetPtr | ( | const MR_PointCloudRelaxParams * | 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_PointCloudRelaxParams_Set_force | ( | MR_PointCloudRelaxParams * | _this, |
| float | value ) |
speed of relaxing, typical values (0.0, 0.5] Modifies a member variable of class MR::PointCloudRelaxParams named force. 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 force.
| MRC_API void MR_PointCloudRelaxParams_Set_iterations | ( | MR_PointCloudRelaxParams * | _this, |
| int | value ) |
number of iterations Modifies a member variable of class MR::PointCloudRelaxParams named iterations. 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 iterations.
| MRC_API void MR_PointCloudRelaxParams_Set_limitNearInitial | ( | MR_PointCloudRelaxParams * | _this, |
| bool | value ) |
if true then maximal displacement of each point during denoising will be limited Modifies a member variable of class MR::PointCloudRelaxParams named limitNearInitial. 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 limitNearInitial.
| MRC_API void MR_PointCloudRelaxParams_Set_maxInitialDist | ( | MR_PointCloudRelaxParams * | _this, |
| float | value ) |
maximum distance between a point and its position before relaxation, ignored if limitNearInitial = false Modifies a member variable of class MR::PointCloudRelaxParams named maxInitialDist. 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 maxInitialDist.
| MRC_API void MR_PointCloudRelaxParams_Set_neighborhoodRadius | ( | MR_PointCloudRelaxParams * | _this, |
| float | value ) |
radius to find neighbors in, 0.0 - default, 0.1*boundibg box diagonal Modifies a member variable of class MR::PointCloudRelaxParams named neighborhoodRadius. 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 neighborhoodRadius.
| MRC_API void MR_PointCloudRelaxParams_Set_region | ( | MR_PointCloudRelaxParams * | _this, |
| const MR_VertBitSet * | value ) |
region to relax Modifies a member variable of class MR::PointCloudRelaxParams named region. Parameter _this can not be null. It is a single object. The reference to the parameter value might be preserved in this object in element region. When this function is called, this object will drop object references it had previously in region.
| MRC_API const MR_PointCloudApproxRelaxParams * MR_PointCloudRelaxParams_StaticDowncastTo_MR_PointCloudApproxRelaxParams | ( | const MR_PointCloudRelaxParams * | object | ) |
Downcasts an instance of MR::PointCloudRelaxParams to a derived class MR::PointCloudApproxRelaxParams. This is a static downcast, it trusts the programmer that the target type is correct. Results in UB and returns an invalid pointer otherwise. This version is acting on mutable pointers.
| MRC_API const MR_RelaxParams * MR_PointCloudRelaxParams_UpcastTo_MR_RelaxParams | ( | const MR_PointCloudRelaxParams * | object | ) |
Upcasts an instance of MR::PointCloudRelaxParams to its base class MR::RelaxParams. This version is acting on mutable pointers.
| MRC_API bool MR_relax_3_MR_PointCloud | ( | MR_PointCloud * | pointCloud, |
| const MR_PointCloudRelaxParams * | params, | ||
| MR_PassBy | cb_pass_by, | ||
| MR_std_function_bool_from_float * | cb ) |
applies given number of relaxation iterations to the whole pointCloud ( or some region if it is specified )
MR::relax. Parameter pointCloud can not be null. It is a single object. Parameter params is a single object. Parameter params has a default argument: {}, pass a null pointer to use it. Parameter cb has a default argument: {}, pass MR_PassBy_DefaultArgument and a null pointer to use it. | MRC_API bool MR_relaxApprox_3_MR_PointCloud | ( | MR_PointCloud * | pointCloud, |
| const MR_PointCloudApproxRelaxParams * | params, | ||
| MR_PassBy | cb_pass_by, | ||
| MR_std_function_bool_from_float * | cb ) |
applies given number of relaxation iterations to the whole pointCloud ( or some region if it is specified ) approx neighborhoods
MR::relaxApprox. Parameter pointCloud can not be null. It is a single object. Parameter params is a single object. Parameter params has a default argument: {}, pass a null pointer to use it. Parameter cb has a default argument: {}, pass MR_PassBy_DefaultArgument and a null pointer to use it. | MRC_API bool MR_relaxKeepVolume_3_MR_PointCloud | ( | MR_PointCloud * | pointCloud, |
| const MR_PointCloudRelaxParams * | params, | ||
| MR_PassBy | cb_pass_by, | ||
| MR_std_function_bool_from_float * | cb ) |
applies given number of relaxation iterations to the whole pointCloud ( or some region if it is specified ) do not really keeps volume but tries hard
MR::relaxKeepVolume. Parameter pointCloud can not be null. It is a single object. Parameter params is a single object. Parameter params has a default argument: {}, pass a null pointer to use it. Parameter cb has a default argument: {}, pass MR_PassBy_DefaultArgument and a null pointer to use it.