MeshLib C Docs
Loading...
Searching...
No Matches
MRConeApproximator.h
Go to the documentation of this file.
1#pragma once
2
3#include <MRCMisc/exports.h>
4
5#include <stddef.h>
6#include <stdint.h>
7
8#ifdef __cplusplus
9extern "C" {
10#endif
11
12
13typedef int32_t MR_ConeFitterType;
14enum // MR_ConeFitterType
15{
16 // approximation of cone axis by principal component method
20};
21
24
29
33
38
43
47
52
57
61
66
71
75
80
84
89
92MRC_API MR_Cone3ApproximationParams *MR_Cone3ApproximationParams_ConstructFrom(int32_t levenbergMarquardtMaxIteration, MR_ConeFitterType coneFitterType, int32_t hemisphereSearchPhiResolution, int32_t hemisphereSearchThetaResolution);
93
96
99
104
107
110
116
117#ifdef __cplusplus
118} // extern "C"
119#endif
MRC_API int32_t * MR_Cone3ApproximationParams_GetMutable_hemisphereSearchPhiResolution(MR_Cone3ApproximationParams *_this)
MRC_API MR_Cone3ApproximationParams * MR_Cone3ApproximationParams_DefaultConstruct(void)
MRC_API MR_Cone3ApproximationParams * MR_Cone3ApproximationParams_ConstructFromAnother(const MR_Cone3ApproximationParams *_other)
int32_t MR_ConeFitterType
Definition MRConeApproximator.h:13
MRC_API void MR_Cone3ApproximationParams_Set_hemisphereSearchPhiResolution(MR_Cone3ApproximationParams *_this, int32_t value)
MRC_API const int32_t * MR_Cone3ApproximationParams_Get_hemisphereSearchPhiResolution(const MR_Cone3ApproximationParams *_this)
MRC_API const int32_t * MR_Cone3ApproximationParams_Get_levenbergMarquardtMaxIteration(const MR_Cone3ApproximationParams *_this)
MRC_API void MR_Cone3ApproximationParams_Set_levenbergMarquardtMaxIteration(MR_Cone3ApproximationParams *_this, int32_t value)
MRC_API MR_Cone3ApproximationParams * MR_Cone3ApproximationParams_DefaultConstructArray(size_t num_elems)
MRC_API MR_ConeFitterType * MR_Cone3ApproximationParams_GetMutable_coneFitterType(MR_Cone3ApproximationParams *_this)
MRC_API const MR_Cone3ApproximationParams * MR_Cone3ApproximationParams_OffsetPtr(const MR_Cone3ApproximationParams *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_ConeFitterType_SpecificAxisFit
Definition MRConeApproximator.h:19
@ MR_ConeFitterType_ApproximationPCM
Definition MRConeApproximator.h:17
@ MR_ConeFitterType_HemisphereSearchFit
Definition MRConeApproximator.h:18
MRC_API int32_t * MR_Cone3ApproximationParams_GetMutable_levenbergMarquardtMaxIteration(MR_Cone3ApproximationParams *_this)
MRC_API void MR_Cone3ApproximationParams_DestroyArray(const MR_Cone3ApproximationParams *_this)
Destroys a heap-allocated array of MR_Cone3ApproximationParams. Does nothing if the pointer is null.
MRC_API void MR_Cone3ApproximationParams_Set_hemisphereSearchThetaResolution(MR_Cone3ApproximationParams *_this, int32_t value)
MRC_API MR_Cone3ApproximationParams * MR_Cone3ApproximationParams_OffsetMutablePtr(MR_Cone3ApproximationParams *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 const int32_t * MR_Cone3ApproximationParams_Get_hemisphereSearchThetaResolution(const MR_Cone3ApproximationParams *_this)
MRC_API void MR_Cone3ApproximationParams_Set_coneFitterType(MR_Cone3ApproximationParams *_this, MR_ConeFitterType value)
MRC_API MR_Cone3ApproximationParams * MR_Cone3ApproximationParams_AssignFromAnother(MR_Cone3ApproximationParams *_this, const MR_Cone3ApproximationParams *_other)
MRC_API const MR_ConeFitterType * MR_Cone3ApproximationParams_Get_coneFitterType(const MR_Cone3ApproximationParams *_this)
MRC_API int32_t * MR_Cone3ApproximationParams_GetMutable_hemisphereSearchThetaResolution(MR_Cone3ApproximationParams *_this)
struct MR_Cone3ApproximationParams MR_Cone3ApproximationParams
Generated from class MR::Cone3ApproximationParams.
Definition MRConeApproximator.h:23
MRC_API void MR_Cone3ApproximationParams_Destroy(const MR_Cone3ApproximationParams *_this)
Destroys a heap-allocated instance of MR_Cone3ApproximationParams. Does nothing if the pointer is nul...
MRC_API MR_Cone3ApproximationParams * MR_Cone3ApproximationParams_ConstructFrom(int32_t levenbergMarquardtMaxIteration, MR_ConeFitterType coneFitterType, int32_t hemisphereSearchPhiResolution, int32_t hemisphereSearchThetaResolution)
#define MRC_API
Definition exports.h:11