MeshLib C Docs
Loading...
Searching...
No Matches
MRScanHelpers.h
Go to the documentation of this file.
1#pragma once
2
3#include <MRCMesh/MRVector3.h>
4#include <MRCMisc/exports.h>
5
6#include <stddef.h>
7
8#ifdef __cplusplus
9extern "C" {
10#endif
11
12typedef struct MR_std_vector_MR_SliceInfo MR_std_vector_MR_SliceInfo; // Defined in `#include <MRCMisc/std_vector_MR_SliceInfo.h>`.
13typedef struct MR_std_vector_std_filesystem_path MR_std_vector_std_filesystem_path; // Defined in `#include <MRCMisc/std_vector_std_filesystem_path.h>`.
14
15
24
34
40MRC_API const int *MR_SliceInfoBase_Get_instanceNum(const MR_SliceInfoBase *_this);
41
46MRC_API void MR_SliceInfoBase_Set_instanceNum(MR_SliceInfoBase *_this, int value);
47
54
60MRC_API const double *MR_SliceInfoBase_Get_z(const MR_SliceInfoBase *_this);
61
66MRC_API void MR_SliceInfoBase_Set_z(MR_SliceInfoBase *_this, double value);
67
74
80MRC_API const int *MR_SliceInfoBase_Get_fileNum(const MR_SliceInfoBase *_this);
81
86MRC_API void MR_SliceInfoBase_Set_fileNum(MR_SliceInfoBase *_this, int value);
87
94
98
103
107MRC_API MR_SliceInfoBase *MR_SliceInfoBase_ConstructFrom(int instanceNum, double z, int fileNum);
108
111MRC_API const MR_SliceInfoBase *MR_SliceInfoBase_OffsetPtr(const MR_SliceInfoBase *ptr, ptrdiff_t i);
112
116
122
127
133
136
139
147
154
161
168
174MRC_API const int *MR_SliceInfo_Get_instanceNum(const MR_SliceInfo *_this);
175
180MRC_API void MR_SliceInfo_Set_instanceNum(MR_SliceInfo *_this, int value);
181
188
194MRC_API const double *MR_SliceInfo_Get_z(const MR_SliceInfo *_this);
195
200MRC_API void MR_SliceInfo_Set_z(MR_SliceInfo *_this, double value);
201
208
214MRC_API const int *MR_SliceInfo_Get_fileNum(const MR_SliceInfo *_this);
215
220MRC_API void MR_SliceInfo_Set_fileNum(MR_SliceInfo *_this, int value);
221
228
232
237
240MRC_API const MR_SliceInfo *MR_SliceInfo_OffsetPtr(const MR_SliceInfo *ptr, ptrdiff_t i);
241
245
250
254
260
262MRC_API void MR_SliceInfo_Destroy(const MR_SliceInfo *_this);
263
265MRC_API void MR_SliceInfo_DestroyArray(const MR_SliceInfo *_this);
266
274
280
286
291
292#ifdef __cplusplus
293} // extern "C"
294#endif
MRC_API MR_SliceInfo * MR_SliceInfo_ConstructFromAnother(const MR_SliceInfo *_other)
MRC_API void MR_SliceInfo_Set_imagePos(MR_SliceInfo *_this, MR_Vector3d value)
MRC_API const double * MR_SliceInfoBase_Get_z(const MR_SliceInfoBase *_this)
struct MR_SliceInfoBase MR_SliceInfoBase
Definition MRScanHelpers.h:23
MRC_API MR_SliceInfoBase * MR_SliceInfoBase_AssignFromAnother(MR_SliceInfoBase *_this, const MR_SliceInfoBase *_other)
MRC_API const int * MR_SliceInfoBase_Get_instanceNum(const MR_SliceInfoBase *_this)
MRC_API MR_SliceInfo * MR_SliceInfo_DefaultConstructArray(size_t num_elems)
MRC_API const MR_SliceInfo * MR_SliceInfo_OffsetPtr(const MR_SliceInfo *ptr, ptrdiff_t i)
MRC_API double * MR_SliceInfoBase_GetMutable_z(MR_SliceInfoBase *_this)
MRC_API void MR_SliceInfo_DestroyArray(const MR_SliceInfo *_this)
Destroys a heap-allocated array of MR_SliceInfo. Does nothing if the pointer is null.
struct MR_SliceInfo MR_SliceInfo
Definition MRScanHelpers.h:33
MRC_API void MR_SliceInfo_Set_instanceNum(MR_SliceInfo *_this, int value)
MRC_API const MR_SliceInfo * MR_SliceInfoBase_StaticDowncastTo_MR_SliceInfo(const MR_SliceInfoBase *object)
MRC_API MR_SliceInfo * MR_SliceInfo_AssignFromAnother(MR_SliceInfo *_this, const MR_SliceInfo *_other)
MRC_API const int * MR_SliceInfo_Get_instanceNum(const MR_SliceInfo *_this)
MRC_API int * MR_SliceInfo_GetMutable_instanceNum(MR_SliceInfo *_this)
MRC_API const MR_SliceInfoBase * MR_SliceInfo_UpcastTo_MR_SliceInfoBase(const MR_SliceInfo *object)
MRC_API const int * MR_SliceInfo_Get_fileNum(const MR_SliceInfo *_this)
MRC_API MR_SliceInfo * MR_SliceInfo_DefaultConstruct(void)
MRC_API void MR_sortScansByOrder(MR_std_vector_std_filesystem_path *scans, MR_std_vector_MR_SliceInfo *zOrder)
MRC_API int * MR_SliceInfo_GetMutable_fileNum(MR_SliceInfo *_this)
MRC_API double * MR_SliceInfo_GetMutable_z(MR_SliceInfo *_this)
MRC_API int * MR_SliceInfoBase_GetMutable_fileNum(MR_SliceInfoBase *_this)
struct MR_std_vector_MR_SliceInfo MR_std_vector_MR_SliceInfo
Definition MRScanHelpers.h:12
MRC_API void MR_sortScanFilesByName(MR_std_vector_std_filesystem_path *scans)
MRC_API MR_SliceInfoBase * MR_SliceInfoBase_DefaultConstruct(void)
MRC_API MR_SliceInfoBase * MR_SliceInfo_MutableUpcastTo_MR_SliceInfoBase(MR_SliceInfo *object)
MRC_API void MR_SliceInfoBase_DestroyArray(const MR_SliceInfoBase *_this)
Destroys a heap-allocated array of MR_SliceInfoBase. Does nothing if the pointer is null.
MRC_API void MR_SliceInfoBase_Set_instanceNum(MR_SliceInfoBase *_this, int value)
MRC_API const MR_SliceInfoBase * MR_SliceInfoBase_OffsetPtr(const MR_SliceInfoBase *ptr, ptrdiff_t i)
MRC_API MR_SliceInfoBase * MR_SliceInfoBase_ConstructFromAnother(const MR_SliceInfoBase *_other)
MRC_API MR_SliceInfoBase * MR_SliceInfoBase_ConstructFrom(int instanceNum, double z, int fileNum)
MRC_API MR_SliceInfoBase * MR_SliceInfoBase_DefaultConstructArray(size_t num_elems)
MRC_API void MR_SliceInfo_Destroy(const MR_SliceInfo *_this)
Destroys a heap-allocated instance of MR_SliceInfo. Does nothing if the pointer is null.
MRC_API void MR_SliceInfoBase_Destroy(const MR_SliceInfoBase *_this)
Destroys a heap-allocated instance of MR_SliceInfoBase. Does nothing if the pointer is null.
MRC_API void MR_putScanFileNameInZ(const MR_std_vector_std_filesystem_path *scans, MR_std_vector_MR_SliceInfo *zOrder)
MRC_API MR_Vector3d * MR_SliceInfo_GetMutable_imagePos(MR_SliceInfo *_this)
MRC_API void MR_SliceInfo_Set_z(MR_SliceInfo *_this, double value)
MRC_API void MR_SliceInfoBase_Set_fileNum(MR_SliceInfoBase *_this, int value)
MRC_API MR_SliceInfo * MR_SliceInfo_OffsetMutablePtr(MR_SliceInfo *ptr, ptrdiff_t i)
MRC_API void MR_SliceInfo_Set_fileNum(MR_SliceInfo *_this, int value)
MRC_API const MR_Vector3d * MR_SliceInfo_Get_imagePos(const MR_SliceInfo *_this)
MRC_API void MR_SliceInfoBase_Set_z(MR_SliceInfoBase *_this, double value)
MRC_API const double * MR_SliceInfo_Get_z(const MR_SliceInfo *_this)
MRC_API MR_SliceInfoBase * MR_SliceInfoBase_OffsetMutablePtr(MR_SliceInfoBase *ptr, ptrdiff_t i)
MRC_API int * MR_SliceInfoBase_GetMutable_instanceNum(MR_SliceInfoBase *_this)
MRC_API MR_SliceInfo * MR_SliceInfoBase_MutableStaticDowncastTo_MR_SliceInfo(MR_SliceInfoBase *object)
MRC_API const int * MR_SliceInfoBase_Get_fileNum(const MR_SliceInfoBase *_this)
struct MR_std_vector_std_filesystem_path MR_std_vector_std_filesystem_path
Definition MRSceneLoad.h:20
Generated from class MR::Vector3d.
Definition MRVector3.h:55