MeshLib C Docs
Loading...
Searching...
No Matches
MRNesting3mfExport.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
9#ifdef __cplusplus
10extern "C" {
11#endif
12
13typedef struct MR_Image MR_Image; // Defined in `#include <MRCMesh/MRImage.h>`.
14typedef struct MR_Vector_MR_Nesting_MeshXf_MR_ObjId MR_Vector_MR_Nesting_MeshXf_MR_ObjId; // Defined in `#include <MRCMesh/MRVector.h>`.
15typedef struct MR_expected_void_std_string MR_expected_void_std_string; // Defined in `#include <MRCMisc/expected_void_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_vector_MR_Image MR_std_vector_MR_Image; // Defined in `#include <MRCMisc/std_vector_MR_Image.h>`.
18typedef struct MR_std_vector_std_string MR_std_vector_std_string; // Defined in `#include <MRCMisc/std_vector_std_string.h>`.
19
20
24
31
38
45
52
58
65
72
78
85
92
99
106
113
120
127
134
141
148
154
160
166
170
175
185
189
193
198
201
204
211
218
219#ifdef __cplusplus
220} // extern "C"
221#endif
struct MR_std_function_bool_from_float MR_std_function_bool_from_float
Definition MR3mf.h:10
struct MR_expected_void_std_string MR_expected_void_std_string
Definition MRCtm.h:26
struct MR_Image MR_Image
Definition MRJpeg.h:12
struct MR_Nesting_Nesting3mfParams MR_Nesting_Nesting3mfParams
Definition MRNesting3mfExport.h:23
MRC_API void MR_Nesting_Nesting3mfParams_Set_meshImages(MR_Nesting_Nesting3mfParams *_this, const MR_std_vector_MR_Image *value)
MRC_API const MR_Image ** MR_Nesting_Nesting3mfParams_GetMutable_image(MR_Nesting_Nesting3mfParams *_this)
MRC_API MR_expected_void_std_string * MR_Nesting_exportNesting3mf(const char *path, const char *path_end, const MR_Nesting_Nesting3mfParams *params)
MRC_API void MR_Nesting_Nesting3mfParams_Destroy(const MR_Nesting_Nesting3mfParams *_this)
Destroys a heap-allocated instance of MR_Nesting_Nesting3mfParams. Does nothing if the pointer is nul...
MRC_API void MR_Nesting_Nesting3mfParams_DestroyArray(const MR_Nesting_Nesting3mfParams *_this)
Destroys a heap-allocated array of MR_Nesting_Nesting3mfParams. Does nothing if the pointer is null.
MRC_API void MR_Nesting_Nesting3mfParams_Set_image(MR_Nesting_Nesting3mfParams *_this, const MR_Image *value)
MRC_API const MR_std_vector_std_string ** MR_Nesting_Nesting3mfParams_GetMutable_meshNames(MR_Nesting_Nesting3mfParams *_this)
MRC_API bool * MR_Nesting_Nesting3mfParams_GetMutable_decimateSlices(MR_Nesting_Nesting3mfParams *_this)
MRC_API void MR_Nesting_Nesting3mfParams_Set_cb(MR_Nesting_Nesting3mfParams *_this, MR_PassBy value_pass_by, MR_std_function_bool_from_float *value)
MRC_API MR_Nesting_Nesting3mfParams * MR_Nesting_Nesting3mfParams_OffsetMutablePtr(MR_Nesting_Nesting3mfParams *ptr, ptrdiff_t i)
MRC_API void MR_Nesting_Nesting3mfParams_Set_meshes(MR_Nesting_Nesting3mfParams *_this, MR_PassBy value_pass_by, MR_Vector_MR_Nesting_MeshXf_MR_ObjId *value)
MRC_API const MR_Nesting_Nesting3mfParams * MR_Nesting_Nesting3mfParams_OffsetPtr(const MR_Nesting_Nesting3mfParams *ptr, ptrdiff_t i)
MRC_API const MR_Vector_MR_Nesting_MeshXf_MR_ObjId * MR_Nesting_Nesting3mfParams_Get_meshes(const MR_Nesting_Nesting3mfParams *_this)
MRC_API void MR_Nesting_Nesting3mfParams_Set_zStep(MR_Nesting_Nesting3mfParams *_this, float value)
MRC_API MR_Nesting_Nesting3mfParams * MR_Nesting_Nesting3mfParams_DefaultConstructArray(size_t num_elems)
MRC_API const MR_Image *const * MR_Nesting_Nesting3mfParams_Get_image(const MR_Nesting_Nesting3mfParams *_this)
MRC_API const MR_std_function_bool_from_float * MR_Nesting_Nesting3mfParams_Get_cb(const MR_Nesting_Nesting3mfParams *_this)
MRC_API const MR_std_vector_MR_Image *const * MR_Nesting_Nesting3mfParams_Get_meshImages(const MR_Nesting_Nesting3mfParams *_this)
MRC_API float * MR_Nesting_Nesting3mfParams_GetMutable_zStep(MR_Nesting_Nesting3mfParams *_this)
MRC_API const MR_std_vector_std_string *const * MR_Nesting_Nesting3mfParams_Get_meshNames(const MR_Nesting_Nesting3mfParams *_this)
struct MR_std_vector_std_string MR_std_vector_std_string
Definition MRNesting3mfExport.h:18
MRC_API MR_Nesting_Nesting3mfParams * MR_Nesting_Nesting3mfParams_AssignFromAnother(MR_Nesting_Nesting3mfParams *_this, MR_PassBy _other_pass_by, MR_Nesting_Nesting3mfParams *_other)
MRC_API MR_Nesting_Nesting3mfParams * MR_Nesting_Nesting3mfParams_ConstructFromAnother(MR_PassBy _other_pass_by, MR_Nesting_Nesting3mfParams *_other)
MRC_API void MR_Nesting_Nesting3mfParams_Set_meshNames(MR_Nesting_Nesting3mfParams *_this, const MR_std_vector_std_string *value)
struct MR_std_vector_MR_Image MR_std_vector_MR_Image
Definition MRNesting3mfExport.h:17
MRC_API MR_Nesting_Nesting3mfParams * MR_Nesting_Nesting3mfParams_ConstructFrom(MR_PassBy meshes_pass_by, MR_Vector_MR_Nesting_MeshXf_MR_ObjId *meshes, float zStep, bool decimateSlices, const MR_Image *image, const MR_std_vector_MR_Image *meshImages, const MR_std_vector_std_string *meshNames, MR_PassBy cb_pass_by, MR_std_function_bool_from_float *cb)
MRC_API MR_Nesting_Nesting3mfParams * MR_Nesting_Nesting3mfParams_DefaultConstruct(void)
MRC_API const MR_std_vector_MR_Image ** MR_Nesting_Nesting3mfParams_GetMutable_meshImages(MR_Nesting_Nesting3mfParams *_this)
struct MR_Vector_MR_Nesting_MeshXf_MR_ObjId MR_Vector_MR_Nesting_MeshXf_MR_ObjId
std::vector<T>-like container that requires specific indexing type,
Definition MRNesting3mfExport.h:14
MRC_API const float * MR_Nesting_Nesting3mfParams_Get_zStep(const MR_Nesting_Nesting3mfParams *_this)
MRC_API void MR_Nesting_Nesting3mfParams_Set_decimateSlices(MR_Nesting_Nesting3mfParams *_this, bool value)
MRC_API MR_Vector_MR_Nesting_MeshXf_MR_ObjId * MR_Nesting_Nesting3mfParams_GetMutable_meshes(MR_Nesting_Nesting3mfParams *_this)
MRC_API const bool * MR_Nesting_Nesting3mfParams_Get_decimateSlices(const MR_Nesting_Nesting3mfParams *_this)
MRC_API MR_std_function_bool_from_float * MR_Nesting_Nesting3mfParams_GetMutable_cb(MR_Nesting_Nesting3mfParams *_this)
MR_PassBy
Definition common.h:23
#define MRC_API
Definition include/MRCMisc/exports.h:11