struct MR_std_function_bool_from_float MR_std_function_bool_from_float
Definition MR3mf.h:10
struct MR_VdbVolume MR_VdbVolume
Definition MRBox.h:19
struct MR_std_vector_uint64_t MR_std_vector_uint64_t
Definition MRHeapBytes.h:18
struct MR_VoxelMetricParameters MR_VoxelMetricParameters
Definition MRVolumeSegment.h:16
MRC_API void MR_VoxelMetricParameters_Destroy(const MR_VoxelMetricParameters *_this)
Destroys a heap-allocated instance of MR_VoxelMetricParameters. Does nothing if the pointer is null.
MRC_API const MR_uint64_t * MR_VoxelMetricParameters_Get_stop(const MR_VoxelMetricParameters *_this)
MRC_API MR_SlicePlane * MR_VoxelMetricParameters_GetMutable_plane(MR_VoxelMetricParameters *_this)
MRC_API MR_std_function_float_from_uint64_t_uint64_t * MR_voxelsExponentMetric(const MR_VdbVolume *voxels, const MR_VoxelMetricParameters *parameters, const float *modifier)
MRC_API MR_QuarterBit * MR_bitand_assign_MR_QuarterBit(MR_QuarterBit *a, MR_QuarterBit b)
MRC_API void MR_VoxelMetricParameters_Set_plane(MR_VoxelMetricParameters *_this, MR_SlicePlane value)
char MR_QuarterBit
Definition MRVoxelPath.h:19
MRC_API MR_VoxelMetricParameters * MR_VoxelMetricParameters_AssignFromAnother(MR_VoxelMetricParameters *_this, const MR_VoxelMetricParameters *_other)
MRC_API void MR_VoxelMetricParameters_DestroyArray(const MR_VoxelMetricParameters *_this)
Destroys a heap-allocated array of MR_VoxelMetricParameters. Does nothing if the pointer is null.
MRC_API const float * MR_VoxelMetricParameters_Get_maxDistRatio(const MR_VoxelMetricParameters *_this)
MRC_API MR_QuarterBit MR_bitor_MR_QuarterBit(MR_QuarterBit a, MR_QuarterBit b)
Generated from function MR::operator|.
MRC_API MR_QuarterBit MR_mul_bool_MR_QuarterBit(bool a, MR_QuarterBit b)
Generated from function MR::operator*.
MRC_API MR_std_function_float_from_uint64_t_uint64_t * MR_voxelsSumDiffsMetric(const MR_VdbVolume *voxels, const MR_VoxelMetricParameters *parameters)
MRC_API MR_std_vector_uint64_t * MR_buildSmallestMetricPath_const_MR_VdbVolume_ref(const MR_VdbVolume *voxels, const MR_std_function_float_from_uint64_t_uint64_t *metric, MR_uint64_t start, MR_uint64_t finish, MR_PassBy cb_pass_by, MR_std_function_bool_from_float *cb)
@ MR_QuarterBit_All
Definition MRVoxelPath.h:26
@ MR_QuarterBit_LeftLeft
Definition MRVoxelPath.h:22
@ MR_QuarterBit_RightLeft
Definition MRVoxelPath.h:24
@ MR_QuarterBit_LeftRight
Definition MRVoxelPath.h:23
@ MR_QuarterBit_RightRight
Definition MRVoxelPath.h:25
MRC_API MR_QuarterBit * MR_bitor_assign_MR_QuarterBit(MR_QuarterBit *a, MR_QuarterBit b)
MRC_API const MR_uint64_t * MR_VoxelMetricParameters_Get_start(const MR_VoxelMetricParameters *_this)
MR_SlicePlane
Plane of slice in which to find path.
Definition MRVoxelPath.h:31
@ MR_SlicePlane_YZ
= 0 cause main axis is x - [0]
Definition MRVoxelPath.h:33
@ MR_SlicePlane_ZX
= 2 cause main axis is z - [2]
Definition MRVoxelPath.h:35
@ MR_SlicePlane_None
Definition MRVoxelPath.h:39
@ MR_SlicePlane_XY
special value not to limit path in one slice
Definition MRVoxelPath.h:37
MRC_API MR_QuarterBit MR_mul_MR_QuarterBit_bool(MR_QuarterBit a, bool b)
Generated from function MR::operator*.
MRC_API MR_QuarterBit * MR_mul_assign_MR_QuarterBit_bool(MR_QuarterBit *a, bool b)
MRC_API const MR_QuarterBit * MR_VoxelMetricParameters_Get_quatersMask(const MR_VoxelMetricParameters *_this)
MRC_API MR_uint64_t * MR_VoxelMetricParameters_GetMutable_start(MR_VoxelMetricParameters *_this)
MRC_API MR_QuarterBit MR_compl_MR_QuarterBit(MR_QuarterBit a)
Generated from function MR::operator~.
MRC_API MR_VoxelMetricParameters * MR_VoxelMetricParameters_DefaultConstructArray(size_t num_elems)
MRC_API void MR_VoxelMetricParameters_Set_stop(MR_VoxelMetricParameters *_this, MR_uint64_t value)
MRC_API const MR_VoxelMetricParameters * MR_VoxelMetricParameters_OffsetPtr(const MR_VoxelMetricParameters *ptr, ptrdiff_t i)
Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the...
MRC_API MR_QuarterBit MR_bitand_MR_QuarterBit(MR_QuarterBit a, MR_QuarterBit b)
Generated from function MR::operator&.
MRC_API void MR_VoxelMetricParameters_Set_start(MR_VoxelMetricParameters *_this, MR_uint64_t value)
MRC_API float * MR_VoxelMetricParameters_GetMutable_maxDistRatio(MR_VoxelMetricParameters *_this)
MRC_API MR_QuarterBit * MR_VoxelMetricParameters_GetMutable_quatersMask(MR_VoxelMetricParameters *_this)
MRC_API const MR_SlicePlane * MR_VoxelMetricParameters_Get_plane(const MR_VoxelMetricParameters *_this)
MRC_API MR_uint64_t * MR_VoxelMetricParameters_GetMutable_stop(MR_VoxelMetricParameters *_this)
MRC_API MR_VoxelMetricParameters * MR_VoxelMetricParameters_ConstructFrom(MR_uint64_t start, MR_uint64_t stop, float maxDistRatio, MR_SlicePlane plane, MR_QuarterBit quatersMask)
MRC_API MR_VoxelMetricParameters * MR_VoxelMetricParameters_ConstructFromAnother(const MR_VoxelMetricParameters *_other)
MRC_API MR_VoxelMetricParameters * MR_VoxelMetricParameters_DefaultConstruct(void)
MRC_API void MR_VoxelMetricParameters_Set_quatersMask(MR_VoxelMetricParameters *_this, MR_QuarterBit value)
MRC_API MR_VoxelMetricParameters * MR_VoxelMetricParameters_OffsetMutablePtr(MR_VoxelMetricParameters *ptr, ptrdiff_t i)
Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the...
MRC_API void MR_VoxelMetricParameters_Set_maxDistRatio(MR_VoxelMetricParameters *_this, float value)
MR_PassBy
Definition common.h:19
uint64_t MR_uint64_t
Definition common.h:14
#define MRC_API
Definition exports.h:11
struct MR_std_function_float_from_uint64_t_uint64_t MR_std_function_float_from_uint64_t_uint64_t
Definition std_function_float_from_uint64_t_uint64_t.h:15