MeshLib C Docs
Loading...
Searching...
No Matches
MRMeshToDistanceVolume.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_AffineXf3f MR_AffineXf3f
 
typedef struct MR_DistanceToMeshOptions MR_DistanceToMeshOptions
 
typedef struct MR_DistanceVolumeParams MR_DistanceVolumeParams
 
typedef struct MR_FaceBitSet MR_FaceBitSet
 
typedef struct MR_FunctionVolume MR_FunctionVolume
 
typedef struct MR_Mesh MR_Mesh
 
typedef struct MR_MeshPart MR_MeshPart
 
typedef struct MR_SignedDistanceToMeshOptions MR_SignedDistanceToMeshOptions
 
typedef struct MR_expected_MR_SimpleBinaryVolume_std_string MR_expected_MR_SimpleBinaryVolume_std_string
 
typedef struct MR_expected_MR_SimpleVolumeMinMax_std_string MR_expected_MR_SimpleVolumeMinMax_std_string
 
typedef struct MR_expected_std_array_MR_SimpleVolumeMinMax_3_std_string MR_expected_std_array_MR_SimpleVolumeMinMax_3_std_string
 
typedef struct MR_std_shared_ptr_MR_IFastWindingNumber MR_std_shared_ptr_MR_IFastWindingNumber
 
typedef struct MR_std_shared_ptr_MR_IPointsToMeshProjector MR_std_shared_ptr_MR_IPointsToMeshProjector
 
typedef struct MR_MeshToDistanceVolumeParams MR_MeshToDistanceVolumeParams
 
typedef struct MR_CloseToMeshVolumeParams MR_CloseToMeshVolumeParams
 
typedef struct MR_MeshToDirectionVolumeParams MR_MeshToDirectionVolumeParams
 

Functions

MRC_API const MR_DistanceVolumeParamsMR_MeshToDistanceVolumeParams_Get_vol (const MR_MeshToDistanceVolumeParams *_this)
 
MRC_API void MR_MeshToDistanceVolumeParams_Set_vol (MR_MeshToDistanceVolumeParams *_this, MR_PassBy value_pass_by, MR_DistanceVolumeParams *value)
 
MRC_API MR_DistanceVolumeParamsMR_MeshToDistanceVolumeParams_GetMutable_vol (MR_MeshToDistanceVolumeParams *_this)
 
MRC_API const MR_SignedDistanceToMeshOptionsMR_MeshToDistanceVolumeParams_Get_dist (const MR_MeshToDistanceVolumeParams *_this)
 
MRC_API void MR_MeshToDistanceVolumeParams_Set_dist (MR_MeshToDistanceVolumeParams *_this, const MR_SignedDistanceToMeshOptions *value)
 
MRC_API MR_SignedDistanceToMeshOptionsMR_MeshToDistanceVolumeParams_GetMutable_dist (MR_MeshToDistanceVolumeParams *_this)
 
MRC_API const MR_std_shared_ptr_MR_IFastWindingNumberMR_MeshToDistanceVolumeParams_Get_fwn (const MR_MeshToDistanceVolumeParams *_this)
 
MRC_API void MR_MeshToDistanceVolumeParams_Set_fwn (MR_MeshToDistanceVolumeParams *_this, MR_PassBy value_pass_by, MR_std_shared_ptr_MR_IFastWindingNumber *value)
 
MRC_API MR_std_shared_ptr_MR_IFastWindingNumberMR_MeshToDistanceVolumeParams_GetMutable_fwn (MR_MeshToDistanceVolumeParams *_this)
 
MRC_API MR_MeshToDistanceVolumeParamsMR_MeshToDistanceVolumeParams_DefaultConstruct (void)
 
MRC_API MR_MeshToDistanceVolumeParamsMR_MeshToDistanceVolumeParams_DefaultConstructArray (size_t num_elems)
 
MRC_API MR_MeshToDistanceVolumeParamsMR_MeshToDistanceVolumeParams_ConstructFrom (MR_PassBy vol_pass_by, MR_DistanceVolumeParams *vol, const MR_SignedDistanceToMeshOptions *dist, MR_PassBy fwn_pass_by, MR_std_shared_ptr_MR_IFastWindingNumber *fwn)
 
