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

Go to the source code of this file.

Typedefs

typedef enum MR_ConeFitterType MR_ConeFitterType
 
typedef struct MR_Cone3ApproximationParams MR_Cone3ApproximationParams
 

Enumerations

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

Functions

MRC_API const int * MR_Cone3ApproximationParams_Get_levenbergMarquardtMaxIteration (const MR_Cone3ApproximationParams *_this)
 
MRC_API void MR_Cone3ApproximationParams_Set_levenbergMarquardtMaxIteration (MR_Cone3ApproximationParams *_this, int value)
 
MRC_API int * 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 int * MR_Cone3ApproximationParams_Get_hemisphereSearchPhiResolution (const MR_Cone3ApproximationParams *_this)
 
MRC_API void MR_Cone3ApproximationParams_Set_hemisphereSearchPhiResolution (MR_Cone3ApproximationParams *_this, int value)
 
MRC_API int * MR_Cone3ApproximationParams_GetMutable_hemisphereSearchPhiResolution (MR_Cone3ApproximationParams *_this)
 
MRC_API const int * MR_Cone3ApproximationParams_Get_hemisphereSearchThetaResolution (const MR_Cone3ApproximationParams *_this)
 
MRC_API void MR_Cone3ApproximationParams_Set_hemisphereSearchThetaResolution (MR_Cone3ApproximationParams *_this, int value)
 
MRC_API int * 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 (int levenbergMarquardtMaxIteration, MR_ConeFitterType coneFitterType, int hemisphereSearchPhiResolution, int hemisphereSearchThetaResolution)
 
MRC_API const MR_Cone3ApproximationParamsMR_Cone3ApproximationParams_OffsetPtr (const MR_Cone3ApproximationParams *ptr, ptrdiff_t i)
 
MRC_API MR_Cone3ApproximationParamsMR_Cone3ApproximationParams_OffsetMutablePtr (MR_Cone3ApproximationParams *ptr, ptrdiff_t i)
 
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

Generated from class MR::Cone3ApproximationParams. Supported MR_PassBy modes: MR_PassBy_DefaultConstruct, MR_PassBy_Copy, MR_PassBy_Move (and MR_PassBy_DefaultArgument and MR_PassBy_NoObject if supported by the callee).

◆ MR_ConeFitterType

Enumeration Type Documentation

◆ MR_ConeFitterType

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 method MR::Cone3ApproximationParams::operator=. Parameter _this can not be null. It is a single object. Parameter _other can not be null. It is a single object. The reference to things referred to by the parameter _other (if any) might be preserved in this object. The returned pointer will never be null. It is non-owning, do NOT destroy it. When this function is called, this object will drop any object references it had previously.

◆ MR_Cone3ApproximationParams_ConstructFrom()

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

Constructs MR::Cone3ApproximationParams elementwise. The reference to the parameter coneFitterType might be preserved in the constructed 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. When this function is called, this object will drop any object references it had previously.

◆ MR_Cone3ApproximationParams_ConstructFromAnother()

MRC_API MR_Cone3ApproximationParams * MR_Cone3ApproximationParams_ConstructFromAnother ( const MR_Cone3ApproximationParams * _other)

Generated from constructor MR::Cone3ApproximationParams::Cone3ApproximationParams. Parameter _other can not be null. It is a single object. The reference to things referred to by the parameter _other (if any) might be preserved in the constructed 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 int * 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 int * 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 int * 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 int * 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 int * 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 int * 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. The reference to the parameter ptr might be preserved in the return value.

◆ 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. The reference to the parameter ptr might be preserved in the return value.

◆ 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. The reference to the parameter value might be preserved in this object in element coneFitterType. When this function is called, this object will drop object references it had previously in coneFitterType.

◆ MR_Cone3ApproximationParams_Set_hemisphereSearchPhiResolution()

MRC_API void MR_Cone3ApproximationParams_Set_hemisphereSearchPhiResolution ( MR_Cone3ApproximationParams * _this,
int value )

Modifies a member variable of class MR::Cone3ApproximationParams named hemisphereSearchPhiResolution. Parameter _this can not be null. It is a single object. When this function is called, this object will drop object references it had previously in hemisphereSearchPhiResolution.

◆ MR_Cone3ApproximationParams_Set_hemisphereSearchThetaResolution()

MRC_API void MR_Cone3ApproximationParams_Set_hemisphereSearchThetaResolution ( MR_Cone3ApproximationParams * _this,
int value )

Modifies a member variable of class MR::Cone3ApproximationParams named hemisphereSearchThetaResolution. Parameter _this can not be null. It is a single object. When this function is called, this object will drop object references it had previously in hemisphereSearchThetaResolution.

◆ MR_Cone3ApproximationParams_Set_levenbergMarquardtMaxIteration()

MRC_API void MR_Cone3ApproximationParams_Set_levenbergMarquardtMaxIteration ( MR_Cone3ApproximationParams * _this,
int value )

Modifies a member variable of class MR::Cone3ApproximationParams named levenbergMarquardtMaxIteration. Parameter _this can not be null. It is a single object. When this function is called, this object will drop object references it had previously in levenbergMarquardtMaxIteration.