MeshLib C Docs
Loading...
Searching...
No Matches
MRDistanceVolumeParams.h File Reference
#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_PointsToDistanceVolumeParams MR_PointsToDistanceVolumeParams
 
typedef struct MR_std_function_bool_from_float MR_std_function_bool_from_float
 
typedef struct MR_DistanceVolumeParams MR_DistanceVolumeParams
 

Functions

MRC_API const MR_Vector3fMR_DistanceVolumeParams_Get_origin (const MR_DistanceVolumeParams *_this)
 
MRC_API void MR_DistanceVolumeParams_Set_origin (MR_DistanceVolumeParams *_this, MR_Vector3f value)
 
MRC_API MR_Vector3fMR_DistanceVolumeParams_GetMutable_origin (MR_DistanceVolumeParams *_this)
 
MRC_API const MR_std_function_bool_from_floatMR_DistanceVolumeParams_Get_cb (const MR_DistanceVolumeParams *_this)
 
MRC_API void MR_DistanceVolumeParams_Set_cb (MR_DistanceVolumeParams *_this, MR_PassBy value_pass_by, MR_std_function_bool_from_float *value)
 
MRC_API MR_std_function_bool_from_floatMR_DistanceVolumeParams_GetMutable_cb (MR_DistanceVolumeParams *_this)
 
MRC_API const MR_Vector3fMR_DistanceVolumeParams_Get_voxelSize (const MR_DistanceVolumeParams *_this)
 
MRC_API void MR_DistanceVolumeParams_Set_voxelSize (MR_DistanceVolumeParams *_this, MR_Vector3f value)
 
MRC_API MR_Vector3fMR_DistanceVolumeParams_GetMutable_voxelSize (MR_DistanceVolumeParams *_this)
 
MRC_API const MR_Vector3iMR_DistanceVolumeParams_Get_dimensions (const MR_DistanceVolumeParams *_this)
 
MRC_API void MR_DistanceVolumeParams_Set_dimensions (MR_DistanceVolumeParams *_this, MR_Vector3i value)
 
MRC_API MR_Vector3iMR_DistanceVolumeParams_GetMutable_dimensions (MR_DistanceVolumeParams *_this)
 
MRC_API MR_DistanceVolumeParamsMR_DistanceVolumeParams_DefaultConstruct (void)
 
MRC_API MR_DistanceVolumeParamsMR_DistanceVolumeParams_DefaultConstructArray (size_t num_elems)
 
MRC_API MR_DistanceVolumeParamsMR_DistanceVolumeParams_ConstructFrom (MR_Vector3f origin, MR_PassBy cb_pass_by, MR_std_function_bool_from_float *cb, MR_Vector3f voxelSize, MR_Vector3i dimensions)
 
MRC_API const MR_DistanceVolumeParamsMR_DistanceVolumeParams_OffsetPtr (const MR_DistanceVolumeParams *ptr, ptrdiff_t i)
 
MRC_API MR_DistanceVolumeParamsMR_DistanceVolumeParams_OffsetMutablePtr (MR_DistanceVolumeParams *ptr, ptrdiff_t i)
 
MRC_API const MR_PointsToDistanceVolumeParamsMR_DistanceVolumeParams_StaticDowncastTo_MR_PointsToDistanceVolumeParams (const MR_DistanceVolumeParams *object)
 
MRC_API MR_PointsToDistanceVolumeParamsMR_DistanceVolumeParams_MutableStaticDowncastTo_MR_PointsToDistanceVolumeParams (MR_DistanceVolumeParams *object)
 
MRC_API MR_DistanceVolumeParamsMR_DistanceVolumeParams_ConstructFromAnother (MR_PassBy _other_pass_by, MR_DistanceVolumeParams *_other)
 
MRC_API void MR_DistanceVolumeParams_Destroy (const MR_DistanceVolumeParams *_this)
 Destroys a heap-allocated instance of MR_DistanceVolumeParams. Does nothing if the pointer is null.
 
MRC_API void MR_DistanceVolumeParams_DestroyArray (const MR_DistanceVolumeParams *_this)
 Destroys a heap-allocated array of MR_DistanceVolumeParams. Does nothing if the pointer is null.
 
