MeshLib C Docs
Loading...
Searching...
No Matches
MRPointCloudRadius.h
Go to the documentation of this file.
1#pragma once
2
3#include <MRCMisc/common.h>
4#include <MRCMisc/exports.h>
5
6#include <stdbool.h>
7#include <stdint.h>
8
9#ifdef __cplusplus
10extern "C" {
11#endif
12
13typedef struct MR_AffineXf3f MR_AffineXf3f; // Defined in `#include <MRCMesh/MRAffineXf.h>`.
14typedef struct MR_PointCloud MR_PointCloud; // Defined in `#include <MRCMesh/MRPointCloud.h>`.
15typedef struct MR_VertBitSet MR_VertBitSet; // Defined in `#include <MRCMesh/MRBitSet.h>`.
16typedef struct MR_std_function_bool_from_float MR_std_function_bool_from_float; // Defined in `#include <MRCMisc/std_function_bool_from_float.h>`.
17
18
24MRC_API float MR_findAvgPointsRadius(const MR_PointCloud *pointCloud, int32_t avgPoints, const int32_t *samples);
25
33
41
42#ifdef __cplusplus
43} // extern "C"
44#endif
struct MR_std_function_bool_from_float MR_std_function_bool_from_float
Definition MR3mf.h:10
struct MR_VertBitSet MR_VertBitSet
Definition MRAABBTree.h:15
struct MR_PointCloud MR_PointCloud
Definition MRCtm.h:15
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_PassBy
Definition common.h:19
#define MRC_API
Definition exports.h:11
Definition MRAffineXf.h:36