MRC_API const MR_MeshToDistanceVolumeParamsMR_MeshToDistanceVolumeParams_OffsetPtr (const MR_MeshToDistanceVolumeParams *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_MeshToDistanceVolumeParamsMR_MeshToDistanceVolumeParams_OffsetMutablePtr (MR_MeshToDistanceVolumeParams *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_MeshToDistanceVolumeParamsMR_MeshToDistanceVolumeParams_ConstructFromAnother (MR_PassBy _other_pass_by, MR_MeshToDistanceVolumeParams *_other)
 
MRC_API void MR_MeshToDistanceVolumeParams_Destroy (const MR_MeshToDistanceVolumeParams *_this)
 Destroys a heap-allocated instance of MR_MeshToDistanceVolumeParams. Does nothing if the pointer is null.
 
MRC_API void MR_MeshToDistanceVolumeParams_DestroyArray (const MR_MeshToDistanceVolumeParams *_this)
 Destroys a heap-allocated array of MR_MeshToDistanceVolumeParams. Does nothing if the pointer is null.
 
MRC_API MR_MeshToDistanceVolumeParamsMR_MeshToDistanceVolumeParams_AssignFromAnother (MR_MeshToDistanceVolumeParams *_this, MR_PassBy _other_pass_by, MR_MeshToDistanceVolumeParams *_other)
 
MRC_API MR_expected_MR_SimpleVolumeMinMax_std_stringMR_meshToDistanceVolume (const MR_MeshPart *mp, const MR_MeshToDistanceVolumeParams *params)
 
MRC_API MR_FunctionVolumeMR_meshToDistanceFunctionVolume (const MR_MeshPart *mp, const MR_MeshToDistanceVolumeParams *params)
 
MRC_API const float * MR_CloseToMeshVolumeParams_Get_closeDist (const MR_CloseToMeshVolumeParams *_this)
 
MRC_API void MR_CloseToMeshVolumeParams_Set_closeDist (MR_CloseToMeshVolumeParams *_this, float value)
 
MRC_API float * MR_CloseToMeshVolumeParams_GetMutable_closeDist (MR_CloseToMeshVolumeParams *_this)
 
MRC_API const MR_DistanceVolumeParamsMR_CloseToMeshVolumeParams_Get_vol (const MR_CloseToMeshVolumeParams *_this)
 
MRC_API void MR_CloseToMeshVolumeParams_Set_vol (MR_CloseToMeshVolumeParams *_this, MR_PassBy value_pass_by, MR_DistanceVolumeParams *value)
 
MRC_API MR_DistanceVolumeParamsMR_CloseToMeshVolumeParams_GetMutable_vol (MR_CloseToMeshVolumeParams *_this)
 
MRC_API const MR_AffineXf3f *const * MR_CloseToMeshVolumeParams_Get_meshToWorld (const MR_CloseToMeshVolumeParams *_this)
 
MRC_API void MR_CloseToMeshVolumeParams_Set_meshToWorld (MR_CloseToMeshVolumeParams *_this, const MR_AffineXf3f *value)
 
MRC_API const MR_AffineXf3f ** MR_CloseToMeshVolumeParams_GetMutable_meshToWorld (MR_CloseToMeshVolumeParams *_this)
 
MRC_API MR_CloseToMeshVolumeParamsMR_CloseToMeshVolumeParams_DefaultConstruct (void)
 
MRC_API MR_CloseToMeshVolumeParamsMR_CloseToMeshVolumeParams_DefaultConstructArray (size_t num_elems)
 
MRC_API MR_CloseToMeshVolumeParamsMR_CloseToMeshVolumeParams_ConstructFrom (float closeDist, MR_PassBy vol_pass_by, MR_DistanceVolumeParams *vol, const MR_AffineXf3f *meshToWorld)
 
MRC_API const MR_CloseToMeshVolumeParamsMR_CloseToMeshVolumeParams_OffsetPtr (const MR_CloseToMeshVolumeParams *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_CloseToMeshVolumeParamsMR_CloseToMeshVolumeParams_OffsetMutablePtr (MR_CloseToMeshVolumeParams *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_CloseToMeshVolumeParamsMR_CloseToMeshVolumeParams_ConstructFromAnother (MR_PassBy _other_pass_by, MR_CloseToMeshVolumeParams *_other)
 
MRC_API void MR_CloseToMeshVolumeParams_Destroy (const MR_CloseToMeshVolumeParams *_this)
 Destroys a heap-allocated instance of MR_CloseToMeshVolumeParams. Does nothing if the pointer is null.
 
MRC_API void MR_CloseToMeshVolumeParams_DestroyArray (const MR_CloseToMeshVolumeParams *_this)
 Destroys a heap-allocated array of MR_CloseToMeshVolumeParams. Does nothing if the pointer is null.
 
MRC_API MR_CloseToMeshVolumeParamsMR_CloseToMeshVolumeParams_AssignFromAnother (MR_CloseToMeshVolumeParams *_this, MR_PassBy _other_pass_by, MR_CloseToMeshVolumeParams *_other)
 
MRC_API MR_expected_MR_SimpleBinaryVolume_std_stringMR_makeCloseToMeshVolume (const MR_MeshPart *mp, const MR_CloseToMeshVolumeParams *params)
 
MRC_API MR_expected_MR_SimpleVolumeMinMax_std_stringMR_meshRegionToIndicatorVolume (const MR_Mesh *mesh, const MR_FaceBitSet *region, float offset, const MR_DistanceVolumeParams *params)
 
MRC_API const MR_DistanceVolumeParamsMR_MeshToDirectionVolumeParams_Get_vol (const MR_MeshToDirectionVolumeParams *_this)
 
MRC_API void MR_MeshToDirectionVolumeParams_Set_vol (MR_MeshToDirectionVolumeParams *_this, MR_PassBy value_pass_by, MR_DistanceVolumeParams *value)
 
MRC_API MR_DistanceVolumeParamsMR_MeshToDirectionVolumeParams_GetMutable_vol (MR_MeshToDirectionVolumeParams *_this)
 
MRC_API const MR_DistanceToMeshOptionsMR_MeshToDirectionVolumeParams_Get_dist (const MR_MeshToDirectionVolumeParams *_this)
 
MRC_API void MR_MeshToDirectionVolumeParams_Set_dist (MR_MeshToDirectionVolumeParams *_this, const MR_DistanceToMeshOptions *value)
 
MRC_API MR_DistanceToMeshOptionsMR_MeshToDirectionVolumeParams_GetMutable_dist (MR_MeshToDirectionVolumeParams *_this)
 
MRC_API const MR_std_shared_ptr_MR_IPointsToMeshProjectorMR_MeshToDirectionVolumeParams_Get_projector (const MR_MeshToDirectionVolumeParams *_this)
 
MRC_API void MR_MeshToDirectionVolumeParams_Set_projector (MR_MeshToDirectionVolumeParams *_this, MR_PassBy value_pass_by, MR_std_shared_ptr_MR_IPointsToMeshProjector *value)
 
MRC_API MR_std_shared_ptr_MR_IPointsToMeshProjectorMR_MeshToDirectionVolumeParams_GetMutable_projector (MR_MeshToDirectionVolumeParams *_this)
 
MRC_API MR_MeshToDirectionVolumeParamsMR_MeshToDirectionVolumeParams_DefaultConstruct (void)
 
MRC_API MR_MeshToDirectionVolumeParamsMR_MeshToDirectionVolumeParams_DefaultConstructArray (size_t num_elems)
 
MRC_API MR_MeshToDirectionVolumeParamsMR_MeshToDirectionVolumeParams_ConstructFrom (MR_PassBy vol_pass_by, MR_DistanceVolumeParams *vol, const MR_DistanceToMeshOptions *dist, MR_PassBy projector_pass_by, MR_std_shared_ptr_MR_IPointsToMeshProjector *projector)
 
MRC_API const MR_MeshToDirectionVolumeParamsMR_MeshToDirectionVolumeParams_OffsetPtr (const MR_MeshToDirectionVolumeParams *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_MeshToDirectionVolumeParamsMR_MeshToDirectionVolumeParams_OffsetMutablePtr (MR_MeshToDirectionVolumeParams *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_MeshToDirectionVolumeParamsMR_MeshToDirectionVolumeParams_ConstructFromAnother (MR_PassBy _other_pass_by, MR_MeshToDirectionVolumeParams *_other)
 
MRC_API void MR_MeshToDirectionVolumeParams_Destroy (const MR_MeshToDirectionVolumeParams *_this)
 Destroys a heap-allocated instance of MR_MeshToDirectionVolumeParams. Does nothing if the pointer is null.
 
MRC_API void MR_MeshToDirectionVolumeParams_DestroyArray (const MR_MeshToDirectionVolumeParams *_this)
 Destroys a heap-allocated array of MR_MeshToDirectionVolumeParams. Does nothing if the pointer is null.
 
MRC_API MR_MeshToDirectionVolumeParamsMR_MeshToDirectionVolumeParams_AssignFromAnother (MR_MeshToDirectionVolumeParams *_this, MR_PassBy _other_pass_by, MR_MeshToDirectionVolumeParams *_other)
 
MRC_API MR_expected_std_array_MR_SimpleVolumeMinMax_3_std_stringMR_meshToDirectionVolume (const MR_MeshToDirectionVolumeParams *params)
 

Typedef Documentation

◆ MR_AffineXf3f

typedef struct MR_AffineXf3f MR_AffineXf3f

◆ MR_CloseToMeshVolumeParams

Generated from class MR::CloseToMeshVolumeParams. 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_DistanceToMeshOptions

◆ MR_DistanceVolumeParams

◆ MR_expected_MR_SimpleBinaryVolume_std_string

◆ MR_expected_MR_SimpleVolumeMinMax_std_string

◆ MR_expected_std_array_MR_SimpleVolumeMinMax_3_std_string

◆ MR_FaceBitSet

typedef struct MR_FaceBitSet MR_FaceBitSet

◆ MR_FunctionVolume

◆ MR_Mesh

typedef struct MR_Mesh MR_Mesh

◆ MR_MeshPart

typedef struct MR_MeshPart MR_MeshPart

◆ MR_MeshToDirectionVolumeParams

Generated from class MR::MeshToDirectionVolumeParams. 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_MeshToDistanceVolumeParams

Generated from class MR::MeshToDistanceVolumeParams. 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_SignedDistanceToMeshOptions

◆ MR_std_shared_ptr_MR_IFastWindingNumber

◆ MR_std_shared_ptr_MR_IPointsToMeshProjector

Function Documentation

◆ MR_CloseToMeshVolumeParams_AssignFromAnother()

MRC_API MR_CloseToMeshVolumeParams * MR_CloseToMeshVolumeParams_AssignFromAnother ( MR_CloseToMeshVolumeParams * _this,
MR_PassBy _other_pass_by,
MR_CloseToMeshVolumeParams * _other )

Generated from method MR::CloseToMeshVolumeParams::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_CloseToMeshVolumeParams_ConstructFrom()

MRC_API MR_CloseToMeshVolumeParams * MR_CloseToMeshVolumeParams_ConstructFrom ( float closeDist,
MR_PassBy vol_pass_by,
MR_DistanceVolumeParams * vol,
const MR_AffineXf3f * meshToWorld )

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

◆ MR_CloseToMeshVolumeParams_ConstructFromAnother()

MRC_API MR_CloseToMeshVolumeParams * MR_CloseToMeshVolumeParams_ConstructFromAnother ( MR_PassBy _other_pass_by,
MR_CloseToMeshVolumeParams * _other )

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

◆ MR_CloseToMeshVolumeParams_DefaultConstruct()

MRC_API MR_CloseToMeshVolumeParams * MR_CloseToMeshVolumeParams_DefaultConstruct ( void )

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

◆ MR_CloseToMeshVolumeParams_DefaultConstructArray()

MRC_API MR_CloseToMeshVolumeParams * MR_CloseToMeshVolumeParams_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_CloseToMeshVolumeParams_DestroyArray(). Use MR_CloseToMeshVolumeParams_OffsetMutablePtr() and MR_CloseToMeshVolumeParams_OffsetPtr() to access the array elements.

◆ MR_CloseToMeshVolumeParams_Destroy()

MRC_API void MR_CloseToMeshVolumeParams_Destroy ( const MR_CloseToMeshVolumeParams * _this)

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

◆ MR_CloseToMeshVolumeParams_DestroyArray()

MRC_API void MR_CloseToMeshVolumeParams_DestroyArray ( const MR_CloseToMeshVolumeParams * _this)

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

◆ MR_CloseToMeshVolumeParams_Get_closeDist()

MRC_API const float * MR_CloseToMeshVolumeParams_Get_closeDist ( const MR_CloseToMeshVolumeParams * _this)

a resulting voxel will get 1 if that voxel's center is not further than unsigned (closeDist) from the surface, and 0 otherwise Returns a pointer to a member variable of class MR::CloseToMeshVolumeParams named closeDist. 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_CloseToMeshVolumeParams_Get_meshToWorld()

MRC_API const MR_AffineXf3f *const * MR_CloseToMeshVolumeParams_Get_meshToWorld ( const MR_CloseToMeshVolumeParams * _this)

optional transformation from mesh space to world space Returns a pointer to a member variable of class MR::CloseToMeshVolumeParams named meshToWorld. 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_CloseToMeshVolumeParams_Get_vol()

MRC_API const MR_DistanceVolumeParams * MR_CloseToMeshVolumeParams_Get_vol ( const MR_CloseToMeshVolumeParams * _this)

dimensions, location, and scaling in world space of the expected volume Returns a pointer to a member variable of class MR::CloseToMeshVolumeParams 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_CloseToMeshVolumeParams_GetMutable_closeDist()

MRC_API float * MR_CloseToMeshVolumeParams_GetMutable_closeDist ( MR_CloseToMeshVolumeParams * _this)

a resulting voxel will get 1 if that voxel's center is not further than unsigned (closeDist) from the surface, and 0 otherwise Returns a mutable pointer to a member variable of class MR::CloseToMeshVolumeParams named closeDist. 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_CloseToMeshVolumeParams_GetMutable_meshToWorld()

MRC_API const MR_AffineXf3f ** MR_CloseToMeshVolumeParams_GetMutable_meshToWorld ( MR_CloseToMeshVolumeParams * _this)

optional transformation from mesh space to world space Returns a mutable pointer to a member variable of class MR::CloseToMeshVolumeParams named meshToWorld. 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_CloseToMeshVolumeParams_GetMutable_vol()

MRC_API MR_DistanceVolumeParams * MR_CloseToMeshVolumeParams_GetMutable_vol ( MR_CloseToMeshVolumeParams * _this)

dimensions, location, and scaling in world space of the expected volume Returns a mutable pointer to a member variable of class MR::CloseToMeshVolumeParams 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_CloseToMeshVolumeParams_OffsetMutablePtr()

MRC_API MR_CloseToMeshVolumeParams * MR_CloseToMeshVolumeParams_OffsetMutablePtr ( MR_CloseToMeshVolumeParams * 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_CloseToMeshVolumeParams_OffsetPtr()

MRC_API const MR_CloseToMeshVolumeParams * MR_CloseToMeshVolumeParams_OffsetPtr ( const MR_CloseToMeshVolumeParams * 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_CloseToMeshVolumeParams_Set_closeDist()

MRC_API void MR_CloseToMeshVolumeParams_Set_closeDist ( MR_CloseToMeshVolumeParams * _this,
float value )

a resulting voxel will get 1 if that voxel's center is not further than unsigned (closeDist) from the surface, and 0 otherwise Modifies a member variable of class MR::CloseToMeshVolumeParams named closeDist. Parameter _this can not be null. It is a single object.

◆ MR_CloseToMeshVolumeParams_Set_meshToWorld()

MRC_API void MR_CloseToMeshVolumeParams_Set_meshToWorld ( MR_CloseToMeshVolumeParams * _this,
const MR_AffineXf3f * value )

optional transformation from mesh space to world space Modifies a member variable of class MR::CloseToMeshVolumeParams named meshToWorld. Parameter _this can not be null. It is a single object.

◆ MR_CloseToMeshVolumeParams_Set_vol()

MRC_API void MR_CloseToMeshVolumeParams_Set_vol ( MR_CloseToMeshVolumeParams * _this,
MR_PassBy value_pass_by,
MR_DistanceVolumeParams * value )

dimensions, location, and scaling in world space of the expected volume Modifies a member variable of class MR::CloseToMeshVolumeParams named vol. Parameter _this can not be null. It is a single object.

◆ MR_makeCloseToMeshVolume()

MRC_API MR_expected_MR_SimpleBinaryVolume_std_string * MR_makeCloseToMeshVolume ( const MR_MeshPart * mp,
const MR_CloseToMeshVolumeParams * params )

makes a binary volume with close-to-surface predicate values according to the given parameters Generated from function MR::makeCloseToMeshVolume. Parameter mp 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_SimpleBinaryVolume_std_string_Destroy() to free it when you're done using it.

◆ MR_meshRegionToIndicatorVolume()

MRC_API MR_expected_MR_SimpleVolumeMinMax_std_string * MR_meshRegionToIndicatorVolume ( const MR_Mesh * mesh,
const MR_FaceBitSet * region,
float offset,
const MR_DistanceVolumeParams * params )

returns a volume filled with the values: (unsigned distance to region-part) - (unsigned distance to not-region-part); v < 0: this point is within offset distance to region-part of mesh and it is closer to region-part than to not-region-part Generated from function MR::meshRegionToIndicatorVolume. Parameter mesh can not be null. It is a single object. Parameter region 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_SimpleVolumeMinMax_std_string_Destroy() to free it when you're done using it.

◆ MR_meshToDirectionVolume()

Converts mesh into 4d voxels, so that each cell in 3d space holds the direction from the closest point on mesh to the cell position. Resulting volume is encoded by 3 separate 3d volumes, corresponding to x, y and z components of vectors respectively.

Parameters
paramsExpected to have valid (not null) projector, with invoked method IPointsToMeshProjector::updateMeshData Generated from function MR::meshToDirectionVolume. 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_std_array_MR_SimpleVolumeMinMax_3_std_string_Destroy() to free it when you're done using it.

◆ MR_MeshToDirectionVolumeParams_AssignFromAnother()

MRC_API MR_MeshToDirectionVolumeParams * MR_MeshToDirectionVolumeParams_AssignFromAnother ( MR_MeshToDirectionVolumeParams * _this,
MR_PassBy _other_pass_by,
MR_MeshToDirectionVolumeParams * _other )

Generated from method MR::MeshToDirectionVolumeParams::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_MeshToDirectionVolumeParams_ConstructFrom()

MRC_API MR_MeshToDirectionVolumeParams * MR_MeshToDirectionVolumeParams_ConstructFrom ( MR_PassBy vol_pass_by,
MR_DistanceVolumeParams * vol,
const MR_DistanceToMeshOptions * dist,
MR_PassBy projector_pass_by,
MR_std_shared_ptr_MR_IPointsToMeshProjector * projector )

Constructs MR::MeshToDirectionVolumeParams 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_MeshToDirectionVolumeParams_Destroy() to free it when you're done using it.

◆ MR_MeshToDirectionVolumeParams_ConstructFromAnother()

MRC_API MR_MeshToDirectionVolumeParams * MR_MeshToDirectionVolumeParams_ConstructFromAnother ( MR_PassBy _other_pass_by,
MR_MeshToDirectionVolumeParams * _other )

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

◆ MR_MeshToDirectionVolumeParams_DefaultConstruct()

MRC_API MR_MeshToDirectionVolumeParams * MR_MeshToDirectionVolumeParams_DefaultConstruct ( void )

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

◆ MR_MeshToDirectionVolumeParams_DefaultConstructArray()

MRC_API MR_MeshToDirectionVolumeParams * MR_MeshToDirectionVolumeParams_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_MeshToDirectionVolumeParams_DestroyArray(). Use MR_MeshToDirectionVolumeParams_OffsetMutablePtr() and MR_MeshToDirectionVolumeParams_OffsetPtr() to access the array elements.

◆ MR_MeshToDirectionVolumeParams_Destroy()

MRC_API void MR_MeshToDirectionVolumeParams_Destroy ( const MR_MeshToDirectionVolumeParams * _this)

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

◆ MR_MeshToDirectionVolumeParams_DestroyArray()

MRC_API void MR_MeshToDirectionVolumeParams_DestroyArray ( const MR_MeshToDirectionVolumeParams * _this)

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

◆ MR_MeshToDirectionVolumeParams_Get_dist()

MRC_API const MR_DistanceToMeshOptions * MR_MeshToDirectionVolumeParams_Get_dist ( const MR_MeshToDirectionVolumeParams * _this)

Returns a pointer to a member variable of class MR::MeshToDirectionVolumeParams 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_MeshToDirectionVolumeParams_Get_projector()

MRC_API const MR_std_shared_ptr_MR_IPointsToMeshProjector * MR_MeshToDirectionVolumeParams_Get_projector ( const MR_MeshToDirectionVolumeParams * _this)

Returns a pointer to a member variable of class MR::MeshToDirectionVolumeParams named projector. 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_MeshToDirectionVolumeParams_Get_vol()

MRC_API const MR_DistanceVolumeParams * MR_MeshToDirectionVolumeParams_Get_vol ( const MR_MeshToDirectionVolumeParams * _this)

Returns a pointer to a member variable of class MR::MeshToDirectionVolumeParams 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_MeshToDirectionVolumeParams_GetMutable_dist()

MRC_API MR_DistanceToMeshOptions * MR_MeshToDirectionVolumeParams_GetMutable_dist ( MR_MeshToDirectionVolumeParams * _this)

Returns a mutable pointer to a member variable of class MR::MeshToDirectionVolumeParams 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_MeshToDirectionVolumeParams_GetMutable_projector()

MRC_API MR_std_shared_ptr_MR_IPointsToMeshProjector * MR_MeshToDirectionVolumeParams_GetMutable_projector ( MR_MeshToDirectionVolumeParams * _this)

Returns a mutable pointer to a member variable of class MR::MeshToDirectionVolumeParams named projector. 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_MeshToDirectionVolumeParams_GetMutable_vol()

MRC_API MR_DistanceVolumeParams * MR_MeshToDirectionVolumeParams_GetMutable_vol ( MR_MeshToDirectionVolumeParams * _this)

Returns a mutable pointer to a member variable of class MR::MeshToDirectionVolumeParams 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_MeshToDirectionVolumeParams_OffsetMutablePtr()

MRC_API MR_MeshToDirectionVolumeParams * MR_MeshToDirectionVolumeParams_OffsetMutablePtr ( MR_MeshToDirectionVolumeParams * 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_MeshToDirectionVolumeParams_OffsetPtr()

MRC_API const MR_MeshToDirectionVolumeParams * MR_MeshToDirectionVolumeParams_OffsetPtr ( const MR_MeshToDirectionVolumeParams * 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_MeshToDirectionVolumeParams_Set_dist()

MRC_API void MR_MeshToDirectionVolumeParams_Set_dist ( MR_MeshToDirectionVolumeParams * _this,
const MR_DistanceToMeshOptions * value )

Modifies a member variable of class MR::MeshToDirectionVolumeParams 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_MeshToDirectionVolumeParams_Set_projector()

MRC_API void MR_MeshToDirectionVolumeParams_Set_projector ( MR_MeshToDirectionVolumeParams * _this,
MR_PassBy value_pass_by,
MR_std_shared_ptr_MR_IPointsToMeshProjector * value )

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

◆ MR_MeshToDirectionVolumeParams_Set_vol()

MRC_API void MR_MeshToDirectionVolumeParams_Set_vol ( MR_MeshToDirectionVolumeParams * _this,
MR_PassBy value_pass_by,
MR_DistanceVolumeParams * value )

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

◆ MR_meshToDistanceFunctionVolume()

MRC_API MR_FunctionVolume * MR_meshToDistanceFunctionVolume ( const MR_MeshPart * mp,
const MR_MeshToDistanceVolumeParams * params )

makes FunctionVolume representing (signed or unsigned) distances from Mesh with given settings Generated from function MR::meshToDistanceFunctionVolume. Parameter mp 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_FunctionVolume_Destroy() to free it when you're done using it.

◆ MR_meshToDistanceVolume()

MRC_API MR_expected_MR_SimpleVolumeMinMax_std_string * MR_meshToDistanceVolume ( const MR_MeshPart * mp,
const MR_MeshToDistanceVolumeParams * params )

makes SimpleVolume filled with (signed or unsigned) distances from Mesh with given settings Generated from function MR::meshToDistanceVolume. Parameter mp 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_SimpleVolumeMinMax_std_string_Destroy() to free it when you're done using it.

◆ MR_MeshToDistanceVolumeParams_AssignFromAnother()

MRC_API MR_MeshToDistanceVolumeParams * MR_MeshToDistanceVolumeParams_AssignFromAnother ( MR_MeshToDistanceVolumeParams * _this,
MR_PassBy _other_pass_by,
MR_MeshToDistanceVolumeParams * _other )

Generated from method MR::MeshToDistanceVolumeParams::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_MeshToDistanceVolumeParams_ConstructFrom()

MRC_API MR_MeshToDistanceVolumeParams * MR_MeshToDistanceVolumeParams_ConstructFrom ( MR_PassBy vol_pass_by,
MR_DistanceVolumeParams * vol,
const MR_SignedDistanceToMeshOptions * dist,
MR_PassBy fwn_pass_by,
MR_std_shared_ptr_MR_IFastWindingNumber * fwn )

Constructs MR::MeshToDistanceVolumeParams 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_MeshToDistanceVolumeParams_Destroy() to free it when you're done using it.

◆ MR_MeshToDistanceVolumeParams_ConstructFromAnother()

MRC_API MR_MeshToDistanceVolumeParams * MR_MeshToDistanceVolumeParams_ConstructFromAnother ( MR_PassBy _other_pass_by,
MR_MeshToDistanceVolumeParams * _other )

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

◆ MR_MeshToDistanceVolumeParams_DefaultConstruct()

MRC_API MR_MeshToDistanceVolumeParams * MR_MeshToDistanceVolumeParams_DefaultConstruct ( void )

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

◆ MR_MeshToDistanceVolumeParams_DefaultConstructArray()

MRC_API MR_MeshToDistanceVolumeParams * MR_MeshToDistanceVolumeParams_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_MeshToDistanceVolumeParams_DestroyArray(). Use MR_MeshToDistanceVolumeParams_OffsetMutablePtr() and MR_MeshToDistanceVolumeParams_OffsetPtr() to access the array elements.

◆ MR_MeshToDistanceVolumeParams_Destroy()

MRC_API void MR_MeshToDistanceVolumeParams_Destroy ( const MR_MeshToDistanceVolumeParams * _this)

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

◆ MR_MeshToDistanceVolumeParams_DestroyArray()

MRC_API void MR_MeshToDistanceVolumeParams_DestroyArray ( const MR_MeshToDistanceVolumeParams * _this)

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

◆ MR_MeshToDistanceVolumeParams_Get_dist()

MRC_API const MR_SignedDistanceToMeshOptions * MR_MeshToDistanceVolumeParams_Get_dist ( const MR_MeshToDistanceVolumeParams * _this)

Returns a pointer to a member variable of class MR::MeshToDistanceVolumeParams 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_MeshToDistanceVolumeParams_Get_fwn()

MRC_API const MR_std_shared_ptr_MR_IFastWindingNumber * MR_MeshToDistanceVolumeParams_Get_fwn ( const MR_MeshToDistanceVolumeParams * _this)

Returns a pointer to a member variable of class MR::MeshToDistanceVolumeParams named fwn. 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_MeshToDistanceVolumeParams_Get_vol()

MRC_API const MR_DistanceVolumeParams * MR_MeshToDistanceVolumeParams_Get_vol ( const MR_MeshToDistanceVolumeParams * _this)

Returns a pointer to a member variable of class MR::MeshToDistanceVolumeParams 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_MeshToDistanceVolumeParams_GetMutable_dist()

MRC_API MR_SignedDistanceToMeshOptions * MR_MeshToDistanceVolumeParams_GetMutable_dist ( MR_MeshToDistanceVolumeParams * _this)

Returns a mutable pointer to a member variable of class MR::MeshToDistanceVolumeParams 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_MeshToDistanceVolumeParams_GetMutable_fwn()

MRC_API MR_std_shared_ptr_MR_IFastWindingNumber * MR_MeshToDistanceVolumeParams_GetMutable_fwn ( MR_MeshToDistanceVolumeParams * _this)

Returns a mutable pointer to a member variable of class MR::MeshToDistanceVolumeParams named fwn. 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_MeshToDistanceVolumeParams_GetMutable_vol()

MRC_API MR_DistanceVolumeParams * MR_MeshToDistanceVolumeParams_GetMutable_vol ( MR_MeshToDistanceVolumeParams * _this)

Returns a mutable pointer to a member variable of class MR::MeshToDistanceVolumeParams 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_MeshToDistanceVolumeParams_OffsetMutablePtr()

MRC_API MR_MeshToDistanceVolumeParams * MR_MeshToDistanceVolumeParams_OffsetMutablePtr ( MR_MeshToDistanceVolumeParams * 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_MeshToDistanceVolumeParams_OffsetPtr()

MRC_API const MR_MeshToDistanceVolumeParams * MR_MeshToDistanceVolumeParams_OffsetPtr ( const MR_MeshToDistanceVolumeParams * 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_MeshToDistanceVolumeParams_Set_dist()

MRC_API void MR_MeshToDistanceVolumeParams_Set_dist ( MR_MeshToDistanceVolumeParams * _this,
const MR_SignedDistanceToMeshOptions * value )

Modifies a member variable of class MR::MeshToDistanceVolumeParams 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_MeshToDistanceVolumeParams_Set_fwn()

MRC_API void MR_MeshToDistanceVolumeParams_Set_fwn ( MR_MeshToDistanceVolumeParams * _this,
MR_PassBy value_pass_by,
MR_std_shared_ptr_MR_IFastWindingNumber * value )

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

◆ MR_MeshToDistanceVolumeParams_Set_vol()

MRC_API void MR_MeshToDistanceVolumeParams_Set_vol ( MR_MeshToDistanceVolumeParams * _this,
MR_PassBy value_pass_by,
MR_DistanceVolumeParams * value )

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