MeshLib C Docs
Loading...
Searching...
No Matches
MRMeshOverhangs.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 <stddef.h>
8#include <stdint.h>
9
10#ifdef __cplusplus
11extern "C" {
12#endif
13
14typedef struct MR_AffineXf3f MR_AffineXf3f; // Defined in `#include <MRCMesh/MRAffineXf.h>`.
15typedef struct MR_Mesh MR_Mesh; // Defined in `#include <MRCMesh/MRMesh.h>`.
16typedef struct MR_expected_std_vector_MR_FaceBitSet_std_string MR_expected_std_vector_MR_FaceBitSet_std_string; // Defined in `#include <MRCMisc/expected_std_vector_MR_FaceBitSet_std_string.h>`.
17typedef struct MR_std_function_bool_from_float MR_std_function_bool_from_float; // Defined in `#include <MRCMisc/std_function_bool_from_float.h>`.
18
19
23
29
34
40
46
51
57
63
68
74
80
85
91
97
102
108
113
117
122
126
131
134MRC_API MR_FindOverhangsSettings *MR_FindOverhangsSettings_ConstructFrom(MR_Vector3f axis, float layerHeight, float maxOverhangDistance, int32_t hops, const MR_AffineXf3f *xf, MR_PassBy progressCb_pass_by, MR_std_function_bool_from_float *progressCb);
135
138
141
145
148
151
156
166
167#ifdef __cplusplus
168} // extern "C"
169#endif
struct MR_std_function_bool_from_float MR_std_function_bool_from_float
Definition MR3mf.h:10
struct MR_Mesh MR_Mesh
Definition MRCtm.h:13
MRC_API const int32_t * MR_FindOverhangsSettings_Get_hops(const MR_FindOverhangsSettings *_this)
struct MR_expected_std_vector_MR_FaceBitSet_std_string MR_expected_std_vector_MR_FaceBitSet_std_string
Definition MRMeshOverhangs.h:16
MRC_API void MR_FindOverhangsSettings_Set_xf(MR_FindOverhangsSettings *_this, const MR_AffineXf3f *value)
MRC_API MR_expected_std_vector_MR_FaceBitSet_std_string * MR_findOverhangs(const MR_Mesh *mesh, const MR_FindOverhangsSettings *settings)
Find face regions that might create overhangs.
MRC_API const MR_AffineXf3f *const * MR_FindOverhangsSettings_Get_xf(const MR_FindOverhangsSettings *_this)
MRC_API MR_FindOverhangsSettings * MR_FindOverhangsSettings_ConstructFrom(MR_Vector3f axis, float layerHeight, float maxOverhangDistance, int32_t hops, const MR_AffineXf3f *xf, MR_PassBy progressCb_pass_by, MR_std_function_bool_from_float *progressCb)
MRC_API float * MR_FindOverhangsSettings_GetMutable_maxOverhangDistance(MR_FindOverhangsSettings *_this)
MRC_API void MR_FindOverhangsSettings_Set_layerHeight(MR_FindOverhangsSettings *_this, float value)
MRC_API MR_FindOverhangsSettings * MR_FindOverhangsSettings_AssignFromAnother(MR_FindOverhangsSettings *_this, MR_PassBy _other_pass_by, MR_FindOverhangsSettings *_other)
MRC_API MR_Vector3f * MR_FindOverhangsSettings_GetMutable_axis(MR_FindOverhangsSettings *_this)
MRC_API const MR_FindOverhangsSettings * MR_FindOverhangsSettings_OffsetPtr(const MR_FindOverhangsSettings *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 float * MR_FindOverhangsSettings_GetMutable_layerHeight(MR_FindOverhangsSettings *_this)
MRC_API const MR_AffineXf3f ** MR_FindOverhangsSettings_GetMutable_xf(MR_FindOverhangsSettings *_this)
MRC_API const MR_Vector3f * MR_FindOverhangsSettings_Get_axis(const MR_FindOverhangsSettings *_this)
MRC_API const float * MR_FindOverhangsSettings_Get_layerHeight(const MR_FindOverhangsSettings *_this)
MRC_API int32_t * MR_FindOverhangsSettings_GetMutable_hops(MR_FindOverhangsSettings *_this)
MRC_API const float * MR_FindOverhangsSettings_Get_maxOverhangDistance(const MR_FindOverhangsSettings *_this)
MRC_API MR_FindOverhangsSettings * MR_FindOverhangsSettings_DefaultConstruct(void)
MRC_API MR_FindOverhangsSettings * MR_FindOverhangsSettings_DefaultConstructArray(size_t num_elems)
MRC_API MR_std_function_bool_from_float * MR_FindOverhangsSettings_GetMutable_progressCb(MR_FindOverhangsSettings *_this)
MRC_API void MR_FindOverhangsSettings_Set_axis(MR_FindOverhangsSettings *_this, MR_Vector3f value)
MRC_API MR_FindOverhangsSettings * MR_FindOverhangsSettings_ConstructFromAnother(MR_PassBy _other_pass_by, MR_FindOverhangsSettings *_other)
struct MR_FindOverhangsSettings MR_FindOverhangsSettings
Definition MRMeshOverhangs.h:22
MRC_API MR_FindOverhangsSettings * MR_FindOverhangsSettings_OffsetMutablePtr(MR_FindOverhangsSettings *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_FindOverhangsSettings_Set_progressCb(MR_FindOverhangsSettings *_this, MR_PassBy value_pass_by, MR_std_function_bool_from_float *value)
MRC_API void MR_FindOverhangsSettings_Set_hops(MR_FindOverhangsSettings *_this, int32_t value)
MRC_API const MR_std_function_bool_from_float * MR_FindOverhangsSettings_Get_progressCb(const MR_FindOverhangsSettings *_this)
MRC_API void MR_FindOverhangsSettings_DestroyArray(const MR_FindOverhangsSettings *_this)
Destroys a heap-allocated array of MR_FindOverhangsSettings. Does nothing if the pointer is null.
MRC_API void MR_FindOverhangsSettings_Set_maxOverhangDistance(MR_FindOverhangsSettings *_this, float value)
MRC_API void MR_FindOverhangsSettings_Destroy(const MR_FindOverhangsSettings *_this)
Destroys a heap-allocated instance of MR_FindOverhangsSettings. Does nothing if the pointer is null.
MR_PassBy
Definition common.h:19
#define MRC_API
Definition exports.h:11
Definition MRAffineXf.h:36
Definition MRVector3.h:51