MeshLib C Docs
Loading...
Searching...
No Matches
MRConeApproximator.h File Reference
#include <MRCMisc/exports.h>
#include <stddef.h>
#include <stdint.h>

Go to the source code of this file.

Typedefs

typedef int32_t MR_ConeFitterType
 
typedef struct MR_Cone3ApproximationParams MR_Cone3ApproximationParams
 Generated from class MR::Cone3ApproximationParams.
 

Enumerations

enum  { MR_ConeFitterType_ApproximationPCM = 0 , MR_ConeFitterType_HemisphereSearchFit = 1 , MR_ConeFitterType_SpecificAxisFit = 2 }
 

Functions

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 int32_t * MR_Cone3ApproximationParams_GetMutable_levenbergMarquardtMaxIteration (MR_Cone3ApproximationParams *_this)
 
MRC_API const MR_ConeFitterTypeMR_Cone3ApproximationParams_Get_coneFitterType (const MR_Cone3ApproximationParams *_this)
 
MRC_API void MR_Cone3ApproximationParams_Set_coneFitterType (MR_Cone3ApproximationParams *_this, MR_ConeFitterType value)
 
MRC_API MR_ConeFitterTypeMR_Cone3ApproximationParams_GetMutable_coneFitterType (MR_Cone3ApproximationParams *_this)
 
MRC_API const int32_t * MR_Cone3ApproximationParams_Get_hemisphereSearchPhiResolution (const MR_Cone3ApproximationParams *_this)
 
MRC_API void MR_Cone3ApproximationParams_Set_hemisphereSearchPhiResolution (MR_Cone3ApproximationParams *_this, int32_t value)
 
MRC_API int32_t * MR_Cone3ApproximationParams_GetMutable_hemisphereSearchPhiResolution (MR_Cone3ApproximationParams *_this)
 
MRC_API const int32_t * MR_Cone3ApproximationParams_Get_hemisphereSearchThetaResolution (const MR_Cone3ApproximationParams *_this)
 
MRC_API void MR_Cone3ApproximationParams_Set_hemisphereSearchThetaResolution (MR_Cone3ApproximationParams *_this, int32_t value)
 
MRC_API int32_t * MR_Cone3ApproximationParams_GetMutable_hemisphereSearchThetaResolution (MR_Cone3ApproximationParams *_this)
 
MRC_API MR_Cone3ApproximationParamsMR_Cone3ApproximationParams_DefaultConstruct (void)
 
MRC_API MR_Cone3ApproximationParamsMR_Cone3ApproximationParams_DefaultConstructArray (size_t num_elems)
 
MRC_API MR_Cone3ApproximationParamsMR_Cone3ApproximationParams_ConstructFrom (int32_t levenbergMarquardtMaxIteration, MR_ConeFitterType coneFitterType, int32_t hemisphereSearchPhiResolution, int32_t hemisphereSearchThetaResolution)
 
MRC_API const MR_Cone3ApproximationParamsMR_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 pointer points to an array element.
 
MRC_API MR_Cone3ApproximationParamsMR_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 pointer points to an array element.
 
MRC_API MR_Cone3ApproximationParamsMR_Cone3ApproximationParams_ConstructFromAnother (const MR_Cone3ApproximationParams *_other)
 
MRC_API void MR_Cone3ApproximationParams_Destroy (const MR_Cone3ApproximationParams *_this)
 Destroys a heap-allocated instance of MR_Cone3ApproximationParams. Does nothing if the pointer is null.
 
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_Cone3ApproximationParamsMR_Cone3ApproximationParams_AssignFromAnother (MR_Cone3ApproximationParams *_this, const MR_Cone3ApproximationParams *_other)
 

Typedef Documentation

◆ MR_Cone3ApproximationParams

◆ MR_ConeFitterType

typedef int32_t MR_ConeFitterType

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
MR_ConeFitterType_ApproximationPCM 
MR_ConeFitterType_HemisphereSearchFit 
MR_ConeFitterType_SpecificAxisFit 

Function Documentation

◆ MR_Cone3ApproximationParams_AssignFromAnother()

MRC_API MR_Cone3ApproximationParams * MR_Cone3ApproximationParams_AssignFromAnother ( MR_Cone3ApproximationParams * _this,
const MR_Cone3ApproximationParams * _other )

Generated from a method of class MR::Cone3ApproximationParams named operator=. Parameter _this can not be null. It is a single object. Parameter _other can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.

◆ MR_Cone3ApproximationParams_ConstructFrom()

MRC_API MR_Cone3ApproximationParams * MR_Cone3ApproximationParams_ConstructFrom ( int32_t levenbergMarquardtMaxIteration,
MR_ConeFitterType coneFitterType,
int32_t hemisphereSearchPhiResolution,
int32_t hemisphereSearchThetaResolution )

Constructs MR::Cone3ApproximationParams elementwise. Never returns null. Returns an instance allocated on the heap! Must call MR_Cone3ApproximationParams_Destroy() to free it when you're done using it.

◆ MR_Cone3ApproximationParams_ConstructFromAnother()

MRC_API MR_Cone3ApproximationParams * MR_Cone3ApproximationParams_ConstructFromAnother ( const MR_Cone3ApproximationParams * _other)

Generated from a constructor of class MR::Cone3ApproximationParams. Parameter _other can not be null. It is a single object. Never returns null. Returns an instance allocated on the heap! Must call MR_Cone3ApproximationParams_Destroy() to free it when you're done using it.

◆ MR_Cone3ApproximationParams_DefaultConstruct()

MRC_API MR_Cone3ApproximationParams * MR_Cone3ApproximationParams_DefaultConstruct ( void )

