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
8#ifdef __cplusplus
9extern "C" {
10#endif
11
12typedef struct MR_AffineXf3f MR_AffineXf3f; // Defined in `#include <MRCMesh/MRAffineXf.h>`.
13typedef struct MR_PointCloud MR_PointCloud; // Defined in `#include <MRCMesh/MRPointCloud.h>`.
14typedef struct MR_VertBitSet MR_VertBitSet; // Defined in `#include <MRCMesh/MRBitSet.h>`.
15typedef struct MR_std_function_bool_from_float MR_std_function_bool_from_float; // Defined in `#include <MRCMisc/std_function_bool_from_float.h>`.
16
17
23MRC_API float MR_findAvgPointsRadius(const MR_PointCloud *pointCloud, int avgPoints, const int *samples);
24
32
40
41#ifdef __cplusplus
42} // extern "C"
43#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:14
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 float MR_findAvgPointsRadius(const MR_PointCloud *pointCloud, int avgPoints, const int *samples)
Finds the radius of ball, so on average that ball contained avgPoints excluding the central point.
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