Go to the source code of this file.
Typedefs | |
| typedef struct MR_PointsToMeshParameters | MR_PointsToMeshParameters |
| typedef struct MR_PointsToMeshParameters MR_PointsToMeshParameters |
Generated from class MR::PointsToMeshParameters. 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 MR_expected_MR_Mesh_std_string * MR_pointsToMeshFusion | ( | const MR_PointCloud * | cloud, |
| const MR_PointsToMeshParameters * | params ) |
makes mesh from points with normals by constructing intermediate volume with signed distances and then using marching cubes algorithm to extract the surface from there Generated from function MR::pointsToMeshFusion. Parameter cloud can not be null. It is a single object. Parameter params can not be null. It is a single object. Never returns null. Returns an instance allocated on the heap! Must call MR_expected_MR_Mesh_std_string_Destroy() to free it when you're done using it.
| MRC_API MR_PointsToMeshParameters * MR_PointsToMeshParameters_AssignFromAnother | ( | MR_PointsToMeshParameters * | _this, |
| MR_PassBy | _other_pass_by, | ||
| MR_PointsToMeshParameters * | _other ) |
Generated from method MR::PointsToMeshParameters::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_PointsToMeshParameters * MR_PointsToMeshParameters_ConstructFrom | ( | float | sigma, |
| float | minWeight, | ||
| float | invSigmaModifier, | ||
| bool | sqrtAngleWeight, | ||
| float | voxelSize, | ||
| const MR_VertColors * | ptColors, | ||
| MR_VertColors * | vColors, | ||
| MR_PassBy | progress_pass_by, | ||
| MR_std_function_bool_from_float * | progress, | ||
| MR_PassBy | createVolumeCallbackByParts_pass_by, | ||
| MR_std_function_expected_void_std_string_from_const_MR_PointCloud_ref_const_MR_PointsToDistanceVolumeParams_ref_std_function_expected_void_std_string_func_from_const_MR_SimpleVolumeMinMax_ref_int_int * | createVolumeCallbackByParts, | ||
| MR_PassBy | createVolumeCallback_pass_by, | ||
| MR_std_function_expected_MR_SimpleVolumeMinMax_std_string_from_const_MR_PointCloud_ref_const_MR_PointsToDistanceVolumeParams_ref * | createVolumeCallback, | ||
| MR_PassBy | canCreateVolume_pass_by, | ||
| MR_std_function_bool_from_const_MR_PointCloud_ref_const_MR_PointsToDistanceVolumeParams_ref * | canCreateVolume ) |
Constructs MR::PointsToMeshParameters elementwise. The reference to the parameter ptColors might be preserved in the constructed object. The reference to the parameter vColors might be preserved in the constructed object. The reference to the parameter progress might be preserved in the constructed object. The reference to the parameter createVolumeCallbackByParts might be preserved in the constructed object. The reference to the parameter createVolumeCallback might be preserved in the constructed object. The reference to the parameter canCreateVolume might be preserved in the constructed object. Never returns null. Returns an instance allocated on the heap! Must call MR_PointsToMeshParameters_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_PointsToMeshParameters * MR_PointsToMeshParameters_ConstructFromAnother | ( | MR_PassBy | _other_pass_by, |
| MR_PointsToMeshParameters * | _other ) |
Generated from constructor MR::PointsToMeshParameters::PointsToMeshParameters. 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_PointsToMeshParameters_Destroy() to free it when you're done using it.
| MRC_API MR_PointsToMeshParameters * MR_PointsToMeshParameters_DefaultConstruct | ( | void | ) |
Constructs an empty (default-constructed) instance. Never returns null. Returns an instance allocated on the heap! Must call MR_PointsToMeshParameters_Destroy() to free it when you're done using it.
| MRC_API MR_PointsToMeshParameters * MR_PointsToMeshParameters_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_PointsToMeshParameters_DestroyArray(). Use MR_PointsToMeshParameters_OffsetMutablePtr() and MR_PointsToMeshParameters_OffsetPtr() to access the array elements.
| MRC_API void MR_PointsToMeshParameters_Destroy | ( | const MR_PointsToMeshParameters * | _this | ) |
Destroys a heap-allocated instance of MR_PointsToMeshParameters. Does nothing if the pointer is null.
| MRC_API void MR_PointsToMeshParameters_DestroyArray | ( | const MR_PointsToMeshParameters * | _this | ) |
Destroys a heap-allocated array of MR_PointsToMeshParameters. Does nothing if the pointer is null.
| MRC_API const MR_std_function_bool_from_const_MR_PointCloud_ref_const_MR_PointsToDistanceVolumeParams_ref * MR_PointsToMeshParameters_Get_canCreateVolume | ( | const MR_PointsToMeshParameters * | _this | ) |
Callback for checking whether it's possible to use the volume creation function Returns a pointer to a member variable of class MR::PointsToMeshParameters named canCreateVolume. 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_expected_MR_SimpleVolumeMinMax_std_string_from_const_MR_PointCloud_ref_const_MR_PointsToDistanceVolumeParams_ref * MR_PointsToMeshParameters_Get_createVolumeCallback | ( | const MR_PointsToMeshParameters * | _this | ) |
Callback for volume creation. If both volume creation functions are null - volume will be created with memory efficient pointsToDistanceFunctionVolume function Returns a pointer to a member variable of class MR::PointsToMeshParameters named createVolumeCallback. 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_expected_void_std_string_from_const_MR_PointCloud_ref_const_MR_PointsToDistanceVolumeParams_ref_std_function_expected_void_std_string_func_from_const_MR_SimpleVolumeMinMax_ref_int_int * MR_PointsToMeshParameters_Get_createVolumeCallbackByParts | ( | const MR_PointsToMeshParameters * | _this | ) |
Callback for volume creation by parts. If both volume creation functions are null - volume will be created with memory efficient pointsToDistanceFunctionVolume function This callback takes precedence over createVolumeCallback Returns a pointer to a member variable of class MR::PointsToMeshParameters named createVolumeCallbackByParts. 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_PointsToMeshParameters_Get_invSigmaModifier | ( | const MR_PointsToMeshParameters * | _this | ) |
coefficient used for weight calculation: e^(dist^2 * -invSigmaModifier * sigma^-2) values: (0;inf) Returns a pointer to a member variable of class MR::PointsToMeshParameters named invSigmaModifier. 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_PointsToMeshParameters_Get_minWeight | ( | const MR_PointsToMeshParameters * | _this | ) |
minimum sum of influence weights from surrounding points for a triangle to appear, meaning that there shall be at least this number of points in close proximity Returns a pointer to a member variable of class MR::PointsToMeshParameters named minWeight. 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_PointsToMeshParameters_Get_progress | ( | const MR_PointsToMeshParameters * | _this | ) |
Progress callback Returns a pointer to a member variable of class MR::PointsToMeshParameters named progress. 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_VertColors *const * MR_PointsToMeshParameters_Get_ptColors | ( | const MR_PointsToMeshParameters * | _this | ) |
optional input: colors of input points Returns a pointer to a member variable of class MR::PointsToMeshParameters named ptColors. 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_PointsToMeshParameters_Get_sigma | ( | const MR_PointsToMeshParameters * | _this | ) |
it the distance of highest influence of a point; the maximal influence distance is 3*sigma; beyond that distance the influence is strictly zero Returns a pointer to a member variable of class MR::PointsToMeshParameters named sigma. 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_PointsToMeshParameters_Get_sqrtAngleWeight | ( | const MR_PointsToMeshParameters * | _this | ) |
changes the way point angle affects weight, by default it is linearly increasing with dot product if enabled - increasing as dot product^(0.5) (with respect to its sign) Returns a pointer to a member variable of class MR::PointsToMeshParameters named sqrtAngleWeight. 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 *const * MR_PointsToMeshParameters_Get_vColors | ( | const MR_PointsToMeshParameters * | _this | ) |
optional output: averaged colors of mesh vertices Returns a pointer to a member variable of class MR::PointsToMeshParameters named vColors. 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_PointsToMeshParameters_Get_voxelSize | ( | const MR_PointsToMeshParameters * | _this | ) |
Size of voxel in grid conversions; The user is responsible for setting some positive value here Returns a pointer to a member variable of class MR::PointsToMeshParameters named voxelSize. 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_const_MR_PointCloud_ref_const_MR_PointsToDistanceVolumeParams_ref * MR_PointsToMeshParameters_GetMutable_canCreateVolume | ( | MR_PointsToMeshParameters * | _this | ) |
Callback for checking whether it's possible to use the volume creation function Returns a mutable pointer to a member variable of class MR::PointsToMeshParameters named canCreateVolume. 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_expected_MR_SimpleVolumeMinMax_std_string_from_const_MR_PointCloud_ref_const_MR_PointsToDistanceVolumeParams_ref * MR_PointsToMeshParameters_GetMutable_createVolumeCallback | ( | MR_PointsToMeshParameters * | _this | ) |
Callback for volume creation. If both volume creation functions are null - volume will be created with memory efficient pointsToDistanceFunctionVolume function Returns a mutable pointer to a member variable of class MR::PointsToMeshParameters named createVolumeCallback. 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_expected_void_std_string_from_const_MR_PointCloud_ref_const_MR_PointsToDistanceVolumeParams_ref_std_function_expected_void_std_string_func_from_const_MR_SimpleVolumeMinMax_ref_int_int * MR_PointsToMeshParameters_GetMutable_createVolumeCallbackByParts | ( | MR_PointsToMeshParameters * | _this | ) |
Callback for volume creation by parts. If both volume creation functions are null - volume will be created with memory efficient pointsToDistanceFunctionVolume function This callback takes precedence over createVolumeCallback Returns a mutable pointer to a member variable of class MR::PointsToMeshParameters named createVolumeCallbackByParts. 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_PointsToMeshParameters_GetMutable_invSigmaModifier | ( | MR_PointsToMeshParameters * | _this | ) |
coefficient used for weight calculation: e^(dist^2 * -invSigmaModifier * sigma^-2) values: (0;inf) Returns a mutable pointer to a member variable of class MR::PointsToMeshParameters named invSigmaModifier. 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_PointsToMeshParameters_GetMutable_minWeight | ( | MR_PointsToMeshParameters * | _this | ) |
minimum sum of influence weights from surrounding points for a triangle to appear, meaning that there shall be at least this number of points in close proximity Returns a mutable pointer to a member variable of class MR::PointsToMeshParameters named minWeight. 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_PointsToMeshParameters_GetMutable_progress | ( | MR_PointsToMeshParameters * | _this | ) |
Progress callback Returns a mutable pointer to a member variable of class MR::PointsToMeshParameters named progress. 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_VertColors ** MR_PointsToMeshParameters_GetMutable_ptColors | ( | MR_PointsToMeshParameters * | _this | ) |
optional input: colors of input points Returns a mutable pointer to a member variable of class MR::PointsToMeshParameters named ptColors. 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_PointsToMeshParameters_GetMutable_sigma | ( | MR_PointsToMeshParameters * | _this | ) |
it the distance of highest influence of a point; the maximal influence distance is 3*sigma; beyond that distance the influence is strictly zero Returns a mutable pointer to a member variable of class MR::PointsToMeshParameters named sigma. 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_PointsToMeshParameters_GetMutable_sqrtAngleWeight | ( | MR_PointsToMeshParameters * | _this | ) |
changes the way point angle affects weight, by default it is linearly increasing with dot product if enabled - increasing as dot product^(0.5) (with respect to its sign) Returns a mutable pointer to a member variable of class MR::PointsToMeshParameters named sqrtAngleWeight. 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_PointsToMeshParameters_GetMutable_vColors | ( | MR_PointsToMeshParameters * | _this | ) |
optional output: averaged colors of mesh vertices Returns a mutable pointer to a member variable of class MR::PointsToMeshParameters named vColors. 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_PointsToMeshParameters_GetMutable_voxelSize | ( | MR_PointsToMeshParameters * | _this | ) |
Size of voxel in grid conversions; The user is responsible for setting some positive value here Returns a mutable pointer to a member variable of class MR::PointsToMeshParameters named voxelSize. 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_PointsToMeshParameters * MR_PointsToMeshParameters_OffsetMutablePtr | ( | MR_PointsToMeshParameters * | 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_PointsToMeshParameters * MR_PointsToMeshParameters_OffsetPtr | ( | const MR_PointsToMeshParameters * | 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_PointsToMeshParameters_Set_canCreateVolume | ( | MR_PointsToMeshParameters * | _this, |
| MR_PassBy | value_pass_by, | ||
| MR_std_function_bool_from_const_MR_PointCloud_ref_const_MR_PointsToDistanceVolumeParams_ref * | value ) |
Callback for checking whether it's possible to use the volume creation function Modifies a member variable of class MR::PointsToMeshParameters named canCreateVolume. 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 canCreateVolume. When this function is called, this object will drop object references it held previously in canCreateVolume.
| MRC_API void MR_PointsToMeshParameters_Set_createVolumeCallback | ( | MR_PointsToMeshParameters * | _this, |
| MR_PassBy | value_pass_by, | ||
| MR_std_function_expected_MR_SimpleVolumeMinMax_std_string_from_const_MR_PointCloud_ref_const_MR_PointsToDistanceVolumeParams_ref * | value ) |
Callback for volume creation. If both volume creation functions are null - volume will be created with memory efficient pointsToDistanceFunctionVolume function Modifies a member variable of class MR::PointsToMeshParameters named createVolumeCallback. 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 createVolumeCallback. When this function is called, this object will drop object references it held previously in createVolumeCallback.
| MRC_API void MR_PointsToMeshParameters_Set_createVolumeCallbackByParts | ( | MR_PointsToMeshParameters * | _this, |
| MR_PassBy | value_pass_by, | ||
| MR_std_function_expected_void_std_string_from_const_MR_PointCloud_ref_const_MR_PointsToDistanceVolumeParams_ref_std_function_expected_void_std_string_func_from_const_MR_SimpleVolumeMinMax_ref_int_int * | value ) |
Callback for volume creation by parts. If both volume creation functions are null - volume will be created with memory efficient pointsToDistanceFunctionVolume function This callback takes precedence over createVolumeCallback Modifies a member variable of class MR::PointsToMeshParameters named createVolumeCallbackByParts. 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 createVolumeCallbackByParts. When this function is called, this object will drop object references it held previously in createVolumeCallbackByParts.
| MRC_API void MR_PointsToMeshParameters_Set_invSigmaModifier | ( | MR_PointsToMeshParameters * | _this, |
| float | value ) |
coefficient used for weight calculation: e^(dist^2 * -invSigmaModifier * sigma^-2) values: (0;inf) Modifies a member variable of class MR::PointsToMeshParameters named invSigmaModifier. 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 invSigmaModifier.
| MRC_API void MR_PointsToMeshParameters_Set_minWeight | ( | MR_PointsToMeshParameters * | _this, |
| float | value ) |
minimum sum of influence weights from surrounding points for a triangle to appear, meaning that there shall be at least this number of points in close proximity Modifies a member variable of class MR::PointsToMeshParameters named minWeight. 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 minWeight.
| MRC_API void MR_PointsToMeshParameters_Set_progress | ( | MR_PointsToMeshParameters * | _this, |
| MR_PassBy | value_pass_by, | ||
| MR_std_function_bool_from_float * | value ) |
Progress callback Modifies a member variable of class MR::PointsToMeshParameters named progress. 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 progress. When this function is called, this object will drop object references it held previously in progress.
| MRC_API void MR_PointsToMeshParameters_Set_ptColors | ( | MR_PointsToMeshParameters * | _this, |
| const MR_VertColors * | value ) |
optional input: colors of input points Modifies a member variable of class MR::PointsToMeshParameters named ptColors. 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 ptColors. When this function is called, this object will drop object references it held previously in ptColors.
| MRC_API void MR_PointsToMeshParameters_Set_sigma | ( | MR_PointsToMeshParameters * | _this, |
| float | value ) |
it the distance of highest influence of a point; the maximal influence distance is 3*sigma; beyond that distance the influence is strictly zero Modifies a member variable of class MR::PointsToMeshParameters named sigma. 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 sigma.
| MRC_API void MR_PointsToMeshParameters_Set_sqrtAngleWeight | ( | MR_PointsToMeshParameters * | _this, |
| bool | value ) |
changes the way point angle affects weight, by default it is linearly increasing with dot product if enabled - increasing as dot product^(0.5) (with respect to its sign) Modifies a member variable of class MR::PointsToMeshParameters named sqrtAngleWeight. 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 sqrtAngleWeight.
| MRC_API void MR_PointsToMeshParameters_Set_vColors | ( | MR_PointsToMeshParameters * | _this, |
| MR_VertColors * | value ) |
optional output: averaged colors of mesh vertices Modifies a member variable of class MR::PointsToMeshParameters named vColors. 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 vColors. When this function is called, this object will drop object references it held previously in vColors.
| MRC_API void MR_PointsToMeshParameters_Set_voxelSize | ( | MR_PointsToMeshParameters * | _this, |
| float | value ) |
Size of voxel in grid conversions; The user is responsible for setting some positive value here Modifies a member variable of class MR::PointsToMeshParameters named voxelSize. 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 voxelSize.