MeshLib C Docs
Loading...
Searching...
No Matches
MRMeshToPointCloud.h
Go to the documentation of this file.
1#pragma once
2
3#include <MRCMisc/exports.h>
4
5#include <stdbool.h>
6
7#ifdef __cplusplus
8extern "C" {
9#endif
10
11typedef struct MR_Mesh MR_Mesh; // Defined in `#include <MRCMesh/MRMesh.h>`.
12typedef struct MR_MeshPart MR_MeshPart; // Defined in `#include <MRCMesh/MRMeshPart.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_expected_MR_PointCloud_std_string MR_expected_MR_PointCloud_std_string; // Defined in `#include <MRCMisc/expected_MR_PointCloud_std_string.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
25MRC_API MR_PointCloud *MR_meshToPointCloud(const MR_Mesh *mesh, const bool *saveNormals, const MR_VertBitSet *verts);
26
46
47#ifdef __cplusplus
48} // extern "C"
49#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:22
struct MR_MeshPart MR_MeshPart
Definition MRAABBTree.h:19
struct MR_Mesh MR_Mesh
Definition MRCtm.h:16
struct MR_expected_MR_PointCloud_std_string MR_expected_MR_PointCloud_std_string
Definition MRCtm.h:25
struct MR_PointCloud MR_PointCloud
Definition MRCtm.h:19
MRC_API MR_PointCloud * MR_meshToPointCloud(const MR_Mesh *mesh, const bool *saveNormals, const MR_VertBitSet *verts)
MRC_API MR_expected_MR_PointCloud_std_string * MR_meshToDensePointCloud(const MR_MeshPart *mp, float radius, const bool *saveNormals, const MR_std_function_bool_from_float *cb)
#define MRC_API
Definition include/MRCMisc/exports.h:11