MeshLib C Docs
Loading...
Searching...
No Matches
MRPointsToDistanceVolume.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 <stddef.h>
7
8#ifdef __cplusplus
9extern "C" {
10#endif
11
12typedef struct MR_DistanceVolumeParams MR_DistanceVolumeParams; // Defined in `#include <MRCVoxels/MRDistanceVolumeParams.h>`.
13typedef struct MR_FunctionVolume MR_FunctionVolume; // Defined in `#include <MRCVoxels/MRVoxelsVolume.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_VertColors MR_VertColors; // Defined in `#include <MRCMesh/MRVector.h>`.
17typedef struct MR_VertCoords MR_VertCoords; // Defined in `#include <MRCMesh/MRVector.h>`.
18typedef struct MR_expected_MR_SimpleVolume_std_string MR_expected_MR_SimpleVolume_std_string; // Defined in `#include <MRCMisc/expected_MR_SimpleVolume_std_string.h>`.
19typedef struct MR_expected_MR_VertColors_std_string MR_expected_MR_VertColors_std_string; // Defined in `#include <MRCMisc/expected_MR_VertColors_std_string.h>`.
20typedef struct MR_std_function_bool_from_float MR_std_function_bool_from_float; // Defined in `#include <MRCMisc/std_function_bool_from_float.h>`.
21
22
28
35
41
48
54
59
65
71
76
82
86
91
94
97
101
104
108
111
114
119
126
133
151
152#ifdef __cplusplus
153} // extern "C"
154#endif
struct MR_std_function_bool_from_float MR_std_function_bool_from_float
Definition MR3mf.h:10
struct MR_VertCoords MR_VertCoords
Definition MRAABBTreePoints.h:22
struct MR_VertBitSet MR_VertBitSet
Definition MRAABBTree.h:15
struct MR_PointCloud MR_PointCloud
Definition MRCtm.h:15
struct MR_PointsToDistanceVolumeParams MR_PointsToDistanceVolumeParams
Definition MRDistanceVolumeParams.h:13
struct MR_DistanceVolumeParams MR_DistanceVolumeParams
Definition MRDistanceVolumeParams.h:21
struct MR_VertColors MR_VertColors
Definition MRE57.h:16
MRC_API MR_expected_MR_SimpleVolume_std_string * MR_pointsToDistanceVolume(const MR_PointCloud *cloud, const MR_PointsToDistanceVolumeParams *params)
MRC_API const MR_DistanceVolumeParams * MR_PointsToDistanceVolumeParams_UpcastTo_MR_DistanceVolumeParams(const MR_PointsToDistanceVolumeParams *object)
MRC_API const MR_VertCoords *const * MR_PointsToDistanceVolumeParams_Get_ptNormals(const MR_PointsToDistanceVolumeParams *_this)
MRC_API void MR_PointsToDistanceVolumeParams_Set_sigma(MR_PointsToDistanceVolumeParams *_this, float value)
MRC_API MR_PointsToDistanceVolumeParams * MR_PointsToDistanceVolumeParams_DefaultConstruct(void)
MRC_API MR_PointsToDistanceVolumeParams * MR_PointsToDistanceVolumeParams_ConstructFromAnother(MR_PassBy _other_pass_by, MR_PointsToDistanceVolumeParams *_other)
MRC_API float * MR_PointsToDistanceVolumeParams_GetMutable_sigma(MR_PointsToDistanceVolumeParams *_this)
MRC_API void MR_PointsToDistanceVolumeParams_Destroy(const MR_PointsToDistanceVolumeParams *_this)
Destroys a heap-allocated instance of MR_PointsToDistanceVolumeParams. Does nothing if the pointer is...
MRC_API float * MR_PointsToDistanceVolumeParams_GetMutable_minWeight(MR_PointsToDistanceVolumeParams *_this)
MRC_API MR_FunctionVolume * MR_pointsToDistanceFunctionVolume(const MR_PointCloud *cloud, const MR_PointsToDistanceVolumeParams *params)
MRC_API MR_PointsToDistanceVolumeParams * MR_PointsToDistanceVolumeParams_DefaultConstructArray(size_t num_elems)
MRC_API MR_expected_MR_VertColors_std_string * MR_calcAvgColors(const MR_PointCloud *cloud, const MR_VertColors *colors, const MR_VertCoords *tgtPoints, const MR_VertBitSet *tgtVerts, float sigma, const MR_std_function_bool_from_float *cb)
MRC_API MR_PointsToDistanceVolumeParams * MR_PointsToDistanceVolumeParams_OffsetMutablePtr(MR_PointsToDistanceVolumeParams *ptr, ptrdiff_t i)
Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the...
MRC_API void MR_PointsToDistanceVolumeParams_DestroyArray(const MR_PointsToDistanceVolumeParams *_this)
Destroys a heap-allocated array of MR_PointsToDistanceVolumeParams. Does nothing if the pointer is nu...
MRC_API const float * MR_PointsToDistanceVolumeParams_Get_sigma(const MR_PointsToDistanceVolumeParams *_this)
MRC_API void MR_PointsToDistanceVolumeParams_Set_minWeight(MR_PointsToDistanceVolumeParams *_this, float value)
MRC_API MR_PointsToDistanceVolumeParams * MR_PointsToDistanceVolumeParams_AssignFromAnother(MR_PointsToDistanceVolumeParams *_this, MR_PassBy _other_pass_by, MR_PointsToDistanceVolumeParams *_other)
MRC_API const MR_VertCoords ** MR_PointsToDistanceVolumeParams_GetMutable_ptNormals(MR_PointsToDistanceVolumeParams *_this)
MRC_API void MR_PointsToDistanceVolumeParams_Set_ptNormals(MR_PointsToDistanceVolumeParams *_this, const MR_VertCoords *value)
MRC_API const float * MR_PointsToDistanceVolumeParams_Get_minWeight(const MR_PointsToDistanceVolumeParams *_this)
MRC_API const MR_PointsToDistanceVolumeParams * MR_PointsToDistanceVolumeParams_OffsetPtr(const MR_PointsToDistanceVolumeParams *ptr, ptrdiff_t i)
Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the...
MRC_API MR_DistanceVolumeParams * MR_PointsToDistanceVolumeParams_MutableUpcastTo_MR_DistanceVolumeParams(MR_PointsToDistanceVolumeParams *object)
Upcasts an instance of MR::PointsToDistanceVolumeParams to its base class MR::DistanceVolumeParams.
MR_PassBy
Definition common.h:19
struct MR_FunctionVolume MR_FunctionVolume
Definition expected_MR_FunctionVolume_std_string.h:12
struct MR_expected_MR_SimpleVolume_std_string MR_expected_MR_SimpleVolume_std_string
Definition expected_MR_SimpleVolume_std_string.h:18
struct MR_expected_MR_VertColors_std_string MR_expected_MR_VertColors_std_string
Definition expected_MR_VertColors_std_string.h:18
#define MRC_API
Definition exports.h:11