MRC_API MR_DistanceVolumeParamsMR_DistanceVolumeParams_AssignFromAnother (MR_DistanceVolumeParams *_this, MR_PassBy _other_pass_by, MR_DistanceVolumeParams *_other)
 

Typedef Documentation

◆ MR_DistanceVolumeParams

Generated from class MR::DistanceVolumeParams. Derived classes: Direct: (non-virtual) MR::PointsToDistanceVolumeParams 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_PointsToDistanceVolumeParams

◆ MR_std_function_bool_from_float

Function Documentation

◆ MR_DistanceVolumeParams_AssignFromAnother()

MRC_API MR_DistanceVolumeParams * MR_DistanceVolumeParams_AssignFromAnother ( MR_DistanceVolumeParams * _this,
MR_PassBy _other_pass_by,
MR_DistanceVolumeParams * _other )

Generated from method MR::DistanceVolumeParams::operator=. Parameter _this 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_DistanceVolumeParams_ConstructFrom()

MRC_API MR_DistanceVolumeParams * MR_DistanceVolumeParams_ConstructFrom ( MR_Vector3f origin,
MR_PassBy cb_pass_by,
MR_std_function_bool_from_float * cb,
MR_Vector3f voxelSize,
MR_Vector3i dimensions )

Constructs MR::DistanceVolumeParams elementwise. The reference to the parameter origin might be preserved in the constructed object. The reference to the parameter cb might be preserved in the constructed object. The reference to the parameter voxelSize might be preserved in the constructed object. The reference to the parameter dimensions might be preserved in the constructed object. Never returns null. Returns an instance allocated on the heap! Must call MR_DistanceVolumeParams_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_DistanceVolumeParams_ConstructFromAnother()

MRC_API MR_DistanceVolumeParams * MR_DistanceVolumeParams_ConstructFromAnother ( MR_PassBy _other_pass_by,
MR_DistanceVolumeParams * _other )

Generated from constructor MR::DistanceVolumeParams::DistanceVolumeParams. 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_DistanceVolumeParams_Destroy() to free it when you're done using it.

◆ MR_DistanceVolumeParams_DefaultConstruct()

MRC_API MR_DistanceVolumeParams * MR_DistanceVolumeParams_DefaultConstruct ( void )

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

◆ MR_DistanceVolumeParams_DefaultConstructArray()

MRC_API MR_DistanceVolumeParams * MR_DistanceVolumeParams_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_DistanceVolumeParams_DestroyArray(). Use MR_DistanceVolumeParams_OffsetMutablePtr() and MR_DistanceVolumeParams_OffsetPtr() to access the array elements.

◆ MR_DistanceVolumeParams_Destroy()

MRC_API void MR_DistanceVolumeParams_Destroy ( const MR_DistanceVolumeParams * _this)

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

◆ MR_DistanceVolumeParams_DestroyArray()

MRC_API void MR_DistanceVolumeParams_DestroyArray ( const MR_DistanceVolumeParams * _this)

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

◆ MR_DistanceVolumeParams_Get_cb()

MRC_API const MR_std_function_bool_from_float * MR_DistanceVolumeParams_Get_cb ( const MR_DistanceVolumeParams * _this)

progress callback Returns a pointer to a member variable of class MR::DistanceVolumeParams 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_DistanceVolumeParams_Get_dimensions()

MRC_API const MR_Vector3i * MR_DistanceVolumeParams_Get_dimensions ( const MR_DistanceVolumeParams * _this)

num voxels along each axis Returns a pointer to a member variable of class MR::DistanceVolumeParams named dimensions. 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_DistanceVolumeParams_Get_origin()

MRC_API const MR_Vector3f * MR_DistanceVolumeParams_Get_origin ( const MR_DistanceVolumeParams * _this)

origin point of voxels box Returns a pointer to a member variable of class MR::DistanceVolumeParams named origin. 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_DistanceVolumeParams_Get_voxelSize()

MRC_API const MR_Vector3f * MR_DistanceVolumeParams_Get_voxelSize ( const MR_DistanceVolumeParams * _this)

size of voxel on each axis Returns a pointer to a member variable of class MR::DistanceVolumeParams 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_DistanceVolumeParams_GetMutable_cb()

