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
7#ifdef __cplusplus
8extern "C" {
9#endif
10
11
13{
14 // approximation of cone axis by principal component method
19
22
27
31
36
41
45
50
55
59
64
69
73
78
82
87
90MRC_API MR_Cone3ApproximationParams *MR_Cone3ApproximationParams_ConstructFrom(int levenbergMarquardtMaxIteration, MR_ConeFitterType coneFitterType, int hemisphereSearchPhiResolution, int hemisphereSearchThetaResolution);
91
94
97
102
105
108
114
115#ifdef __cplusplus
116} // extern "C"
117#endif
MRC_API MR_Cone3ApproximationParams * MR_Cone3ApproximationParams_DefaultConstruct(void)
MRC_API MR_Cone3ApproximationParams * MR_Cone3ApproximationParams_ConstructFromAnother(const MR_Cone3ApproximationParams *_other)
MRC_API void MR_Cone3ApproximationParams_Set_levenbergMarquardtMaxIteration(MR_Cone3ApproximationParams *_this, int value)
MRC_API int * MR_Cone3ApproximationParams_GetMutable_hemisphereSearchThetaResolution(MR_Cone3ApproximationParams *_this)
MRC_API const int * MR_Cone3ApproximationParams_Get_hemisphereSearchPhiResolution(const MR_Cone3ApproximationParams *_this)
MRC_API void MR_Cone3ApproximationParams_Set_hemisphereSearchThetaResolution(MR_Cone3ApproximationParams *_this, int value)
MRC_API int * MR_Cone3ApproximationParams_GetMutable_hemisphereSearchPhiResolution(MR_Cone3ApproximationParams *_this)
MRC_API int * MR_Cone3ApproximationParams_GetMutable_levenbergMarquardtMaxIteration(MR_Cone3ApproximationParams *_this)
MR_ConeFitterType
Definition MRConeApproximator.h:13
@ MR_ConeFitterType_SpecificAxisFit
Definition MRConeApproximator.h:17
@ MR_ConeFitterType_ApproximationPCM
Definition MRConeApproximator.h:15
@ MR_ConeFitterType_HemisphereSearchFit
Definition MRConeApproximator.h:16
MRC_API MR_Cone3ApproximationParams * MR_Cone3ApproximationParams_DefaultConstructArray(size_t num_elems)
MRC_API MR_ConeFitterType * MR_Cone3ApproximationParams_GetMutable_coneFitterType(MR_Cone3ApproximationParams *_this)
MRC_API MR_Cone3ApproximationParams * MR_Cone3ApproximationParams_ConstructFrom(int levenbergMarquardtMaxIteration, MR_ConeFitterType coneFitterType, int hemisphereSearchPhiResolution, int hemisphereSearchThetaResolution)
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...
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 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 void MR_Cone3ApproximationParams_Set_hemisphereSearchPhiResolution(MR_Cone3ApproximationParams *_this, int value)
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)
struct MR_Cone3ApproximationParams MR_Cone3ApproximationParams
Generated from class MR::Cone3ApproximationParams.
Definition MRConeApproximator.h:21
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 const int * MR_Cone3ApproximationParams_Get_levenbergMarquardtMaxIteration(const MR_Cone3ApproximationParams *_this)
MRC_API const int * MR_Cone3ApproximationParams_Get_hemisphereSearchThetaResolution(const MR_Cone3ApproximationParams *_this)
#define MRC_API
Definition exports.h:11