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

Go to the source code of this file.

Typedefs

typedef struct MR_DistanceToMeshOptions MR_DistanceToMeshOptions
 
typedef struct MR_DistanceVolumeParams MR_DistanceVolumeParams
 
typedef struct MR_Polyline3 MR_Polyline3
 
typedef struct MR_expected_MR_FloatGrid_std_string MR_expected_MR_FloatGrid_std_string
 
typedef struct MR_expected_MR_FunctionVolume_std_string MR_expected_MR_FunctionVolume_std_string
 
typedef struct MR_expected_MR_SimpleVolume_std_string MR_expected_MR_SimpleVolume_std_string
 
typedef struct MR_expected_MR_VdbVolume_std_string MR_expected_MR_VdbVolume_std_string
 
typedef struct MR_std_function_bool_from_float MR_std_function_bool_from_float
 
typedef struct MR_PolylineToDistanceVolumeParams MR_PolylineToDistanceVolumeParams
 Generated from class MR::PolylineToDistanceVolumeParams.
 
typedef struct MR_PolylineToVolumeParams MR_PolylineToVolumeParams
 

Functions

MRC_API const MR_Vector3fMR_PolylineToDistanceVolumeParams_Get_voxelSize (const MR_PolylineToDistanceVolumeParams *_this)
 
MRC_API void MR_PolylineToDistanceVolumeParams_Set_voxelSize (MR_PolylineToDistanceVolumeParams *_this, MR_Vector3f value)
 
MRC_API MR_Vector3fMR_PolylineToDistanceVolumeParams_GetMutable_voxelSize (MR_PolylineToDistanceVolumeParams *_this)
 
MRC_API const float * MR_PolylineToDistanceVolumeParams_Get_offsetCount (const MR_PolylineToDistanceVolumeParams *_this)
 
MRC_API void MR_PolylineToDistanceVolumeParams_Set_offsetCount (MR_PolylineToDistanceVolumeParams *_this, float value)
 
MRC_API float * MR_PolylineToDistanceVolumeParams_GetMutable_offsetCount (MR_PolylineToDistanceVolumeParams *_this)
 
MRC_API const MR_AffineXf3fMR_PolylineToDistanceVolumeParams_Get_worldXf (const MR_PolylineToDistanceVolumeParams *_this)
 
MRC_API void MR_PolylineToDistanceVolumeParams_Set_worldXf (MR_PolylineToDistanceVolumeParams *_this, MR_AffineXf3f value)
 
MRC_API MR_AffineXf3fMR_PolylineToDistanceVolumeParams_GetMutable_worldXf (MR_PolylineToDistanceVolumeParams *_this)
 
MRC_API MR_AffineXf3f *const * MR_PolylineToDistanceVolumeParams_Get_outXf (const MR_PolylineToDistanceVolumeParams *_this)
 
MRC_API void MR_PolylineToDistanceVolumeParams_Set_outXf (MR_PolylineToDistanceVolumeParams *_this, MR_AffineXf3f *value)
 
MRC_API MR_AffineXf3f ** MR_PolylineToDistanceVolumeParams_GetMutable_outXf (MR_PolylineToDistanceVolumeParams *_this)
 
MRC_API const MR_std_function_bool_from_floatMR_PolylineToDistanceVolumeParams_Get_cb (const MR_PolylineToDistanceVolumeParams *_this)
 
MRC_API void MR_PolylineToDistanceVolumeParams_Set_cb (MR_PolylineToDistanceVolumeParams *_this, MR_PassBy value_pass_by, MR_std_function_bool_from_float *value)
 
MRC_API MR_std_function_bool_from_floatMR_PolylineToDistanceVolumeParams_GetMutable_cb (MR_PolylineToDistanceVolumeParams *_this)
 
MRC_API MR_PolylineToDistanceVolumeParamsMR_PolylineToDistanceVolumeParams_DefaultConstruct (void)
 
MRC_API MR_PolylineToDistanceVolumeParamsMR_PolylineToDistanceVolumeParams_DefaultConstructArray (size_t num_elems)
 
