MeshLib C Docs
Loading...
Searching...
No Matches
MRMarkedContour.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 <stdbool.h>
7#include <stddef.h>
8#include <stdint.h>
9
10#ifdef __cplusplus
11extern "C" {
12#endif
13
14typedef struct MR_BitSet MR_BitSet; // Defined in `#include <MRCMesh/MRBitSet.h>`.
15typedef struct MR_std_vector_MR_Vector3f MR_std_vector_MR_Vector3f; // Defined in `#include <MRCMisc/std_vector_MR_Vector3f.h>`.
16
17
20
23
28
32
37
43
48
54
58
63
67
70
73
77
80
83
88
92
97
102
111
120MRC_API MR_MarkedContour3f *MR_makeSpline_3_float(MR_PassBy in_pass_by, MR_MarkedContour3f *in, const float *markStability, const MR_std_vector_MR_Vector3f *normals);
121
131
138
144
151
157
162
168
176
183
191
197
202
208
214
219
225
229
234
237MRC_API MR_SplineSettings *MR_SplineSettings_ConstructFrom(float samplingStep, float controlStability, int32_t iterations, MR_std_vector_MR_Vector3f *normals, bool normalsAffectShape);
238
241
244
249
252
255
261
269
270#ifdef __cplusplus
271} // extern "C"
272#endif
struct MR_std_vector_MR_Vector3f MR_std_vector_MR_Vector3f
Definition MRBestFit.h:26
struct MR_BitSet MR_BitSet
Definition MRBitSet.h:179
MRC_API MR_SplineSettings * MR_SplineSettings_OffsetMutablePtr(MR_SplineSettings *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 bool MR_isClosed_std_vector_MR_Vector3f(const MR_std_vector_MR_Vector3f *c)
MRC_API void MR_MarkedContour3f_Set_contour(MR_MarkedContour3f *_this, MR_PassBy value_pass_by, MR_std_vector_MR_Vector3f *value)
MRC_API const bool * MR_SplineSettings_Get_normalsAffectShape(const MR_SplineSettings *_this)
MRC_API const MR_std_vector_MR_Vector3f * MR_MarkedContour3f_Get_contour(const MR_MarkedContour3f *_this)
MRC_API MR_MarkedContour3f * MR_MarkedContour3f_DefaultConstruct(void)
MRC_API float * MR_SplineSettings_GetMutable_samplingStep(MR_SplineSettings *_this)
MRC_API void MR_MarkedContour3f_Destroy(const MR_MarkedContour3f *_this)
Destroys a heap-allocated instance of MR_MarkedContour3f. Does nothing if the pointer is null.
MRC_API MR_SplineSettings * MR_SplineSettings_AssignFromAnother(MR_SplineSettings *_this, const MR_SplineSettings *_other)
MRC_API MR_MarkedContour3f * MR_resample(const MR_MarkedContour3f *in, float minStep, MR_std_vector_MR_Vector3f *normals)
MRC_API void MR_SplineSettings_Set_controlStability(MR_SplineSettings *_this, float value)
MRC_API int32_t * MR_SplineSettings_GetMutable_iterations(MR_SplineSettings *_this)
MRC_API MR_SplineSettings * MR_SplineSettings_DefaultConstruct(void)
MRC_API MR_MarkedContour3f * MR_makeSpline_3_std_vector_MR_Vector3f(MR_PassBy in_pass_by, MR_MarkedContour3f *in, const MR_std_vector_MR_Vector3f *normals, const float *markStability)
MRC_API void MR_SplineSettings_Set_normals(MR_SplineSettings *_this, MR_std_vector_MR_Vector3f *value)
MRC_API const MR_MarkedContour3f * MR_MarkedContour3f_OffsetPtr(const MR_MarkedContour3f *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 bool * MR_SplineSettings_GetMutable_normalsAffectShape(MR_SplineSettings *_this)
MRC_API MR_SplineSettings * MR_SplineSettings_DefaultConstructArray(size_t num_elems)
MRC_API MR_MarkedContour3f * MR_markedContour(MR_PassBy in_pass_by, MR_std_vector_MR_Vector3f *in)
MRC_API const MR_BitSet * MR_MarkedContour3f_Get_marks(const MR_MarkedContour3f *_this)
MRC_API MR_BitSet * MR_MarkedContour3f_GetMutable_marks(MR_MarkedContour3f *_this)
MRC_API MR_std_vector_MR_Vector3f ** MR_SplineSettings_GetMutable_normals(MR_SplineSettings *_this)
MRC_API MR_MarkedContour3f * MR_markedFirstLast(MR_PassBy in_pass_by, MR_std_vector_MR_Vector3f *in)
MRC_API MR_MarkedContour3f * MR_MarkedContour3f_DefaultConstructArray(size_t num_elems)
MRC_API MR_std_vector_MR_Vector3f * MR_MarkedContour3f_GetMutable_contour(MR_MarkedContour3f *_this)
struct MR_MarkedContour3f MR_MarkedContour3f
Generated from class MR::MarkedContour3f.
Definition MRMarkedContour.h:19
MRC_API MR_MarkedContour3f * MR_makeSpline_3_float(MR_PassBy in_pass_by, MR_MarkedContour3f *in, const float *markStability, const MR_std_vector_MR_Vector3f *normals)
MRC_API void MR_SplineSettings_Set_normalsAffectShape(MR_SplineSettings *_this, bool value)
MRC_API MR_std_vector_MR_Vector3f *const * MR_SplineSettings_Get_normals(const MR_SplineSettings *_this)
MRC_API MR_MarkedContour3f * MR_MarkedContour3f_OffsetMutablePtr(MR_MarkedContour3f *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_MarkedContour3f * MR_MarkedContour3f_ConstructFrom(MR_PassBy contour_pass_by, MR_std_vector_MR_Vector3f *contour, MR_PassBy marks_pass_by, MR_BitSet *marks)
MRC_API float * MR_SplineSettings_GetMutable_controlStability(MR_SplineSettings *_this)
MRC_API const float * MR_SplineSettings_Get_controlStability(const MR_SplineSettings *_this)
MRC_API void MR_MarkedContour3f_Set_marks(MR_MarkedContour3f *_this, MR_PassBy value_pass_by, MR_BitSet *value)
MRC_API MR_SplineSettings * MR_SplineSettings_ConstructFrom(float samplingStep, float controlStability, int32_t iterations, MR_std_vector_MR_Vector3f *normals, bool normalsAffectShape)
MRC_API const float * MR_SplineSettings_Get_samplingStep(const MR_SplineSettings *_this)
MRC_API void MR_SplineSettings_DestroyArray(const MR_SplineSettings *_this)
Destroys a heap-allocated array of MR_SplineSettings. Does nothing if the pointer is null.
MRC_API MR_MarkedContour3f * MR_makeSpline_2(const MR_std_vector_MR_Vector3f *controlPoints, const MR_SplineSettings *settings)
MRC_API void MR_SplineSettings_Set_samplingStep(MR_SplineSettings *_this, float value)
MRC_API void MR_SplineSettings_Destroy(const MR_SplineSettings *_this)
Destroys a heap-allocated instance of MR_SplineSettings. Does nothing if the pointer is null.
MRC_API void MR_SplineSettings_Set_iterations(MR_SplineSettings *_this, int32_t value)
MRC_API MR_MarkedContour3f * MR_MarkedContour3f_AssignFromAnother(MR_MarkedContour3f *_this, MR_PassBy _other_pass_by, MR_MarkedContour3f *_other)
MRC_API MR_MarkedContour3f * MR_MarkedContour3f_ConstructFromAnother(MR_PassBy _other_pass_by, MR_MarkedContour3f *_other)
MRC_API const int32_t * MR_SplineSettings_Get_iterations(const MR_SplineSettings *_this)
MRC_API void MR_MarkedContour3f_DestroyArray(const MR_MarkedContour3f *_this)
Destroys a heap-allocated array of MR_MarkedContour3f. Does nothing if the pointer is null.
struct MR_SplineSettings MR_SplineSettings
Generated from class MR::SplineSettings.
Definition MRMarkedContour.h:22
MRC_API MR_SplineSettings * MR_SplineSettings_ConstructFromAnother(const MR_SplineSettings *_other)
MRC_API const MR_SplineSettings * MR_SplineSettings_OffsetPtr(const MR_SplineSettings *ptr, ptrdiff_t i)
Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the...
MR_PassBy
Definition common.h:19
#define MRC_API
Definition exports.h:11