MeshLib C Docs
Loading...
Searching...
No Matches
MRPointsToDistanceVolume.h
Go to the documentation of this file.
1#pragma once
2
3#include <MRCMesh/MRVector3.h>
4#include <MRCMisc/common.h>
5#include <MRCMisc/exports.h>
6
7#include <stdbool.h>
8#include <stddef.h>
9
10#ifdef __cplusplus
11extern "C" {
12#endif
13
14typedef struct MR_DistanceVolumeParams MR_DistanceVolumeParams; // Defined in `#include <MRCVoxels/MRDistanceVolumeParams.h>`.
15typedef struct MR_FunctionVolume MR_FunctionVolume; // Defined in `#include <MRCVoxels/MRVoxelsVolume.h>`.
16typedef struct MR_PointCloud MR_PointCloud; // Defined in `#include <MRCMesh/MRPointCloud.h>`.
17typedef struct MR_VertBitSet MR_VertBitSet; // Defined in `#include <MRCMesh/MRBitSet.h>`.
18typedef struct MR_VertColors MR_VertColors; // Defined in `#include <MRCMesh/MRVector.h>`.
19typedef struct MR_VertCoords MR_VertCoords; // Defined in `#include <MRCMesh/MRVector.h>`.
20typedef struct MR_expected_MR_SimpleVolume_std_string MR_expected_MR_SimpleVolume_std_string; // Defined in `#include <MRCMisc/expected_MR_SimpleVolume_std_string.h>`.
21typedef struct MR_expected_MR_VertColors_std_string MR_expected_MR_VertColors_std_string; // Defined in `#include <MRCMisc/expected_MR_VertColors_std_string.h>`.
22typedef struct MR_std_function_bool_from_float MR_std_function_bool_from_float; // Defined in `#include <MRCMisc/std_function_bool_from_float.h>`.
23
24
31
39
46
54
61
67
74
82
89
97
105
112
120
127
134
141
148
155
162
169
176
183
190
197
204
211
218
225
229
234
238
242
247
251
256
259
262
269
276
283
300MRC_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);
301
302#ifdef __cplusplus
303} // extern "C"
304#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:21
struct MR_VertBitSet MR_VertBitSet
Definition MRAABBTree.h:22
struct MR_VertColors MR_VertColors
Definition MRCtm.h:22
struct MR_PointCloud MR_PointCloud
Definition MRCtm.h:19
struct MR_PointsToDistanceVolumeParams MR_PointsToDistanceVolumeParams
Definition MRDistanceVolumeParams.h:13
struct MR_DistanceVolumeParams MR_DistanceVolumeParams
Definition MRDistanceVolumeParams.h:22
struct MR_FunctionVolume MR_FunctionVolume
Definition MRFillingSurface.h:14
MRC_API MR_Vector3f * MR_PointsToDistanceVolumeParams_GetMutable_origin(MR_PointsToDistanceVolumeParams *_this)
MRC_API MR_expected_MR_SimpleVolume_std_string * MR_pointsToDistanceVolume(const MR_PointCloud *cloud, const MR_PointsToDistanceVolumeParams *params)
MRC_API const MR_std_function_bool_from_float * MR_PointsToDistanceVolumeParams_Get_cb(const MR_PointsToDistanceVolumeParams *_this)
struct MR_expected_MR_SimpleVolume_std_string MR_expected_MR_SimpleVolume_std_string
Definition MRPointsToDistanceVolume.h:20
MRC_API const MR_DistanceVolumeParams * MR_PointsToDistanceVolumeParams_UpcastTo_MR_DistanceVolumeParams(const MR_PointsToDistanceVolumeParams *object)
MRC_API bool * MR_PointsToDistanceVolumeParams_GetMutable_sqrtAngleWeight(MR_PointsToDistanceVolumeParams *_this)
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)
struct MR_expected_MR_VertColors_std_string MR_expected_MR_VertColors_std_string
Definition MRPointsToDistanceVolume.h:21
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_Set_cb(MR_PointsToDistanceVolumeParams *_this, MR_PassBy value_pass_by, MR_std_function_bool_from_float *value)
MRC_API MR_Vector3i * MR_PointsToDistanceVolumeParams_GetMutable_dimensions(MR_PointsToDistanceVolumeParams *_this)
MRC_API const MR_Vector3f * MR_PointsToDistanceVolumeParams_Get_origin(const 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 const float * MR_PointsToDistanceVolumeParams_Get_invSigmaModifier(const MR_PointsToDistanceVolumeParams *_this)
MRC_API void MR_PointsToDistanceVolumeParams_Set_origin(MR_PointsToDistanceVolumeParams *_this, MR_Vector3f value)
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_Vector3f * MR_PointsToDistanceVolumeParams_GetMutable_voxelSize(MR_PointsToDistanceVolumeParams *_this)
MRC_API MR_PointsToDistanceVolumeParams * MR_PointsToDistanceVolumeParams_OffsetMutablePtr(MR_PointsToDistanceVolumeParams *ptr, ptrdiff_t i)
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 void MR_PointsToDistanceVolumeParams_Set_dimensions(MR_PointsToDistanceVolumeParams *_this, MR_Vector3i value)
MRC_API void MR_PointsToDistanceVolumeParams_Set_voxelSize(MR_PointsToDistanceVolumeParams *_this, MR_Vector3f value)
MRC_API const float * MR_PointsToDistanceVolumeParams_Get_sigma(const MR_PointsToDistanceVolumeParams *_this)
MRC_API const MR_Vector3i * MR_PointsToDistanceVolumeParams_Get_dimensions(const MR_PointsToDistanceVolumeParams *_this)
MRC_API void MR_PointsToDistanceVolumeParams_Set_minWeight(MR_PointsToDistanceVolumeParams *_this, float value)
MRC_API void MR_PointsToDistanceVolumeParams_Set_invSigmaModifier(MR_PointsToDistanceVolumeParams *_this, float value)
MRC_API MR_std_function_bool_from_float * MR_PointsToDistanceVolumeParams_GetMutable_cb(MR_PointsToDistanceVolumeParams *_this)
MRC_API const MR_Vector3f * MR_PointsToDistanceVolumeParams_Get_voxelSize(const MR_PointsToDistanceVolumeParams *_this)
MRC_API MR_PointsToDistanceVolumeParams * MR_PointsToDistanceVolumeParams_AssignFromAnother(MR_PointsToDistanceVolumeParams *_this, MR_PassBy _other_pass_by, MR_PointsToDistanceVolumeParams *_other)
MRC_API void MR_PointsToDistanceVolumeParams_Set_sqrtAngleWeight(MR_PointsToDistanceVolumeParams *_this, bool value)
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)
MRC_API float * MR_PointsToDistanceVolumeParams_GetMutable_invSigmaModifier(MR_PointsToDistanceVolumeParams *_this)
MRC_API const bool * MR_PointsToDistanceVolumeParams_Get_sqrtAngleWeight(const MR_PointsToDistanceVolumeParams *_this)
MRC_API MR_DistanceVolumeParams * MR_PointsToDistanceVolumeParams_MutableUpcastTo_MR_DistanceVolumeParams(MR_PointsToDistanceVolumeParams *object)
Generated from class MR::Vector3f.
Definition MRVector3.h:47
Generated from class MR::Vector3i.
Definition MRVector3.h:63