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
8#ifdef __cplusplus
9extern "C" {
10#endif
11
12typedef struct MR_MeshPart MR_MeshPart; // Defined in `#include <MRCMesh/MRMeshPart.h>`.
13typedef struct MR_expected_MR_FaceBitSet_std_string MR_expected_MR_FaceBitSet_std_string; // Defined in `#include <MRCMisc/expected_MR_FaceBitSet_std_string.h>`.
14typedef 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>`.
15typedef struct MR_std_function_bool_from_float MR_std_function_bool_from_float; // Defined in `#include <MRCMisc/std_function_bool_from_float.h>`.
16typedef 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>`.
17
18
21
31
37
42
48
55
61
68
74
79
85
91
96
102
106
111
115
118
121
125
128
131
136
145
146#ifdef __cplusplus
147} // extern "C"
148#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_expected_std_vector_std_vector_MR_EdgeId_std_string MR_expected_std_vector_std_vector_MR_EdgeId_std_string
Definition MRContoursCut.h:22
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_progress(MR_DetectTunnelSettings *_this, MR_PassBy value_pass_by, MR_std_function_bool_from_float *value)
MRC_API MR_expected_MR_FaceBitSet_std_string * MR_detectTunnelFaces(const MR_MeshPart *mp, const MR_DetectTunnelSettings *settings)
MRC_API int * MR_DetectTunnelSettings_GetMutable_maxIters(MR_DetectTunnelSettings *_this)
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 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 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_ConstructFrom(float maxTunnelLength, int 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 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:20
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 void MR_DetectTunnelSettings_Set_maxIters(MR_DetectTunnelSettings *_this, int value)
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)
MRC_API void MR_DetectTunnelSettings_Set_metric(MR_DetectTunnelSettings *_this, MR_PassBy value_pass_by, MR_std_function_float_from_MR_EdgeId *value)
MRC_API const int * MR_DetectTunnelSettings_Get_maxIters(const MR_DetectTunnelSettings *_this)
MR_PassBy
Definition common.h:19
#define MRC_API
Definition exports.h:11