MRC_API MR_std_function_bool_from_float * MR_DistanceVolumeParams_GetMutable_cb ( MR_DistanceVolumeParams * _this)

progress callback Returns a mutable pointer to a member variable of class MR::DistanceVolumeParams 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_DistanceVolumeParams_GetMutable_dimensions()

MRC_API MR_Vector3i * MR_DistanceVolumeParams_GetMutable_dimensions ( MR_DistanceVolumeParams * _this)

num voxels along each axis Returns a mutable pointer to a member variable of class MR::DistanceVolumeParams named dimensions. 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_DistanceVolumeParams_GetMutable_origin()

MRC_API MR_Vector3f * MR_DistanceVolumeParams_GetMutable_origin ( MR_DistanceVolumeParams * _this)

origin point of voxels box Returns a mutable pointer to a member variable of class MR::DistanceVolumeParams named origin. 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_DistanceVolumeParams_GetMutable_voxelSize()

MRC_API MR_Vector3f * MR_DistanceVolumeParams_GetMutable_voxelSize ( MR_DistanceVolumeParams * _this)

size of voxel on each axis Returns a mutable pointer to a member variable of class MR::DistanceVolumeParams 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_DistanceVolumeParams_MutableStaticDowncastTo_MR_PointsToDistanceVolumeParams()

MRC_API MR_PointsToDistanceVolumeParams * MR_DistanceVolumeParams_MutableStaticDowncastTo_MR_PointsToDistanceVolumeParams ( MR_DistanceVolumeParams * object)

Downcasts an instance of MR::DistanceVolumeParams to a derived class MR::PointsToDistanceVolumeParams. This is a static downcast, it trusts the programmer that the target type is correct. Results in UB and returns an invalid pointer otherwise.

◆ MR_DistanceVolumeParams_OffsetMutablePtr()

MRC_API MR_DistanceVolumeParams * MR_DistanceVolumeParams_OffsetMutablePtr ( MR_DistanceVolumeParams * 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_DistanceVolumeParams_OffsetPtr()

MRC_API const MR_DistanceVolumeParams * MR_DistanceVolumeParams_OffsetPtr ( const MR_DistanceVolumeParams * 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_DistanceVolumeParams_Set_cb()

MRC_API void MR_DistanceVolumeParams_Set_cb ( MR_DistanceVolumeParams * _this,
MR_PassBy value_pass_by,
MR_std_function_bool_from_float * value )

progress callback Modifies a member variable of class MR::DistanceVolumeParams named cb. 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 cb. When this function is called, this object will drop object references it had previously in cb.

◆ MR_DistanceVolumeParams_Set_dimensions()

MRC_API void MR_DistanceVolumeParams_Set_dimensions ( MR_DistanceVolumeParams * _this,
MR_Vector3i value )

num voxels along each axis Modifies a member variable of class MR::DistanceVolumeParams named dimensions. 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 dimensions. When this function is called, this object will drop object references it had previously in dimensions.

◆ MR_DistanceVolumeParams_Set_origin()

MRC_API void MR_DistanceVolumeParams_Set_origin ( MR_DistanceVolumeParams * _this,
MR_Vector3f value )

origin point of voxels box Modifies a member variable of class MR::DistanceVolumeParams named origin. 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 origin. When this function is called, this object will drop object references it had previously in origin.

◆ MR_DistanceVolumeParams_Set_voxelSize()

MRC_API void MR_DistanceVolumeParams_Set_voxelSize ( MR_DistanceVolumeParams * _this,
MR_Vector3f value )

size of voxel on each axis Modifies a member variable of class MR::DistanceVolumeParams named voxelSize. 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 voxelSize. When this function is called, this object will drop object references it had previously in voxelSize.

◆ MR_DistanceVolumeParams_StaticDowncastTo_MR_PointsToDistanceVolumeParams()

MRC_API const MR_PointsToDistanceVolumeParams * MR_DistanceVolumeParams_StaticDowncastTo_MR_PointsToDistanceVolumeParams ( const MR_DistanceVolumeParams * object)

Downcasts an instance of MR::DistanceVolumeParams to a derived class MR::PointsToDistanceVolumeParams. This is a static downcast, it trusts the programmer that the target type is correct. Results in UB and returns an invalid pointer otherwise. This version is acting on mutable pointers.