Constructs an empty (default-constructed) instance. Never returns null. Returns an instance allocated on the heap! Must call MR_Cone3ApproximationParams_Destroy() to free it when you're done using it.

◆ MR_Cone3ApproximationParams_DefaultConstructArray()

MRC_API MR_Cone3ApproximationParams * MR_Cone3ApproximationParams_DefaultConstructArray ( size_t num_elems)

Constructs an array of empty (default-constructed) instances, of the specified size. Will never return null. The array must be destroyed using MR_Cone3ApproximationParams_DestroyArray(). Use MR_Cone3ApproximationParams_OffsetMutablePtr() and MR_Cone3ApproximationParams_OffsetPtr() to access the array elements.

◆ MR_Cone3ApproximationParams_Destroy()

MRC_API void MR_Cone3ApproximationParams_Destroy ( const MR_Cone3ApproximationParams * _this)

Destroys a heap-allocated instance of MR_Cone3ApproximationParams. Does nothing if the pointer is null.

◆ MR_Cone3ApproximationParams_DestroyArray()

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.

◆ MR_Cone3ApproximationParams_Get_coneFitterType()

MRC_API const MR_ConeFitterType * MR_Cone3ApproximationParams_Get_coneFitterType ( const MR_Cone3ApproximationParams * _this)

Returns a pointer to a member variable of class MR::Cone3ApproximationParams named coneFitterType. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.

◆ MR_Cone3ApproximationParams_Get_hemisphereSearchPhiResolution()

MRC_API const int32_t * MR_Cone3ApproximationParams_Get_hemisphereSearchPhiResolution ( const MR_Cone3ApproximationParams * _this)

Returns a pointer to a member variable of class MR::Cone3ApproximationParams named hemisphereSearchPhiResolution. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.

◆ MR_Cone3ApproximationParams_Get_hemisphereSearchThetaResolution()

MRC_API const int32_t * MR_Cone3ApproximationParams_Get_hemisphereSearchThetaResolution ( const MR_Cone3ApproximationParams * _this)

Returns a pointer to a member variable of class MR::Cone3ApproximationParams named hemisphereSearchThetaResolution. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.

◆ MR_Cone3ApproximationParams_Get_levenbergMarquardtMaxIteration()

MRC_API const int32_t * MR_Cone3ApproximationParams_Get_levenbergMarquardtMaxIteration ( const MR_Cone3ApproximationParams * _this)

Returns a pointer to a member variable of class MR::Cone3ApproximationParams named levenbergMarquardtMaxIteration. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.

◆ MR_Cone3ApproximationParams_GetMutable_coneFitterType()

MRC_API MR_ConeFitterType * MR_Cone3ApproximationParams_GetMutable_coneFitterType ( MR_Cone3ApproximationParams * _this)

Returns a mutable pointer to a member variable of class MR::Cone3ApproximationParams named coneFitterType. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.

◆ MR_Cone3ApproximationParams_GetMutable_hemisphereSearchPhiResolution()

MRC_API int32_t * MR_Cone3ApproximationParams_GetMutable_hemisphereSearchPhiResolution ( MR_Cone3ApproximationParams * _this)

Returns a mutable pointer to a member variable of class MR::Cone3ApproximationParams named hemisphereSearchPhiResolution. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.

◆ MR_Cone3ApproximationParams_GetMutable_hemisphereSearchThetaResolution()

MRC_API int32_t * MR_Cone3ApproximationParams_GetMutable_hemisphereSearchThetaResolution ( MR_Cone3ApproximationParams * _this)

Returns a mutable pointer to a member variable of class MR::Cone3ApproximationParams named hemisphereSearchThetaResolution. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.

◆ MR_Cone3ApproximationParams_GetMutable_levenbergMarquardtMaxIteration()

MRC_API int32_t * MR_Cone3ApproximationParams_GetMutable_levenbergMarquardtMaxIteration ( MR_Cone3ApproximationParams * _this)

Returns a mutable pointer to a member variable of class MR::Cone3ApproximationParams named levenbergMarquardtMaxIteration. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.

◆ MR_Cone3ApproximationParams_OffsetMutablePtr()

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 pointer points to an array element.

◆ MR_Cone3ApproximationParams_OffsetPtr()

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 pointer points to an array element.

◆ MR_Cone3ApproximationParams_Set_coneFitterType()

MRC_API void MR_Cone3ApproximationParams_Set_coneFitterType ( MR_Cone3ApproximationParams * _this,
MR_ConeFitterType value )

Modifies a member variable of class MR::Cone3ApproximationParams named coneFitterType. Parameter _this can not be null. It is a single object.

◆ MR_Cone3ApproximationParams_Set_hemisphereSearchPhiResolution()

MRC_API void MR_Cone3ApproximationParams_Set_hemisphereSearchPhiResolution ( MR_Cone3ApproximationParams * _this,
int32_t value )

Modifies a member variable of class MR::Cone3ApproximationParams named hemisphereSearchPhiResolution. Parameter _this can not be null. It is a single object.

◆ MR_Cone3ApproximationParams_Set_hemisphereSearchThetaResolution()

MRC_API void MR_Cone3ApproximationParams_Set_hemisphereSearchThetaResolution ( MR_Cone3ApproximationParams * _this,
int32_t value )

Modifies a member variable of class MR::Cone3ApproximationParams named hemisphereSearchThetaResolution. Parameter _this can not be null. It is a single object.

◆ MR_Cone3ApproximationParams_Set_levenbergMarquardtMaxIteration()

MRC_API void MR_Cone3ApproximationParams_Set_levenbergMarquardtMaxIteration ( MR_Cone3ApproximationParams * _this,
int32_t value )

Modifies a member variable of class MR::Cone3ApproximationParams named levenbergMarquardtMaxIteration. Parameter _this can not be null. It is a single object.