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#include <stdint.h>
8
9#ifdef __cplusplus
10extern "C" {
11#endif
12
13typedef struct MR_std_vector_MR_SliceInfo MR_std_vector_MR_SliceInfo; // Defined in `#include <MRCMisc/std_vector_MR_SliceInfo.h>`.
14typedef struct MR_std_vector_std_filesystem_path MR_std_vector_std_filesystem_path; // Defined in `#include <MRCMisc/std_vector_std_filesystem_path.h>`.
15
16
24
33
39
44
50
56
61
67
73
78
84
88
93
96MRC_API MR_SliceInfoBase *MR_SliceInfoBase_ConstructFrom(int32_t instanceNum, double z, int32_t fileNum);
97
100
103
108
112
117
120
123
129
135
140
146
150
155
158
161
165
168
173
176
179
185
191
197
202
203#ifdef __cplusplus
204} // extern "C"
205#endif
MRC_API MR_SliceInfo * MR_SliceInfo_ConstructFromAnother(const MR_SliceInfo *_other)
MRC_API void MR_SliceInfoBase_Set_instanceNum(MR_SliceInfoBase *_this, int32_t value)
MRC_API void MR_SliceInfo_Set_imagePos(MR_SliceInfo *_this, MR_Vector3d value)
MRC_API const int32_t * MR_SliceInfoBase_Get_instanceNum(const MR_SliceInfoBase *_this)
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 MR_SliceInfo * MR_SliceInfo_DefaultConstructArray(size_t num_elems)
MRC_API const MR_SliceInfo * MR_SliceInfo_OffsetPtr(const MR_SliceInfo *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 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 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 MR_SliceInfoBase * MR_SliceInfo_UpcastTo_MR_SliceInfoBase(const MR_SliceInfo *object)
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 MR_SliceInfoBase * MR_SliceInfoBase_ConstructFrom(int32_t instanceNum, double z, int32_t fileNum)
MRC_API const int32_t * MR_SliceInfoBase_Get_fileNum(const MR_SliceInfoBase *_this)
MRC_API void MR_sortScanFilesByName(MR_std_vector_std_filesystem_path *scans)
MRC_API void MR_SliceInfoBase_Set_fileNum(MR_SliceInfoBase *_this, int32_t value)
MRC_API MR_SliceInfoBase * MR_SliceInfoBase_DefaultConstruct(void)
MRC_API int32_t * MR_SliceInfoBase_GetMutable_fileNum(MR_SliceInfoBase *_this)
MRC_API MR_SliceInfoBase * MR_SliceInfo_MutableUpcastTo_MR_SliceInfoBase(MR_SliceInfo *object)
Upcasts an instance of MR::SliceInfo to its base class MR::SliceInfoBase.
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 const MR_SliceInfoBase * MR_SliceInfoBase_OffsetPtr(const MR_SliceInfoBase *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_SliceInfoBase * MR_SliceInfoBase_ConstructFromAnother(const MR_SliceInfoBase *_other)
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 MR_SliceInfo * MR_SliceInfo_OffsetMutablePtr(MR_SliceInfo *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 int32_t * MR_SliceInfoBase_GetMutable_instanceNum(MR_SliceInfoBase *_this)
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 MR_SliceInfoBase * MR_SliceInfoBase_OffsetMutablePtr(MR_SliceInfoBase *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_SliceInfo * MR_SliceInfoBase_MutableStaticDowncastTo_MR_SliceInfo(MR_SliceInfoBase *object)
struct MR_std_vector_std_filesystem_path MR_std_vector_std_filesystem_path
Definition MRSceneLoad.h:17
#define MRC_API
Definition 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
Definition MRVector3.h:60