#include <MRCMisc/common.h>
#include <MRCMisc/exports.h>
#include <stdbool.h>
#include <stdint.h>
Go to the source code of this file.
|
MRC_API float | MR_findAvgPointsRadius (const MR_PointCloud *pointCloud, int32_t avgPoints, const int32_t *samples) |
| Finds the radius of ball, so on average that ball contained avgPoints excluding the central point.
|
|
MRC_API bool | MR_dilateRegion_5_const_MR_PointCloud_ref (const MR_PointCloud *pointCloud, MR_VertBitSet *region, float dilation, MR_PassBy cb_pass_by, MR_std_function_bool_from_float *cb, const MR_AffineXf3f *xf) |
|
MRC_API bool | MR_erodeRegion_5_const_MR_PointCloud_ref (const MR_PointCloud *pointCloud, MR_VertBitSet *region, float erosion, MR_PassBy cb_pass_by, MR_std_function_bool_from_float *cb, const MR_AffineXf3f *xf) |
|
◆ MR_AffineXf3f
typedef struct MR_AffineXf3f MR_AffineXf3f |
◆ MR_PointCloud
◆ MR_std_function_bool_from_float
◆ MR_VertBitSet
◆ MR_dilateRegion_5_const_MR_PointCloud_ref()
expands the region on given euclidian distance. returns false if callback also returns false Generated from function MR::dilateRegion
. Parameter pointCloud
can not be null. It is a single object. Parameter region
can not be null. It is a single object. Parameter cb
has a default argument: {}
, pass MR_PassBy_DefaultArgument
and a null pointer to use it. Parameter xf
defaults to a null pointer in C++.
◆ MR_erodeRegion_5_const_MR_PointCloud_ref()
shrinks the region on given euclidian distance. returns false if callback also returns false Generated from function MR::erodeRegion
. Parameter pointCloud
can not be null. It is a single object. Parameter region
can not be null. It is a single object. Parameter cb
has a default argument: {}
, pass MR_PassBy_DefaultArgument
and a null pointer to use it. Parameter xf
defaults to a null pointer in C++.
◆ MR_findAvgPointsRadius()
MRC_API float MR_findAvgPointsRadius |
( |
const MR_PointCloud * | pointCloud, |
|
|
int32_t | avgPoints, |
|
|
const int32_t * | samples ) |
Finds the radius of ball, so on average that ball contained avgPoints excluding the central point.
- Parameters
-
samples | the number of test points to find given number of samples in each Generated from function MR::findAvgPointsRadius . Parameter pointCloud can not be null. It is a single object. Parameter samples has a default argument: 1024 , pass a null pointer to use it. |