MeshLib C Docs
Loading...
Searching...
No Matches
MRVoxelsConversionsByParts.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
9#ifdef __cplusplus
10extern "C" {
11#endif
12
13typedef struct MR_PartMapping MR_PartMapping; // Defined in `#include <MRCMesh/MRPartMapping.h>`.
14typedef struct MR_std_function_void_from_MR_Mesh_ref MR_std_function_void_from_MR_Mesh_ref; // Defined in `#include <MRCMisc/std_function_void_from_MR_Mesh_ref.h>`.
15typedef struct MR_std_function_void_from_MR_Mesh_ref_const_MR_PartMapping_ref MR_std_function_void_from_MR_Mesh_ref_const_MR_PartMapping_ref; // Defined in `#include <MRCMisc/std_function_void_from_MR_Mesh_ref_const_MR_PartMapping_ref.h>`.
16typedef struct MR_std_function_void_from_MR_Mesh_ref_float_float MR_std_function_void_from_MR_Mesh_ref_float_float; // Defined in `#include <MRCMisc/std_function_void_from_MR_Mesh_ref_float_float.h>`.
17
18
28
38
43
47
52
57
61
66
71
75
80
86
92
98
104
109
115
119
124
129
132
135
139
142
145
150
151// 256 MiB
156
157// 256 MiB
161
162// 256 MiB
167
173
178
184
188
193
197
200
203
208
211
214
220
221#ifdef __cplusplus
222} // extern "C"
223#endif
struct MR_PartMapping MR_PartMapping
Definition MRMesh.h:31
MRC_API void MR_VolumeToMeshByPartsSettings_Set_maxVolumePartMemoryUsage(MR_VolumeToMeshByPartsSettings *_this, MR_uint64_t value)
MRC_API MR_MergeVolumePartSettings * MR_MergeVolumePartSettings_AssignFromAnother(MR_MergeVolumePartSettings *_this, MR_PassBy _other_pass_by, MR_MergeVolumePartSettings *_other)
MRC_API const MR_std_function_void_from_MR_Mesh_ref_float_float * MR_MergeVolumePartSettings_Get_preCut(const MR_MergeVolumePartSettings *_this)
MRC_API void MR_VolumeToMeshByPartsSettings_DestroyArray(const MR_VolumeToMeshByPartsSettings *_this)
Destroys a heap-allocated array of MR_VolumeToMeshByPartsSettings. Does nothing if the pointer is nul...
MRC_API MR_MergeVolumePartSettings * MR_MergeVolumePartSettings_DefaultConstruct(void)
MRC_API void MR_VolumeToMeshByPartsSettings_Set_stripeOverlap(MR_VolumeToMeshByPartsSettings *_this, MR_uint64_t value)
MRC_API MR_std_function_void_from_MR_Mesh_ref_const_MR_PartMapping_ref * MR_MergeVolumePartSettings_GetMutable_postMerge(MR_MergeVolumePartSettings *_this)
MRC_API MR_Vector3f * MR_MergeVolumePartSettings_GetMutable_origin(MR_MergeVolumePartSettings *_this)
MRC_API MR_VolumeToMeshByPartsSettings * MR_VolumeToMeshByPartsSettings_ConstructFromAnother(const MR_VolumeToMeshByPartsSettings *_other)
MRC_API MR_VolumeToMeshByPartsSettings * MR_VolumeToMeshByPartsSettings_ConstructFrom(MR_uint64_t maxVolumePartMemoryUsage, MR_uint64_t stripeOverlap)
MRC_API const MR_uint64_t * MR_VolumeToMeshByPartsSettings_Get_maxVolumePartMemoryUsage(const MR_VolumeToMeshByPartsSettings *_this)
MRC_API const MR_PartMapping * MR_MergeVolumePartSettings_Get_mapping(const MR_MergeVolumePartSettings *_this)
MRC_API const MR_Vector3f * MR_MergeVolumePartSettings_Get_origin(const MR_MergeVolumePartSettings *_this)
MRC_API void MR_MergeVolumePartSettings_DestroyArray(const MR_MergeVolumePartSettings *_this)
Destroys a heap-allocated array of MR_MergeVolumePartSettings. Does nothing if the pointer is null.
MRC_API const MR_std_function_void_from_MR_Mesh_ref_const_MR_PartMapping_ref * MR_MergeVolumePartSettings_Get_postMerge(const MR_MergeVolumePartSettings *_this)
MRC_API void MR_VolumeToMeshByPartsSettings_Destroy(const MR_VolumeToMeshByPartsSettings *_this)
Destroys a heap-allocated instance of MR_VolumeToMeshByPartsSettings. Does nothing if the pointer is ...
MRC_API MR_uint64_t * MR_VolumeToMeshByPartsSettings_GetMutable_stripeOverlap(MR_VolumeToMeshByPartsSettings *_this)
MRC_API void MR_MergeVolumePartSettings_Destroy(const MR_MergeVolumePartSettings *_this)
Destroys a heap-allocated instance of MR_MergeVolumePartSettings. Does nothing if the pointer is null...
struct MR_VolumeToMeshByPartsSettings MR_VolumeToMeshByPartsSettings
Generated from class MR::VolumeToMeshByPartsSettings.
Definition MRVoxelsConversionsByParts.h:37
MRC_API void MR_MergeVolumePartSettings_Set_origin(MR_MergeVolumePartSettings *_this, MR_Vector3f value)
MRC_API MR_VolumeToMeshByPartsSettings * MR_VolumeToMeshByPartsSettings_OffsetMutablePtr(MR_VolumeToMeshByPartsSettings *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_MergeVolumePartSettings * MR_MergeVolumePartSettings_OffsetMutablePtr(MR_MergeVolumePartSettings *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_MergeVolumePartSettings * MR_MergeVolumePartSettings_ConstructFromAnother(MR_PassBy _other_pass_by, MR_MergeVolumePartSettings *_other)
MRC_API MR_std_function_void_from_MR_Mesh_ref * MR_MergeVolumePartSettings_GetMutable_postCut(MR_MergeVolumePartSettings *_this)
MRC_API MR_std_function_void_from_MR_Mesh_ref_float_float * MR_MergeVolumePartSettings_GetMutable_preCut(MR_MergeVolumePartSettings *_this)
MRC_API MR_MergeVolumePartSettings * MR_MergeVolumePartSettings_ConstructFrom(MR_PassBy preCut_pass_by, MR_std_function_void_from_MR_Mesh_ref_float_float *preCut, MR_PassBy postCut_pass_by, MR_std_function_void_from_MR_Mesh_ref *postCut, MR_PassBy postMerge_pass_by, MR_std_function_void_from_MR_Mesh_ref_const_MR_PartMapping_ref *postMerge, const MR_PartMapping *mapping, MR_Vector3f origin)
MRC_API const MR_uint64_t * MR_VolumeToMeshByPartsSettings_Get_stripeOverlap(const MR_VolumeToMeshByPartsSettings *_this)
MRC_API void MR_MergeVolumePartSettings_Set_preCut(MR_MergeVolumePartSettings *_this, MR_PassBy value_pass_by, MR_std_function_void_from_MR_Mesh_ref_float_float *value)
MRC_API MR_VolumeToMeshByPartsSettings * MR_VolumeToMeshByPartsSettings_AssignFromAnother(MR_VolumeToMeshByPartsSettings *_this, const MR_VolumeToMeshByPartsSettings *_other)
MRC_API void MR_MergeVolumePartSettings_Set_mapping(MR_MergeVolumePartSettings *_this, const MR_PartMapping *value)
MRC_API MR_PartMapping * MR_MergeVolumePartSettings_GetMutable_mapping(MR_MergeVolumePartSettings *_this)
MRC_API const MR_std_function_void_from_MR_Mesh_ref * MR_MergeVolumePartSettings_Get_postCut(const MR_MergeVolumePartSettings *_this)
MRC_API MR_uint64_t * MR_VolumeToMeshByPartsSettings_GetMutable_maxVolumePartMemoryUsage(MR_VolumeToMeshByPartsSettings *_this)
MRC_API void MR_MergeVolumePartSettings_Set_postCut(MR_MergeVolumePartSettings *_this, MR_PassBy value_pass_by, MR_std_function_void_from_MR_Mesh_ref *value)
struct MR_MergeVolumePartSettings MR_MergeVolumePartSettings
Generated from class MR::MergeVolumePartSettings.
Definition MRVoxelsConversionsByParts.h:27
MRC_API const MR_MergeVolumePartSettings * MR_MergeVolumePartSettings_OffsetPtr(const MR_MergeVolumePartSettings *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_MergeVolumePartSettings_Set_postMerge(MR_MergeVolumePartSettings *_this, MR_PassBy value_pass_by, MR_std_function_void_from_MR_Mesh_ref_const_MR_PartMapping_ref *value)
MRC_API MR_VolumeToMeshByPartsSettings * MR_VolumeToMeshByPartsSettings_DefaultConstruct(void)
MRC_API MR_VolumeToMeshByPartsSettings * MR_VolumeToMeshByPartsSettings_DefaultConstructArray(size_t num_elems)
MRC_API MR_MergeVolumePartSettings * MR_MergeVolumePartSettings_DefaultConstructArray(size_t num_elems)
MRC_API const MR_VolumeToMeshByPartsSettings * MR_VolumeToMeshByPartsSettings_OffsetPtr(const MR_VolumeToMeshByPartsSettings *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
uint64_t MR_uint64_t
Definition common.h:14
#define MRC_API
Definition exports.h:11
struct MR_std_function_void_from_MR_Mesh_ref MR_std_function_void_from_MR_Mesh_ref
Definition std_function_void_from_MR_Mesh_ref.h:17
struct MR_std_function_void_from_MR_Mesh_ref_const_MR_PartMapping_ref MR_std_function_void_from_MR_Mesh_ref_const_MR_PartMapping_ref
Definition std_function_void_from_MR_Mesh_ref_const_MR_PartMapping_ref.h:18
struct MR_std_function_void_from_MR_Mesh_ref_float_float MR_std_function_void_from_MR_Mesh_ref_float_float
Definition std_function_void_from_MR_Mesh_ref_float_float.h:17
Definition MRVector3.h:51