MeshLib C Docs
Loading...
Searching...
No Matches
MRMeshToPointCloud.h
Go to the documentation of this file.
1#pragma once
2
3#include <MRCMesh/MREnums.h>
4#include <MRCMisc/exports.h>
5
6#include <stdbool.h>
7
8#ifdef __cplusplus
9extern "C" {
10#endif
11
12typedef struct MR_Mesh MR_Mesh; // Defined in `#include <MRCMesh/MRMesh.h>`.
13typedef struct MR_MeshPart MR_MeshPart; // Defined in `#include <MRCMesh/MRMeshPart.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_expected_MR_PointCloud_std_string MR_expected_MR_PointCloud_std_string; // Defined in `#include <MRCMisc/expected_MR_PointCloud_std_string.h>`.
17typedef struct MR_std_function_bool_from_float MR_std_function_bool_from_float; // Defined in `#include <MRCMisc/std_function_bool_from_float.h>`.
18
19
27
48
53MRC_API bool MR_isCoveredByVertices(const MR_MeshPart *mp, float radius);
54
55#ifdef __cplusplus
56} // extern "C"
57#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:26
struct MR_MeshPart MR_MeshPart
Definition MRAABBTree.h:19
struct MR_Mesh MR_Mesh
Definition MRCtm.h:17
struct MR_expected_MR_PointCloud_std_string MR_expected_MR_PointCloud_std_string
Definition MRCtm.h:26
struct MR_PointCloud MR_PointCloud
Definition MRCtm.h:20
MR_VertNormalsMode
which normals are given to the points of the cloud made from mesh vertices
Definition MREnums.h:75
MRC_API bool MR_isCoveredByVertices(const MR_MeshPart *mp, float radius)
MRC_API MR_PointCloud * MR_meshToPointCloud(const MR_Mesh *mesh, const MR_VertNormalsMode *normals, const MR_VertBitSet *verts)
MRC_API MR_expected_MR_PointCloud_std_string * MR_meshToDensePointCloud(const MR_MeshPart *mp, float radius, const MR_VertNormalsMode *normals, const MR_std_function_bool_from_float *cb)
#define MRC_API
Definition include/MRCMisc/exports.h:11