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/compare.h>
5#include <MRCMisc/exports.h>
6
7#include <stdbool.h>
8#include <stddef.h>
9
10#ifdef __cplusplus
11extern "C" {
12#endif
13
14typedef struct MR_std_vector_MR_SliceInfo MR_std_vector_MR_SliceInfo; // Defined in `#include <MRCMisc/std_vector_MR_SliceInfo.h>`.
15typedef struct MR_std_vector_std_filesystem_path MR_std_vector_std_filesystem_path; // Defined in `#include <MRCMisc/std_vector_std_filesystem_path.h>`.
16
17
26
35typedef struct MR_SliceInfo MR_SliceInfo;
36
43
49
56
63
69
76
83
89
96
100
105
109MRC_API MR_SliceInfoBase *MR_SliceInfoBase_ConstructFrom(int instanceNum, double z, int fileNum);
110
114
118
124
127
130
138
143
148
153
158
163
168
173
180
187
194
201
207
214
220MRC_API const double *MR_SliceInfo_Get_z(const MR_SliceInfo *_this);
221
226MRC_API void MR_SliceInfo_Set_z(MR_SliceInfo *_this, double value);
227
234
241
247
254
258
263
267
271
276
280
286
291
297
300
303
311
316
321
326
331
336
341
346
352
358
363
364#ifdef __cplusplus
365} // extern "C"
366#endif
MRC_API MR_SliceInfo * MR_SliceInfo_ConstructFromAnother(const MR_SliceInfo *_other)
MRC_API bool MR_greater_equal_MR_SliceInfoBase(const MR_SliceInfoBase *_this, const MR_SliceInfoBase *_1)
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:25
MRC_API MR_SliceInfoBase * MR_SliceInfoBase_AssignFromAnother(MR_SliceInfoBase *_this, const MR_SliceInfoBase *_other)
MRC_API bool MR_less_MR_SliceInfo_MR_SliceInfoBase(const MR_SliceInfo *_this, const MR_SliceInfoBase *_1)
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 bool MR_less_equal_MR_SliceInfoBase(const MR_SliceInfoBase *_this, const MR_SliceInfoBase *_1)
MRC_API bool MR_less_MR_SliceInfoBase(const MR_SliceInfoBase *_this, const MR_SliceInfoBase *_1)
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 bool MR_less_equal_MR_SliceInfo_MR_SliceInfoBase(const MR_SliceInfo *_this, const MR_SliceInfoBase *_1)
MRC_API bool MR_equal_MR_SliceInfoBase(const MR_SliceInfoBase *_this, const MR_SliceInfoBase *_1)
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_std_partial_ordering MR_compare_three_way_MR_SliceInfoBase(const MR_SliceInfoBase *_this, const MR_SliceInfoBase *_1)
MRC_API bool MR_equal_MR_SliceInfo_MR_SliceInfoBase(const MR_SliceInfo *_this, const MR_SliceInfoBase *_1)
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 MR_std_partial_ordering MR_compare_three_way_MR_SliceInfo_MR_SliceInfoBase(const MR_SliceInfo *_this, const MR_SliceInfoBase *_1)
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 bool MR_not_equal_MR_SliceInfoBase(const MR_SliceInfoBase *_this, const MR_SliceInfoBase *_1)
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 bool MR_greater_MR_SliceInfoBase(const MR_SliceInfoBase *_this, const MR_SliceInfoBase *_1)
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 bool MR_greater_MR_SliceInfo_MR_SliceInfoBase(const MR_SliceInfo *_this, const MR_SliceInfoBase *_1)
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 bool MR_greater_equal_MR_SliceInfo_MR_SliceInfoBase(const MR_SliceInfo *_this, const MR_SliceInfoBase *_1)
MRC_API int * MR_SliceInfoBase_GetMutable_instanceNum(MR_SliceInfoBase *_this)
MRC_API bool MR_not_equal_MR_SliceInfo_MR_SliceInfoBase(const MR_SliceInfo *_this, const MR_SliceInfoBase *_1)
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
MR_std_partial_ordering
The result of a three-way comparison between values that are not necessarily ordered with respect to ...
Definition compare.h:10
#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