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

Go to the source code of this file.

Typedefs

typedef struct MR_VertColors MR_VertColors
 
typedef struct MR_std_function_bool_from_float MR_std_function_bool_from_float
 
typedef struct MR_LinesLoadSettings MR_LinesLoadSettings
 

Functions

MRC_API MR_VertColors *const * MR_LinesLoadSettings_Get_colors (const MR_LinesLoadSettings *_this)
 
MRC_API void MR_LinesLoadSettings_Set_colors (MR_LinesLoadSettings *_this, MR_VertColors *value)
 
MRC_API MR_VertColors ** MR_LinesLoadSettings_GetMutable_colors (MR_LinesLoadSettings *_this)
 
MRC_API const MR_std_function_bool_from_floatMR_LinesLoadSettings_Get_callback (const MR_LinesLoadSettings *_this)
 
MRC_API void MR_LinesLoadSettings_Set_callback (MR_LinesLoadSettings *_this, MR_PassBy value_pass_by, MR_std_function_bool_from_float *value)
 
MRC_API MR_std_function_bool_from_floatMR_LinesLoadSettings_GetMutable_callback (MR_LinesLoadSettings *_this)
 
MRC_API MR_LinesLoadSettingsMR_LinesLoadSettings_DefaultConstruct (void)
 
MRC_API MR_LinesLoadSettingsMR_LinesLoadSettings_DefaultConstructArray (size_t num_elems)
 
MRC_API MR_LinesLoadSettingsMR_LinesLoadSettings_ConstructFrom (MR_VertColors *colors, MR_PassBy callback_pass_by, MR_std_function_bool_from_float *callback)
 
MRC_API const MR_LinesLoadSettingsMR_LinesLoadSettings_OffsetPtr (const MR_LinesLoadSettings *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_LinesLoadSettingsMR_LinesLoadSettings_OffsetMutablePtr (MR_LinesLoadSettings *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_LinesLoadSettingsMR_LinesLoadSettings_ConstructFromAnother (MR_PassBy _other_pass_by, MR_LinesLoadSettings *_other)
 
MRC_API void MR_LinesLoadSettings_Destroy (const MR_LinesLoadSettings *_this)
 Destroys a heap-allocated instance of MR_LinesLoadSettings. Does nothing if the pointer is null.
 
MRC_API void MR_LinesLoadSettings_DestroyArray (const MR_LinesLoadSettings *_this)
 Destroys a heap-allocated array of MR_LinesLoadSettings. Does nothing if the pointer is null.
 
MRC_API MR_LinesLoadSettingsMR_LinesLoadSettings_AssignFromAnother (MR_LinesLoadSettings *_this, MR_PassBy _other_pass_by, MR_LinesLoadSettings *_other)
 

Typedef Documentation

◆ MR_LinesLoadSettings

setting for polyline loading from external format, and locations of optional output data Generated from class MR::LinesLoadSettings. optional load artifact: per-vertex color map Returns a pointer to a member variable of class MR::LinesLoadSettings named colors. 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_std_function_bool_from_float

◆ MR_VertColors

typedef struct MR_VertColors MR_VertColors

Function Documentation

◆ MR_LinesLoadSettings_AssignFromAnother()

MRC_API MR_LinesLoadSettings * MR_LinesLoadSettings_AssignFromAnother ( MR_LinesLoadSettings * _this,
MR_PassBy _other_pass_by,
MR_LinesLoadSettings * _other )

Generated from a method of class MR::LinesLoadSettings named operator=. 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_LinesLoadSettings_ConstructFrom()

MRC_API MR_LinesLoadSettings * MR_LinesLoadSettings_ConstructFrom ( MR_VertColors * colors,
MR_PassBy callback_pass_by,
MR_std_function_bool_from_float * callback )

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

◆ MR_LinesLoadSettings_ConstructFromAnother()

MRC_API MR_LinesLoadSettings * MR_LinesLoadSettings_ConstructFromAnother ( MR_PassBy _other_pass_by,
MR_LinesLoadSettings * _other )

Generated from a constructor of class MR::LinesLoadSettings. Never returns null. Returns an instance allocated on the heap! Must call MR_LinesLoadSettings_Destroy() to free it when you're done using it.

◆ MR_LinesLoadSettings_DefaultConstruct()

MRC_API MR_LinesLoadSettings * MR_LinesLoadSettings_DefaultConstruct ( void )

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

◆ MR_LinesLoadSettings_DefaultConstructArray()

MRC_API MR_LinesLoadSettings * MR_LinesLoadSettings_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_LinesLoadSettings_DestroyArray(). Use MR_LinesLoadSettings_OffsetMutablePtr() and MR_LinesLoadSettings_OffsetPtr() to access the array elements.

◆ MR_LinesLoadSettings_Destroy()

MRC_API void MR_LinesLoadSettings_Destroy ( const MR_LinesLoadSettings * _this)

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

◆ MR_LinesLoadSettings_DestroyArray()

MRC_API void MR_LinesLoadSettings_DestroyArray ( const MR_LinesLoadSettings * _this)

Destroys a heap-allocated array of MR_LinesLoadSettings. Does nothing if the pointer is null.

◆ MR_LinesLoadSettings_Get_callback()

MRC_API const MR_std_function_bool_from_float * MR_LinesLoadSettings_Get_callback ( const MR_LinesLoadSettings * _this)

callback for set progress and stop process Modifies a member variable of class MR::LinesLoadSettings named callback. Parameter _this can not be null. It is a single object.

◆ MR_LinesLoadSettings_Get_colors()

MRC_API MR_VertColors *const * MR_LinesLoadSettings_Get_colors ( const MR_LinesLoadSettings * _this)

optional load artifact: per-vertex color map Modifies a member variable of class MR::LinesLoadSettings named colors. Parameter _this can not be null. It is a single object.

◆ MR_LinesLoadSettings_GetMutable_callback()

MRC_API MR_std_function_bool_from_float * MR_LinesLoadSettings_GetMutable_callback ( MR_LinesLoadSettings * _this)

◆ MR_LinesLoadSettings_GetMutable_colors()

MRC_API MR_VertColors ** MR_LinesLoadSettings_GetMutable_colors ( MR_LinesLoadSettings * _this)

callback for set progress and stop process Returns a pointer to a member variable of class MR::LinesLoadSettings named callback. 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_LinesLoadSettings_OffsetMutablePtr()

MRC_API MR_LinesLoadSettings * MR_LinesLoadSettings_OffsetMutablePtr ( MR_LinesLoadSettings * 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_LinesLoadSettings_OffsetPtr()

MRC_API const MR_LinesLoadSettings * MR_LinesLoadSettings_OffsetPtr ( const MR_LinesLoadSettings * 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_LinesLoadSettings_Set_callback()

MRC_API void MR_LinesLoadSettings_Set_callback ( MR_LinesLoadSettings * _this,
MR_PassBy value_pass_by,
MR_std_function_bool_from_float * value )

callback for set progress and stop process Returns a mutable pointer to a member variable of class MR::LinesLoadSettings named callback. 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_LinesLoadSettings_Set_colors()

MRC_API void MR_LinesLoadSettings_Set_colors ( MR_LinesLoadSettings * _this,
MR_VertColors * value )

optional load artifact: per-vertex color map Returns a mutable pointer to a member variable of class MR::LinesLoadSettings named colors. 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.