MeshLib C Docs
Loading...
Searching...
No Matches
MRTunnelDetector.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#include <stdint.h>
8
9#ifdef __cplusplus
10extern "C" {
11#endif
12
13typedef struct MR_MeshPart MR_MeshPart; // Defined in `#include <MRCMesh/MRMeshPart.h>`.
14typedef struct MR_expected_MR_FaceBitSet_std_string MR_expected_MR_FaceBitSet_std_string; // Defined in `#include <MRCMisc/expected_MR_FaceBitSet_std_string.h>`.
15typedef struct MR_expected_std_vector_std_vector_MR_EdgeId_std_string MR_expected_std_vector_std_vector_MR_EdgeId_std_string; // Defined in `#include <MRCMisc/expected_std_vector_std_vector_MR_EdgeId_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>`.
17typedef struct MR_std_function_float_from_MR_EdgeId MR_std_function_float_from_MR_EdgeId; // Defined in `#include <MRCMisc/std_function_float_from_MR_EdgeId.h>`.
18
19
22
32
38
43
49
56
62
69
75
80
86
92
97
103
107
112
116
119
122
126
129
132
137
146
147#ifdef __cplusplus
148} // extern "C"
149#endif
struct MR_std_function_bool_from_float MR_std_function_bool_from_float
Definition MR3mf.h:10
struct MR_MeshPart MR_MeshPart
Definition MRAABBTree.h:14
struct MR_expected_MR_FaceBitSet_std_string MR_expected_MR_FaceBitSet_std_string
Definition MRContoursCut.h:20
struct MR_std_function_float_from_MR_EdgeId MR_std_function_float_from_MR_EdgeId
Definition MREdgeMetric.h:12
MRC_API void MR_DetectTunnelSettings_Set_maxIters(MR_DetectTunnelSettings *_this, int32_t value)
MRC_API void MR_DetectTunnelSettings_Set_progress(MR_DetectTunnelSettings *_this, MR_PassBy value_pass_by, MR_std_function_bool_from_float *value)
MRC_API const int32_t * MR_DetectTunnelSettings_Get_maxIters(const MR_DetectTunnelSettings *_this)
MRC_API MR_expected_MR_FaceBitSet_std_string * MR_detectTunnelFaces(const MR_MeshPart *mp, const MR_DetectTunnelSettings *settings)
MRC_API MR_DetectTunnelSettings * MR_DetectTunnelSettings_DefaultConstructArray(size_t num_elems)
MRC_API MR_expected_std_vector_std_vector_MR_EdgeId_std_string * MR_detectBasisTunnels(const MR_MeshPart *mp, MR_PassBy metric_pass_by, MR_std_function_float_from_MR_EdgeId *metric, MR_PassBy progressCallback_pass_by, MR_std_function_bool_from_float *progressCallback)
MRC_API MR_DetectTunnelSettings * MR_DetectTunnelSettings_ConstructFrom(float maxTunnelLength, int32_t maxIters, MR_PassBy metric_pass_by, MR_std_function_float_from_MR_EdgeId *metric, MR_PassBy progress_pass_by, MR_std_function_bool_from_float *progress)
MRC_API const MR_DetectTunnelSettings * MR_DetectTunnelSettings_OffsetPtr(const MR_DetectTunnelSettings *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_DetectTunnelSettings_Set_maxTunnelLength(MR_DetectTunnelSettings *_this, float value)
MRC_API MR_std_function_float_from_MR_EdgeId * MR_DetectTunnelSettings_GetMutable_metric(MR_DetectTunnelSettings *_this)
MRC_API int32_t * MR_DetectTunnelSettings_GetMutable_maxIters(MR_DetectTunnelSettings *_this)
MRC_API const MR_std_function_float_from_MR_EdgeId * MR_DetectTunnelSettings_Get_metric(const MR_DetectTunnelSettings *_this)
MRC_API float * MR_DetectTunnelSettings_GetMutable_maxTunnelLength(MR_DetectTunnelSettings *_this)
MRC_API MR_DetectTunnelSettings * MR_DetectTunnelSettings_AssignFromAnother(MR_DetectTunnelSettings *_this, MR_PassBy _other_pass_by, MR_DetectTunnelSettings *_other)
MRC_API MR_std_function_bool_from_float * MR_DetectTunnelSettings_GetMutable_progress(MR_DetectTunnelSettings *_this)
MRC_API MR_DetectTunnelSettings * MR_DetectTunnelSettings_DefaultConstruct(void)
MRC_API MR_DetectTunnelSettings * MR_DetectTunnelSettings_ConstructFromAnother(MR_PassBy _other_pass_by, MR_DetectTunnelSettings *_other)
struct MR_DetectTunnelSettings MR_DetectTunnelSettings
Generated from class MR::DetectTunnelSettings.
Definition MRTunnelDetector.h:21
MRC_API void MR_DetectTunnelSettings_Destroy(const MR_DetectTunnelSettings *_this)
Destroys a heap-allocated instance of MR_DetectTunnelSettings. Does nothing if the pointer is null.
MRC_API void MR_DetectTunnelSettings_DestroyArray(const MR_DetectTunnelSettings *_this)
Destroys a heap-allocated array of MR_DetectTunnelSettings. Does nothing if the pointer is null.
MRC_API const float * MR_DetectTunnelSettings_Get_maxTunnelLength(const MR_DetectTunnelSettings *_this)
MRC_API MR_DetectTunnelSettings * MR_DetectTunnelSettings_OffsetMutablePtr(MR_DetectTunnelSettings *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 const MR_std_function_bool_from_float * MR_DetectTunnelSettings_Get_progress(const MR_DetectTunnelSettings *_this)
struct MR_expected_std_vector_std_vector_MR_EdgeId_std_string MR_expected_std_vector_std_vector_MR_EdgeId_std_string
Definition MRTunnelDetector.h:15
MRC_API void MR_DetectTunnelSettings_Set_metric(MR_DetectTunnelSettings *_this, MR_PassBy value_pass_by, MR_std_function_float_from_MR_EdgeId *value)
MR_PassBy
Definition common.h:19
#define MRC_API
Definition exports.h:11