MRC_API MR_PolylineToDistanceVolumeParamsMR_PolylineToDistanceVolumeParams_ConstructFrom (MR_Vector3f voxelSize, float offsetCount, MR_AffineXf3f worldXf, MR_AffineXf3f *outXf, MR_PassBy cb_pass_by, MR_std_function_bool_from_float *cb)
 
MRC_API const MR_PolylineToDistanceVolumeParamsMR_PolylineToDistanceVolumeParams_OffsetPtr (const MR_PolylineToDistanceVolumeParams *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_PolylineToDistanceVolumeParamsMR_PolylineToDistanceVolumeParams_OffsetMutablePtr (MR_PolylineToDistanceVolumeParams *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_PolylineToDistanceVolumeParamsMR_PolylineToDistanceVolumeParams_ConstructFromAnother (MR_PassBy _other_pass_by, MR_PolylineToDistanceVolumeParams *_other)
 
MRC_API void MR_PolylineToDistanceVolumeParams_Destroy (const MR_PolylineToDistanceVolumeParams *_this)
 Destroys a heap-allocated instance of MR_PolylineToDistanceVolumeParams. Does nothing if the pointer is null.
 
MRC_API void MR_PolylineToDistanceVolumeParams_DestroyArray (const MR_PolylineToDistanceVolumeParams *_this)
 Destroys a heap-allocated array of MR_PolylineToDistanceVolumeParams. Does nothing if the pointer is null.
 
MRC_API MR_PolylineToDistanceVolumeParamsMR_PolylineToDistanceVolumeParams_AssignFromAnother (MR_PolylineToDistanceVolumeParams *_this, MR_PassBy _other_pass_by, MR_PolylineToDistanceVolumeParams *_other)
 
MRC_API MR_expected_MR_FloatGrid_std_stringMR_polylineToDistanceField (const MR_Polyline3 *polyline, const MR_PolylineToDistanceVolumeParams *params)
 
MRC_API MR_expected_MR_VdbVolume_std_stringMR_polylineToVdbVolume (const MR_Polyline3 *polyline, const MR_PolylineToDistanceVolumeParams *params)
 
MRC_API const MR_DistanceVolumeParamsMR_PolylineToVolumeParams_Get_vol (const MR_PolylineToVolumeParams *_this)
 
MRC_API void MR_PolylineToVolumeParams_Set_vol (MR_PolylineToVolumeParams *_this, MR_PassBy value_pass_by, MR_DistanceVolumeParams *value)
 
MRC_API MR_DistanceVolumeParamsMR_PolylineToVolumeParams_GetMutable_vol (MR_PolylineToVolumeParams *_this)
 
MRC_API const MR_DistanceToMeshOptionsMR_PolylineToVolumeParams_Get_dist (const MR_PolylineToVolumeParams *_this)
 
MRC_API void MR_PolylineToVolumeParams_Set_dist (MR_PolylineToVolumeParams *_this, const MR_DistanceToMeshOptions *value)
 
MRC_API MR_DistanceToMeshOptionsMR_PolylineToVolumeParams_GetMutable_dist (MR_PolylineToVolumeParams *_this)
 
MRC_API MR_PolylineToVolumeParamsMR_PolylineToVolumeParams_DefaultConstruct (void)
 
MRC_API MR_PolylineToVolumeParamsMR_PolylineToVolumeParams_DefaultConstructArray (size_t num_elems)
 
MRC_API MR_PolylineToVolumeParamsMR_PolylineToVolumeParams_ConstructFrom (MR_PassBy vol_pass_by, MR_DistanceVolumeParams *vol, const MR_DistanceToMeshOptions *dist)
 
MRC_API const MR_PolylineToVolumeParamsMR_PolylineToVolumeParams_OffsetPtr (const MR_PolylineToVolumeParams *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_PolylineToVolumeParamsMR_PolylineToVolumeParams_OffsetMutablePtr (MR_PolylineToVolumeParams *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_PolylineToVolumeParamsMR_PolylineToVolumeParams_ConstructFromAnother (MR_PassBy _other_pass_by, MR_PolylineToVolumeParams *_other)
 
MRC_API void MR_PolylineToVolumeParams_Destroy (const MR_PolylineToVolumeParams *_this)
 Destroys a heap-allocated instance of MR_PolylineToVolumeParams. Does nothing if the pointer is null.
 
MRC_API void MR_PolylineToVolumeParams_DestroyArray (const MR_PolylineToVolumeParams *_this)
 Destroys a heap-allocated array of MR_PolylineToVolumeParams. Does nothing if the pointer is null.
 
MRC_API MR_PolylineToVolumeParamsMR_PolylineToVolumeParams_AssignFromAnother (MR_PolylineToVolumeParams *_this, MR_PassBy _other_pass_by, MR_PolylineToVolumeParams *_other)
 
MRC_API MR_expected_MR_SimpleVolume_std_stringMR_polylineToSimpleVolume (const MR_Polyline3 *polyline, const MR_PolylineToVolumeParams *params)
 
MRC_API MR_expected_MR_FunctionVolume_std_stringMR_polylineToFunctionVolume (const MR_Polyline3 *polyline, const MR_PolylineToVolumeParams *params)
 

Typedef Documentation

◆ MR_DistanceToMeshOptions

◆ MR_DistanceVolumeParams

◆ MR_expected_MR_FloatGrid_std_string

◆ MR_expected_MR_FunctionVolume_std_string

◆ MR_expected_MR_SimpleVolume_std_string

◆ MR_expected_MR_VdbVolume_std_string

◆ MR_Polyline3

typedef struct MR_Polyline3 MR_Polyline3

◆ MR_PolylineToDistanceVolumeParams

◆ MR_PolylineToVolumeParams

Settings to conversion polyline to volume Generated from class MR::PolylineToVolumeParams.

◆ MR_std_function_bool_from_float

Function Documentation

◆ MR_polylineToDistanceField()

MRC_API MR_expected_MR_FloatGrid_std_string * MR_polylineToDistanceField ( const MR_Polyline3 * polyline,
const MR_PolylineToDistanceVolumeParams * params )

convert polyline to voxels distance field Generated from function MR::polylineToDistanceField. Parameter polyline can not be null. It is a single object. Parameter params can not be null. It is a single object. Never returns null. Returns an instance allocated on the heap! Must call MR_expected_MR_FloatGrid_std_string_Destroy() to free it when you're done using it.

◆ MR_PolylineToDistanceVolumeParams_AssignFromAnother()

MRC_API MR_PolylineToDistanceVolumeParams * MR_PolylineToDistanceVolumeParams_AssignFromAnother ( MR_PolylineToDistanceVolumeParams * _this,
MR_PassBy _other_pass_by,
MR_PolylineToDistanceVolumeParams * _other )

Generated from a method of class MR::PolylineToDistanceVolumeParams 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_PolylineToDistanceVolumeParams_ConstructFrom()

MRC_API MR_PolylineToDistanceVolumeParams * MR_PolylineToDistanceVolumeParams_ConstructFrom ( MR_Vector3f voxelSize,
float offsetCount,
MR_AffineXf3f worldXf,
MR_AffineXf3f * outXf,
MR_PassBy cb_pass_by,
MR_std_function_bool_from_float * cb )

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

◆ MR_PolylineToDistanceVolumeParams_ConstructFromAnother()

MRC_API MR_PolylineToDistanceVolumeParams * MR_PolylineToDistanceVolumeParams_ConstructFromAnother ( MR_PassBy _other_pass_by,
MR_PolylineToDistanceVolumeParams * _other )

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

◆ MR_PolylineToDistanceVolumeParams_DefaultConstruct()

MRC_API MR_PolylineToDistanceVolumeParams * MR_PolylineToDistanceVolumeParams_DefaultConstruct ( void )

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

◆ MR_PolylineToDistanceVolumeParams_DefaultConstructArray()

MRC_API MR_PolylineToDistanceVolumeParams * MR_PolylineToDistanceVolumeParams_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_PolylineToDistanceVolumeParams_DestroyArray(). Use MR_PolylineToDistanceVolumeParams_OffsetMutablePtr() and MR_PolylineToDistanceVolumeParams_OffsetPtr() to access the array elements.

◆ MR_PolylineToDistanceVolumeParams_Destroy()

MRC_API void MR_PolylineToDistanceVolumeParams_Destroy ( const MR_PolylineToDistanceVolumeParams * _this)

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

◆ MR_PolylineToDistanceVolumeParams_DestroyArray()

MRC_API void MR_PolylineToDistanceVolumeParams_DestroyArray ( const MR_PolylineToDistanceVolumeParams * _this)

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

◆ MR_PolylineToDistanceVolumeParams_Get_cb()

MRC_API const MR_std_function_bool_from_float * MR_PolylineToDistanceVolumeParams_Get_cb ( const MR_PolylineToDistanceVolumeParams * _this)

Returns a pointer to a member variable of class MR::PolylineToDistanceVolumeParams named cb. 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_PolylineToDistanceVolumeParams_Get_offsetCount()

MRC_API const float * MR_PolylineToDistanceVolumeParams_Get_offsetCount ( const MR_PolylineToDistanceVolumeParams * _this)

offsetCount - the number of voxels around polyline to calculate distance in (should be positive) Returns a pointer to a member variable of class MR::PolylineToDistanceVolumeParams named offsetCount. 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_PolylineToDistanceVolumeParams_Get_outXf()

MRC_API MR_AffineXf3f *const * MR_PolylineToDistanceVolumeParams_Get_outXf ( const MR_PolylineToDistanceVolumeParams * _this)

Returns a pointer to a member variable of class MR::PolylineToDistanceVolumeParams named outXf. 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_PolylineToDistanceVolumeParams_Get_voxelSize()

MRC_API const MR_Vector3f * MR_PolylineToDistanceVolumeParams_Get_voxelSize ( const MR_PolylineToDistanceVolumeParams * _this)

Returns a pointer to a member variable of class MR::PolylineToDistanceVolumeParams named voxelSize. 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_PolylineToDistanceVolumeParams_Get_worldXf()

MRC_API const MR_AffineXf3f * MR_PolylineToDistanceVolumeParams_Get_worldXf ( const MR_PolylineToDistanceVolumeParams * _this)

Returns a pointer to a member variable of class MR::PolylineToDistanceVolumeParams named worldXf. 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_PolylineToDistanceVolumeParams_GetMutable_cb()

MRC_API MR_std_function_bool_from_float * MR_PolylineToDistanceVolumeParams_GetMutable_cb ( MR_PolylineToDistanceVolumeParams * _this)

Returns a mutable pointer to a member variable of class MR::PolylineToDistanceVolumeParams named cb. 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_PolylineToDistanceVolumeParams_GetMutable_offsetCount()

MRC_API float * MR_PolylineToDistanceVolumeParams_GetMutable_offsetCount ( MR_PolylineToDistanceVolumeParams * _this)

offsetCount - the number of voxels around polyline to calculate distance in (should be positive) Returns a mutable pointer to a member variable of class MR::PolylineToDistanceVolumeParams named offsetCount. 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_PolylineToDistanceVolumeParams_GetMutable_outXf()

MRC_API MR_AffineXf3f ** MR_PolylineToDistanceVolumeParams_GetMutable_outXf ( MR_PolylineToDistanceVolumeParams * _this)

Returns a mutable pointer to a member variable of class MR::PolylineToDistanceVolumeParams named outXf. 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_PolylineToDistanceVolumeParams_GetMutable_voxelSize()

MRC_API MR_Vector3f * MR_PolylineToDistanceVolumeParams_GetMutable_voxelSize ( MR_PolylineToDistanceVolumeParams * _this)

Returns a mutable pointer to a member variable of class MR::PolylineToDistanceVolumeParams named voxelSize. 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_PolylineToDistanceVolumeParams_GetMutable_worldXf()

MRC_API MR_AffineXf3f * MR_PolylineToDistanceVolumeParams_GetMutable_worldXf ( MR_PolylineToDistanceVolumeParams * _this)

Returns a mutable pointer to a member variable of class MR::PolylineToDistanceVolumeParams named worldXf. 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_PolylineToDistanceVolumeParams_OffsetMutablePtr()

MRC_API MR_PolylineToDistanceVolumeParams * MR_PolylineToDistanceVolumeParams_OffsetMutablePtr ( MR_PolylineToDistanceVolumeParams * 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_PolylineToDistanceVolumeParams_OffsetPtr()

MRC_API const MR_PolylineToDistanceVolumeParams * MR_PolylineToDistanceVolumeParams_OffsetPtr ( const MR_PolylineToDistanceVolumeParams * 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_PolylineToDistanceVolumeParams_Set_cb()

MRC_API void MR_PolylineToDistanceVolumeParams_Set_cb ( MR_PolylineToDistanceVolumeParams * _this,
MR_PassBy value_pass_by,
MR_std_function_bool_from_float * value )

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

◆ MR_PolylineToDistanceVolumeParams_Set_offsetCount()

MRC_API void MR_PolylineToDistanceVolumeParams_Set_offsetCount ( MR_PolylineToDistanceVolumeParams * _this,
float value )

offsetCount - the number of voxels around polyline to calculate distance in (should be positive) Modifies a member variable of class MR::PolylineToDistanceVolumeParams named offsetCount. Parameter _this can not be null. It is a single object.

◆ MR_PolylineToDistanceVolumeParams_Set_outXf()

MRC_API void MR_PolylineToDistanceVolumeParams_Set_outXf ( MR_PolylineToDistanceVolumeParams * _this,
MR_AffineXf3f * value )

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

◆ MR_PolylineToDistanceVolumeParams_Set_voxelSize()

MRC_API void MR_PolylineToDistanceVolumeParams_Set_voxelSize ( MR_PolylineToDistanceVolumeParams * _this,
MR_Vector3f value )

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

◆ MR_PolylineToDistanceVolumeParams_Set_worldXf()

MRC_API void MR_PolylineToDistanceVolumeParams_Set_worldXf ( MR_PolylineToDistanceVolumeParams * _this,
MR_AffineXf3f value )

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

◆ MR_polylineToFunctionVolume()

MRC_API MR_expected_MR_FunctionVolume_std_string * MR_polylineToFunctionVolume ( const MR_Polyline3 * polyline,
const MR_PolylineToVolumeParams * params )

convert polyline to function volume Generated from function MR::polylineToFunctionVolume. Parameter polyline can not be null. It is a single object. Parameter params can not be null. It is a single object. Never returns null. Returns an instance allocated on the heap! Must call MR_expected_MR_FunctionVolume_std_string_Destroy() to free it when you're done using it.

◆ MR_polylineToSimpleVolume()

MRC_API MR_expected_MR_SimpleVolume_std_string * MR_polylineToSimpleVolume ( const MR_Polyline3 * polyline,
const MR_PolylineToVolumeParams * params )

convert polyline to simple volume Generated from function MR::polylineToSimpleVolume. Parameter polyline can not be null. It is a single object. Parameter params can not be null. It is a single object. Never returns null. Returns an instance allocated on the heap! Must call MR_expected_MR_SimpleVolume_std_string_Destroy() to free it when you're done using it.

◆ MR_polylineToVdbVolume()

MRC_API MR_expected_MR_VdbVolume_std_string * MR_polylineToVdbVolume ( const MR_Polyline3 * polyline,
const MR_PolylineToDistanceVolumeParams * params )

convert polyline to VDB volume Generated from function MR::polylineToVdbVolume. Parameter polyline can not be null. It is a single object. Parameter params can not be null. It is a single object. Never returns null. Returns an instance allocated on the heap! Must call MR_expected_MR_VdbVolume_std_string_Destroy() to free it when you're done using it.

◆ MR_PolylineToVolumeParams_AssignFromAnother()

MRC_API MR_PolylineToVolumeParams * MR_PolylineToVolumeParams_AssignFromAnother ( MR_PolylineToVolumeParams * _this,
MR_PassBy _other_pass_by,
MR_PolylineToVolumeParams * _other )

Generated from a method of class MR::PolylineToVolumeParams 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_PolylineToVolumeParams_ConstructFrom()

MRC_API MR_PolylineToVolumeParams * MR_PolylineToVolumeParams_ConstructFrom ( MR_PassBy vol_pass_by,
MR_DistanceVolumeParams * vol,
const MR_DistanceToMeshOptions * dist )

Constructs MR::PolylineToVolumeParams elementwise. Parameter dist can not be null. It is a single object. Never returns null. Returns an instance allocated on the heap! Must call MR_PolylineToVolumeParams_Destroy() to free it when you're done using it.

◆ MR_PolylineToVolumeParams_ConstructFromAnother()

MRC_API MR_PolylineToVolumeParams * MR_PolylineToVolumeParams_ConstructFromAnother ( MR_PassBy _other_pass_by,
MR_PolylineToVolumeParams * _other )

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

◆ MR_PolylineToVolumeParams_DefaultConstruct()

MRC_API MR_PolylineToVolumeParams * MR_PolylineToVolumeParams_DefaultConstruct ( void )

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

◆ MR_PolylineToVolumeParams_DefaultConstructArray()

MRC_API MR_PolylineToVolumeParams * MR_PolylineToVolumeParams_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_PolylineToVolumeParams_DestroyArray(). Use MR_PolylineToVolumeParams_OffsetMutablePtr() and MR_PolylineToVolumeParams_OffsetPtr() to access the array elements.

◆ MR_PolylineToVolumeParams_Destroy()

MRC_API void MR_PolylineToVolumeParams_Destroy ( const MR_PolylineToVolumeParams * _this)

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

◆ MR_PolylineToVolumeParams_DestroyArray()

MRC_API void MR_PolylineToVolumeParams_DestroyArray ( const MR_PolylineToVolumeParams * _this)

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

◆ MR_PolylineToVolumeParams_Get_dist()

MRC_API const MR_DistanceToMeshOptions * MR_PolylineToVolumeParams_Get_dist ( const MR_PolylineToVolumeParams * _this)

Returns a pointer to a member variable of class MR::PolylineToVolumeParams named dist. 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_PolylineToVolumeParams_Get_vol()

MRC_API const MR_DistanceVolumeParams * MR_PolylineToVolumeParams_Get_vol ( const MR_PolylineToVolumeParams * _this)

Returns a pointer to a member variable of class MR::PolylineToVolumeParams named vol. 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_PolylineToVolumeParams_GetMutable_dist()

MRC_API MR_DistanceToMeshOptions * MR_PolylineToVolumeParams_GetMutable_dist ( MR_PolylineToVolumeParams * _this)

Returns a mutable pointer to a member variable of class MR::PolylineToVolumeParams named dist. 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_PolylineToVolumeParams_GetMutable_vol()

MRC_API MR_DistanceVolumeParams * MR_PolylineToVolumeParams_GetMutable_vol ( MR_PolylineToVolumeParams * _this)

Returns a mutable pointer to a member variable of class MR::PolylineToVolumeParams named vol. 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_PolylineToVolumeParams_OffsetMutablePtr()

MRC_API MR_PolylineToVolumeParams * MR_PolylineToVolumeParams_OffsetMutablePtr ( MR_PolylineToVolumeParams * 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_PolylineToVolumeParams_OffsetPtr()

MRC_API const MR_PolylineToVolumeParams * MR_PolylineToVolumeParams_OffsetPtr ( const MR_PolylineToVolumeParams * 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_PolylineToVolumeParams_Set_dist()

MRC_API void MR_PolylineToVolumeParams_Set_dist ( MR_PolylineToVolumeParams * _this,
const MR_DistanceToMeshOptions * value )

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

◆ MR_PolylineToVolumeParams_Set_vol()

MRC_API void MR_PolylineToVolumeParams_Set_vol ( MR_PolylineToVolumeParams * _this,
MR_PassBy value_pass_by,
MR_DistanceVolumeParams * value )

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