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
33typedef struct MR_SliceInfo MR_SliceInfo;
34
41
47
54
61
67
74
81
87
94
98
103
107MRC_API MR_SliceInfoBase *MR_SliceInfoBase_ConstructFrom(int instanceNum, double z, int fileNum);
108
112
116
122
125
128
136
143
150
157
164
170
177
183MRC_API const double *MR_SliceInfo_Get_z(const MR_SliceInfo *_this);
184
189MRC_API void MR_SliceInfo_Set_z(MR_SliceInfo *_this, double value);
190
197
204
210
217
221
226
230
234
239
243
249
254
260
263
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.
MRC_API void MR_SliceInfo_Set_instanceNum(MR_SliceInfo *_this, int value)
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)
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 MR_SliceInfo * MR_SliceInfo_MutableStaticDowncastFrom_MR_SliceInfoBase(MR_SliceInfoBase *object)
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 MR_SliceInfo * MR_SliceInfo_StaticDowncastFrom_MR_SliceInfoBase(const MR_SliceInfoBase *object)
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 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
#define MRC_API
Definition include/MRCMisc/exports.h:11
struct MR_SliceInfo MR_SliceInfo
Definition std_vector_MR_SliceInfo.h:13
struct MR_std_vector_MR_SliceInfo MR_std_vector_MR_SliceInfo
Definition std_vector_MR_SliceInfo.h:18
Generated from class MR::Vector3d.
Definition MRVector3.h:55