MeshLib C Docs
Loading...
Searching...
No Matches
MRPointsProject.h File Reference
#include <MRCMesh/MRId.h>
#include <MRCMisc/common.h>
#include <MRCMisc/exports.h>
#include <stdbool.h>
#include <stddef.h>
#include <stdint.h>

Go to the source code of this file.

Typedefs

typedef struct MR_AABBTreePoints MR_AABBTreePoints
 
typedef struct MR_AffineXf3f MR_AffineXf3f
 
typedef struct MR_BitSet MR_BitSet
 
typedef struct MR_Buffer_MR_VertId MR_Buffer_MR_VertId
 
typedef struct MR_FewSmallest_MR_PointsProjectionResult MR_FewSmallest_MR_PointsProjectionResult
 
typedef struct MR_PointCloud MR_PointCloud
 
typedef struct MR_PointCloudPart MR_PointCloudPart
 
typedef struct MR_Vector3f MR_Vector3f
 
typedef struct MR_VertBitSet MR_VertBitSet
 
typedef struct MR_expected_void_std_string MR_expected_void_std_string
 
typedef struct MR_std_function_bool_from_MR_VertId MR_std_function_bool_from_MR_VertId
 
typedef struct MR_std_function_bool_from_float MR_std_function_bool_from_float
 
typedef struct MR_std_pair_MR_VertId_MR_VertId MR_std_pair_MR_VertId_MR_VertId
 
typedef struct MR_std_vector_MR_PointsProjectionResult MR_std_vector_MR_PointsProjectionResult
 
typedef struct MR_std_vector_MR_Vector3f MR_std_vector_MR_Vector3f
 
typedef struct MR_PointsProjectionResult MR_PointsProjectionResult
 Generated from class MR::PointsProjectionResult.
 
typedef struct MR_FindProjectionOnPointsSettings MR_FindProjectionOnPointsSettings
 
typedef struct MR_IPointsProjector MR_IPointsProjector
 
typedef struct MR_PointsProjector MR_PointsProjector
 

Functions

MRC_API const float * MR_PointsProjectionResult_Get_distSq (const MR_PointsProjectionResult *_this)
 
MRC_API void MR_PointsProjectionResult_Set_distSq (MR_PointsProjectionResult *_this, float value)
 
MRC_API float * MR_PointsProjectionResult_GetMutable_distSq (MR_PointsProjectionResult *_this)
 
MRC_API const MR_VertIdMR_PointsProjectionResult_Get_vId (const MR_PointsProjectionResult *_this)
 
MRC_API void MR_PointsProjectionResult_Set_vId (MR_PointsProjectionResult *_this, MR_VertId value)
 
MRC_API MR_VertIdMR_PointsProjectionResult_GetMutable_vId (MR_PointsProjectionResult *_this)
 
MRC_API MR_PointsProjectionResultMR_PointsProjectionResult_DefaultConstruct (void)
 
MRC_API MR_PointsProjectionResultMR_PointsProjectionResult_DefaultConstructArray (size_t num_elems)
 
MRC_API MR_PointsProjectionResultMR_PointsProjectionResult_ConstructFrom (float distSq, MR_VertId vId)
 
MRC_API const MR_PointsProjectionResultMR_PointsProjectionResult_OffsetPtr (const MR_PointsProjectionResult *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_PointsProjectionResultMR_PointsProjectionResult_OffsetMutablePtr (MR_PointsProjectionResult *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_PointsProjectionResultMR_PointsProjectionResult_ConstructFromAnother (const MR_PointsProjectionResult *_other)
 
MRC_API void MR_PointsProjectionResult_Destroy (const MR_PointsProjectionResult *_this)
 Destroys a heap-allocated instance of MR_PointsProjectionResult. Does nothing if the pointer is null.
 
MRC_API void MR_PointsProjectionResult_DestroyArray (const MR_PointsProjectionResult *_this)
 Destroys a heap-allocated array of MR_PointsProjectionResult. Does nothing if the pointer is null.
 
MRC_API MR_PointsProjectionResultMR_PointsProjectionResult_AssignFromAnother (MR_PointsProjectionResult *_this, const MR_PointsProjectionResult *_other)
 
MRC_API MR_PointsProjectionResultMR_findProjectionOnPoints_6 (const MR_Vector3f *pt, const MR_PointCloudPart *pcp, const float *upDistLimitSq, const MR_AffineXf3f *xf, const float *loDistLimitSq, MR_PassBy skipCb_pass_by, MR_std_function_bool_from_MR_VertId *skipCb)
 computes the closest point on point cloud to given point
 
MRC_API MR_PointsProjectionResultMR_findProjectionOnPoints_7 (const MR_Vector3f *pt, const MR_AABBTreePoints *tree, const float *upDistLimitSq, const MR_AffineXf3f *xf, const float *loDistLimitSq, const MR_VertBitSet *region, MR_PassBy skipCb_pass_by, MR_std_function_bool_from_MR_VertId *skipCb)
 computes the closest point on AABBTreePoints to given point
 
MRC_API void MR_findFewClosestPoints (const MR_Vector3f *pt, const MR_PointCloud *pc, MR_FewSmallest_MR_PointsProjectionResult *res, const float *upDistLimitSq, const MR_AffineXf3f *xf, const float *loDistLimitSq)
 finds a number of the closest points in the cloud (as configured in
 
MRC_API MR_Buffer_MR_VertIdMR_findNClosestPointsPerPoint (const MR_PointCloud *pc, int32_t numNei, const MR_std_function_bool_from_float *progress)
 finds given number of closest points (excluding itself) to each valid point in the cloud;
 
MRC_API MR_std_pair_MR_VertId_MR_VertIdMR_findTwoClosestPoints (const MR_PointCloud *pc, const MR_std_function_bool_from_float *progress)
 
MRC_API const MR_BitSet *const * MR_FindProjectionOnPointsSettings_Get_valid (const MR_FindProjectionOnPointsSettings *_this)
 
MRC_API void MR_FindProjectionOnPointsSettings_Set_valid (MR_FindProjectionOnPointsSettings *_this, const MR_BitSet *value)
 
MRC_API const MR_BitSet ** MR_FindProjectionOnPointsSettings_GetMutable_valid (MR_FindProjectionOnPointsSettings *_this)
 
MRC_API const MR_AffineXf3f *const * MR_FindProjectionOnPointsSettings_Get_xf (const MR_FindProjectionOnPointsSettings *_this)
 
MRC_API void MR_FindProjectionOnPointsSettings_Set_xf (MR_FindProjectionOnPointsSettings *_this, const MR_AffineXf3f *value)
 
MRC_API const MR_AffineXf3f ** MR_FindProjectionOnPointsSettings_GetMutable_xf (MR_FindProjectionOnPointsSettings *_this)
 
MRC_API const float * MR_FindProjectionOnPointsSettings_Get_upDistLimitSq (const MR_FindProjectionOnPointsSettings *_this)
 
MRC_API void MR_FindProjectionOnPointsSettings_Set_upDistLimitSq (MR_FindProjectionOnPointsSettings *_this, float value)
 
MRC_API float * MR_FindProjectionOnPointsSettings_GetMutable_upDistLimitSq (MR_FindProjectionOnPointsSettings *_this)
 
MRC_API const float * MR_FindProjectionOnPointsSettings_Get_loDistLimitSq (const MR_FindProjectionOnPointsSettings *_this)
 
MRC_API void MR_FindProjectionOnPointsSettings_Set_loDistLimitSq (MR_FindProjectionOnPointsSettings *_this, float value)
 
MRC_API float * MR_FindProjectionOnPointsSettings_GetMutable_loDistLimitSq (MR_FindProjectionOnPointsSettings *_this)
 
MRC_API const bool * MR_FindProjectionOnPointsSettings_Get_skipSameIndex (const MR_FindProjectionOnPointsSettings *_this)
 
MRC_API void MR_FindProjectionOnPointsSettings_Set_skipSameIndex (MR_FindProjectionOnPointsSettings *_this, bool value)
 
MRC_API bool * MR_FindProjectionOnPointsSettings_GetMutable_skipSameIndex (MR_FindProjectionOnPointsSettings *_this)
 
MRC_API const MR_std_function_bool_from_floatMR_FindProjectionOnPointsSettings_Get_cb (const MR_FindProjectionOnPointsSettings *_this)
 
MRC_API void MR_FindProjectionOnPointsSettings_Set_cb (MR_FindProjectionOnPointsSettings *_this, MR_PassBy value_pass_by, MR_std_function_bool_from_float *value)
 
MRC_API MR_std_function_bool_from_floatMR_FindProjectionOnPointsSettings_GetMutable_cb (MR_FindProjectionOnPointsSettings *_this)
 
MRC_API MR_FindProjectionOnPointsSettingsMR_FindProjectionOnPointsSettings_DefaultConstruct (void)
 
MRC_API MR_FindProjectionOnPointsSettingsMR_FindProjectionOnPointsSettings_DefaultConstructArray (size_t num_elems)
 
MRC_API MR_FindProjectionOnPointsSettingsMR_FindProjectionOnPointsSettings_ConstructFrom (const MR_BitSet *valid, const MR_AffineXf3f *xf, float upDistLimitSq, float loDistLimitSq, bool skipSameIndex, MR_PassBy cb_pass_by, MR_std_function_bool_from_float *cb)
 
MRC_API const MR_FindProjectionOnPointsSettingsMR_FindProjectionOnPointsSettings_OffsetPtr (const MR_FindProjectionOnPointsSettings *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_FindProjectionOnPointsSettingsMR_FindProjectionOnPointsSettings_OffsetMutablePtr (MR_FindProjectionOnPointsSettings *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_FindProjectionOnPointsSettingsMR_FindProjectionOnPointsSettings_ConstructFromAnother (MR_PassBy _other_pass_by, MR_FindProjectionOnPointsSettings *_other)
 
MRC_API void MR_FindProjectionOnPointsSettings_Destroy (const MR_FindProjectionOnPointsSettings *_this)
 Destroys a heap-allocated instance of MR_FindProjectionOnPointsSettings. Does nothing if the pointer is null.
 
MRC_API void MR_FindProjectionOnPointsSettings_DestroyArray (const MR_FindProjectionOnPointsSettings *_this)
 Destroys a heap-allocated array of MR_FindProjectionOnPointsSettings. Does nothing if the pointer is null.
 
MRC_API MR_FindProjectionOnPointsSettingsMR_FindProjectionOnPointsSettings_AssignFromAnother (MR_FindProjectionOnPointsSettings *_this, MR_PassBy _other_pass_by, MR_FindProjectionOnPointsSettings *_other)
 
MRC_API void MR_IPointsProjector_Destroy (const MR_IPointsProjector *_this)
 Destroys a heap-allocated instance of MR_IPointsProjector. Does nothing if the pointer is null.
 
MRC_API void MR_IPointsProjector_DestroyArray (const MR_IPointsProjector *_this)
 Destroys a heap-allocated array of MR_IPointsProjector. Does nothing if the pointer is null.
 
MRC_API MR_expected_void_std_stringMR_IPointsProjector_setPointCloud (MR_IPointsProjector *_this, const MR_PointCloud *pointCloud)
 
MRC_API MR_expected_void_std_stringMR_IPointsProjector_findProjections (const MR_IPointsProjector *_this, MR_std_vector_MR_PointsProjectionResult *results, const MR_std_vector_MR_Vector3f *points, const MR_FindProjectionOnPointsSettings *settings)
 
MRC_API MR_uint64_t MR_IPointsProjector_projectionsHeapBytes (const MR_IPointsProjector *_this, MR_uint64_t numProjections)
 
MRC_API const MR_IPointsProjectorMR_IPointsProjector_OffsetPtr (const MR_IPointsProjector *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_IPointsProjectorMR_IPointsProjector_OffsetMutablePtr (MR_IPointsProjector *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 const MR_PointsProjectorMR_IPointsProjector_StaticDowncastTo_MR_PointsProjector (const MR_IPointsProjector *object)
 
MRC_API MR_PointsProjectorMR_IPointsProjector_MutableStaticDowncastTo_MR_PointsProjector (MR_IPointsProjector *object)
 
MRC_API const MR_PointsProjectorMR_IPointsProjector_DynamicDowncastTo_MR_PointsProjector (const MR_IPointsProjector *object)
 
MRC_API MR_PointsProjectorMR_IPointsProjector_MutableDynamicDowncastTo_MR_PointsProjector (MR_IPointsProjector *object)
 
MRC_API const MR_PointsProjectorMR_IPointsProjector_DynamicDowncastToOrFail_MR_PointsProjector (const MR_IPointsProjector *object)
 
MRC_API MR_PointsProjectorMR_IPointsProjector_MutableDynamicDowncastToOrFail_MR_PointsProjector (MR_IPointsProjector *object)
 
MRC_API MR_PointsProjectorMR_PointsProjector_DefaultConstruct (void)
 
MRC_API MR_PointsProjectorMR_PointsProjector_DefaultConstructArray (size_t num_elems)
 
MRC_API const MR_PointsProjectorMR_PointsProjector_OffsetPtr (const MR_PointsProjector *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_PointsProjectorMR_PointsProjector_OffsetMutablePtr (MR_PointsProjector *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 const MR_IPointsProjectorMR_PointsProjector_UpcastTo_MR_IPointsProjector (const MR_PointsProjector *object)
 
MRC_API MR_IPointsProjectorMR_PointsProjector_MutableUpcastTo_MR_IPointsProjector (MR_PointsProjector *object)
 Upcasts an instance of MR::PointsProjector to its base class MR::IPointsProjector.
 
MRC_API MR_PointsProjectorMR_PointsProjector_ConstructFromAnother (MR_PassBy _other_pass_by, MR_PointsProjector *_other)
 
MRC_API void MR_PointsProjector_Destroy (const MR_PointsProjector *_this)
 Destroys a heap-allocated instance of MR_PointsProjector. Does nothing if the pointer is null.
 
MRC_API void MR_PointsProjector_DestroyArray (const MR_PointsProjector *_this)
 Destroys a heap-allocated array of MR_PointsProjector. Does nothing if the pointer is null.
 
MRC_API MR_PointsProjectorMR_PointsProjector_AssignFromAnother (MR_PointsProjector *_this, MR_PassBy _other_pass_by, MR_PointsProjector *_other)
 
MRC_API MR_expected_void_std_stringMR_PointsProjector_setPointCloud (MR_PointsProjector *_this, const MR_PointCloud *pointCloud)
 
MRC_API MR_expected_void_std_stringMR_PointsProjector_findProjections (const MR_PointsProjector *_this, MR_std_vector_MR_PointsProjectionResult *results, const MR_std_vector_MR_Vector3f *points, const MR_FindProjectionOnPointsSettings *settings)
 
MRC_API MR_uint64_t MR_PointsProjector_projectionsHeapBytes (const MR_PointsProjector *_this, MR_uint64_t numProjections)
 

Typedef Documentation

◆ MR_AABBTreePoints

◆ MR_AffineXf3f

typedef struct MR_AffineXf3f MR_AffineXf3f

◆ MR_BitSet

typedef struct MR_BitSet MR_BitSet

◆ MR_Buffer_MR_VertId

◆ MR_expected_void_std_string

◆ MR_FewSmallest_MR_PointsProjectionResult

◆ MR_FindProjectionOnPointsSettings

settings for IPointsProjector::findProjections Generated from class MR::FindProjectionOnPointsSettings.

◆ MR_IPointsProjector

abstract class for computing the closest points of point clouds Generated from class MR::IPointsProjector. Derived classes: Direct: (non-virtual) MR::PointsProjector

◆ MR_PointCloud

typedef struct MR_PointCloud MR_PointCloud

◆ MR_PointCloudPart

◆ MR_PointsProjectionResult

◆ MR_PointsProjector

default implementation of IPointsProjector Generated from class MR::PointsProjector. Base classes: Direct: (non-virtual) MR::IPointsProjector

◆ MR_std_function_bool_from_float

◆ MR_std_function_bool_from_MR_VertId

◆ MR_std_pair_MR_VertId_MR_VertId

◆ MR_std_vector_MR_PointsProjectionResult

◆ MR_std_vector_MR_Vector3f

◆ MR_Vector3f

typedef struct MR_Vector3f MR_Vector3f

◆ MR_VertBitSet

typedef struct MR_VertBitSet MR_VertBitSet

Function Documentation

◆ MR_findFewClosestPoints()

MRC_API void MR_findFewClosestPoints ( const MR_Vector3f * pt,
const MR_PointCloud * pc,
MR_FewSmallest_MR_PointsProjectionResult * res,
const float * upDistLimitSq,
const MR_AffineXf3f * xf,
const float * loDistLimitSq )

finds a number of the closest points in the cloud (as configured in

Parameters
res)to given point
upDistLimitSqupper limit on the distance in question, points with larger distance than it will not be returned
xfpointcloud-to-point transformation, if not specified then identity transformation is assumed
loDistLimitSqlow limit on the distance in question, the algorithm can return given number of points within this distance even skipping closer ones Generated from function MR::findFewClosestPoints. Parameter pt can not be null. It is a single object. Parameter pc can not be null. It is a single object. Parameter res can not be null. It is a single object. Parameter upDistLimitSq has a default argument: 3.40282347E+38F, pass a null pointer to use it. Parameter xf defaults to a null pointer in C++. Parameter loDistLimitSq has a default argument: 0, pass a null pointer to use it.

◆ MR_findNClosestPointsPerPoint()

MRC_API MR_Buffer_MR_VertId * MR_findNClosestPointsPerPoint ( const MR_PointCloud * pc,
int32_t numNei,
const MR_std_function_bool_from_float * progress )

finds given number of closest points (excluding itself) to each valid point in the cloud;

Parameters
numNeithe number of closest points to find for each point
Returns
a buffer where for every valid point with index i its neighbours are stored at indices [i*numNei; (i+1)*numNei) Generated from function MR::findNClosestPointsPerPoint. Parameter pc can not be null. It is a single object. Parameter progress is a single object. Parameter progress has a default argument: {}, pass a null pointer to use it. Never returns null. Returns an instance allocated on the heap! Must call MR_Buffer_MR_VertId_Destroy() to free it when you're done using it.

◆ MR_findProjectionOnPoints_6()

MRC_API MR_PointsProjectionResult * MR_findProjectionOnPoints_6 ( const MR_Vector3f * pt,
const MR_PointCloudPart * pcp,
const float * upDistLimitSq,
const MR_AffineXf3f * xf,
const float * loDistLimitSq,
MR_PassBy skipCb_pass_by,
MR_std_function_bool_from_MR_VertId * skipCb )

computes the closest point on point cloud to given point

Parameters
upDistLimitSqupper limit on the distance in question, if the real distance is larger than the function exits returning upDistLimitSq and no valid point
xfpointcloud-to-point transformation, if not specified then identity transformation is assumed
loDistLimitSqlow limit on the distance in question, if a point is found within this distance then it is immediately returned without searching for a closer one
skipCbcallback to discard VertId projection candidate Generated from function MR::findProjectionOnPoints. Parameter pt can not be null. It is a single object. Parameter pcp can not be null. It is a single object. Parameter upDistLimitSq has a default argument: 3.40282347E+38F, pass a null pointer to use it. Parameter xf defaults to a null pointer in C++. Parameter loDistLimitSq has a default argument: 0, pass a null pointer to use it. Parameter skipCb has a default argument: {}, pass MR_PassBy_DefaultArgument and a null pointer to use it. Never returns null. Returns an instance allocated on the heap! Must call MR_PointsProjectionResult_Destroy() to free it when you're done using it.

◆ MR_findProjectionOnPoints_7()

MRC_API MR_PointsProjectionResult * MR_findProjectionOnPoints_7 ( const MR_Vector3f * pt,
const MR_AABBTreePoints * tree,
const float * upDistLimitSq,
const MR_AffineXf3f * xf,
const float * loDistLimitSq,
const MR_VertBitSet * region,
MR_PassBy skipCb_pass_by,
MR_std_function_bool_from_MR_VertId * skipCb )

computes the closest point on AABBTreePoints to given point

Parameters
upDistLimitSqupper limit on the distance in question, if the real distance is larger than the function exits returning upDistLimitSq and no valid point
xfpointcloud-to-point transformation, if not specified then identity transformation is assumed
loDistLimitSqlow limit on the distance in question, if a point is found within this distance then it is immediately returned without searching for a closer one
regionif not nullptr, all points not from the given region will be ignored
skipCbcallback to discard VertId projection candidate Generated from function MR::findProjectionOnPoints. Parameter pt can not be null. It is a single object. Parameter tree can not be null. It is a single object. Parameter upDistLimitSq has a default argument: 3.40282347E+38F, pass a null pointer to use it. Parameter xf defaults to a null pointer in C++. Parameter loDistLimitSq has a default argument: 0, pass a null pointer to use it. Parameter region defaults to a null pointer in C++. Parameter skipCb has a default argument: {}, pass MR_PassBy_DefaultArgument and a null pointer to use it. Never returns null. Returns an instance allocated on the heap! Must call MR_PointsProjectionResult_Destroy() to free it when you're done using it.

◆ MR_FindProjectionOnPointsSettings_AssignFromAnother()

MRC_API MR_FindProjectionOnPointsSettings * MR_FindProjectionOnPointsSettings_AssignFromAnother ( MR_FindProjectionOnPointsSettings * _this,
MR_PassBy _other_pass_by,
MR_FindProjectionOnPointsSettings * _other )

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

MRC_API MR_FindProjectionOnPointsSettings * MR_FindProjectionOnPointsSettings_ConstructFrom ( const MR_BitSet * valid,
const MR_AffineXf3f * xf,
float upDistLimitSq,
float loDistLimitSq,
bool skipSameIndex,
MR_PassBy cb_pass_by,
MR_std_function_bool_from_float * cb )

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

◆ MR_FindProjectionOnPointsSettings_ConstructFromAnother()

MRC_API MR_FindProjectionOnPointsSettings * MR_FindProjectionOnPointsSettings_ConstructFromAnother ( MR_PassBy _other_pass_by,
MR_FindProjectionOnPointsSettings * _other )

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

◆ MR_FindProjectionOnPointsSettings_DefaultConstruct()

MRC_API MR_FindProjectionOnPointsSettings * MR_FindProjectionOnPointsSettings_DefaultConstruct ( void )

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

◆ MR_FindProjectionOnPointsSettings_DefaultConstructArray()

MRC_API MR_FindProjectionOnPointsSettings * MR_FindProjectionOnPointsSettings_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_FindProjectionOnPointsSettings_DestroyArray(). Use MR_FindProjectionOnPointsSettings_OffsetMutablePtr() and MR_FindProjectionOnPointsSettings_OffsetPtr() to access the array elements.

◆ MR_FindProjectionOnPointsSettings_Destroy()

MRC_API void MR_FindProjectionOnPointsSettings_Destroy ( const MR_FindProjectionOnPointsSettings * _this)

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

◆ MR_FindProjectionOnPointsSettings_DestroyArray()

MRC_API void MR_FindProjectionOnPointsSettings_DestroyArray ( const MR_FindProjectionOnPointsSettings * _this)

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

◆ MR_FindProjectionOnPointsSettings_Get_cb()

MRC_API const MR_std_function_bool_from_float * MR_FindProjectionOnPointsSettings_Get_cb ( const MR_FindProjectionOnPointsSettings * _this)

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

MRC_API const float * MR_FindProjectionOnPointsSettings_Get_loDistLimitSq ( const MR_FindProjectionOnPointsSettings * _this)

low limit on the distance in question, if a point is found within this distance then it is immediately returned without searching for a closer one Returns a pointer to a member variable of class MR::FindProjectionOnPointsSettings named loDistLimitSq. 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_FindProjectionOnPointsSettings_Get_skipSameIndex()

MRC_API const bool * MR_FindProjectionOnPointsSettings_Get_skipSameIndex ( const MR_FindProjectionOnPointsSettings * _this)

if true, discards a projection candidate with the same index as the target point Returns a pointer to a member variable of class MR::FindProjectionOnPointsSettings named skipSameIndex. 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_FindProjectionOnPointsSettings_Get_upDistLimitSq()

MRC_API const float * MR_FindProjectionOnPointsSettings_Get_upDistLimitSq ( const MR_FindProjectionOnPointsSettings * _this)

upper limit on the distance in question, if the real distance is larger than the function exits returning upDistLimitSq and no valid point Returns a pointer to a member variable of class MR::FindProjectionOnPointsSettings named upDistLimitSq. 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_FindProjectionOnPointsSettings_Get_valid()

MRC_API const MR_BitSet *const * MR_FindProjectionOnPointsSettings_Get_valid ( const MR_FindProjectionOnPointsSettings * _this)

bitset of valid input points Returns a pointer to a member variable of class MR::FindProjectionOnPointsSettings named valid. 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_FindProjectionOnPointsSettings_Get_xf()

MRC_API const MR_AffineXf3f *const * MR_FindProjectionOnPointsSettings_Get_xf ( const MR_FindProjectionOnPointsSettings * _this)

affine transformation for input points Returns a pointer to a member variable of class MR::FindProjectionOnPointsSettings named xf. 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_FindProjectionOnPointsSettings_GetMutable_cb()

MRC_API MR_std_function_bool_from_float * MR_FindProjectionOnPointsSettings_GetMutable_cb ( MR_FindProjectionOnPointsSettings * _this)

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

MRC_API float * MR_FindProjectionOnPointsSettings_GetMutable_loDistLimitSq ( MR_FindProjectionOnPointsSettings * _this)

low limit on the distance in question, if a point is found within this distance then it is immediately returned without searching for a closer one Returns a mutable pointer to a member variable of class MR::FindProjectionOnPointsSettings named loDistLimitSq. 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_FindProjectionOnPointsSettings_GetMutable_skipSameIndex()

MRC_API bool * MR_FindProjectionOnPointsSettings_GetMutable_skipSameIndex ( MR_FindProjectionOnPointsSettings * _this)

if true, discards a projection candidate with the same index as the target point Returns a mutable pointer to a member variable of class MR::FindProjectionOnPointsSettings named skipSameIndex. 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_FindProjectionOnPointsSettings_GetMutable_upDistLimitSq()

MRC_API float * MR_FindProjectionOnPointsSettings_GetMutable_upDistLimitSq ( MR_FindProjectionOnPointsSettings * _this)

upper limit on the distance in question, if the real distance is larger than the function exits returning upDistLimitSq and no valid point Returns a mutable pointer to a member variable of class MR::FindProjectionOnPointsSettings named upDistLimitSq. 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_FindProjectionOnPointsSettings_GetMutable_valid()

MRC_API const MR_BitSet ** MR_FindProjectionOnPointsSettings_GetMutable_valid ( MR_FindProjectionOnPointsSettings * _this)

bitset of valid input points Returns a mutable pointer to a member variable of class MR::FindProjectionOnPointsSettings named valid. 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_FindProjectionOnPointsSettings_GetMutable_xf()

MRC_API const MR_AffineXf3f ** MR_FindProjectionOnPointsSettings_GetMutable_xf ( MR_FindProjectionOnPointsSettings * _this)

affine transformation for input points Returns a mutable pointer to a member variable of class MR::FindProjectionOnPointsSettings named xf. 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_FindProjectionOnPointsSettings_OffsetMutablePtr()

MRC_API MR_FindProjectionOnPointsSettings * MR_FindProjectionOnPointsSettings_OffsetMutablePtr ( MR_FindProjectionOnPointsSettings * 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_FindProjectionOnPointsSettings_OffsetPtr()

MRC_API const MR_FindProjectionOnPointsSettings * MR_FindProjectionOnPointsSettings_OffsetPtr ( const MR_FindProjectionOnPointsSettings * 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_FindProjectionOnPointsSettings_Set_cb()

MRC_API void MR_FindProjectionOnPointsSettings_Set_cb ( MR_FindProjectionOnPointsSettings * _this,
MR_PassBy value_pass_by,
MR_std_function_bool_from_float * value )

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

◆ MR_FindProjectionOnPointsSettings_Set_loDistLimitSq()

MRC_API void MR_FindProjectionOnPointsSettings_Set_loDistLimitSq ( MR_FindProjectionOnPointsSettings * _this,
float value )

low limit on the distance in question, if a point is found within this distance then it is immediately returned without searching for a closer one Modifies a member variable of class MR::FindProjectionOnPointsSettings named loDistLimitSq. Parameter _this can not be null. It is a single object.

◆ MR_FindProjectionOnPointsSettings_Set_skipSameIndex()

MRC_API void MR_FindProjectionOnPointsSettings_Set_skipSameIndex ( MR_FindProjectionOnPointsSettings * _this,
bool value )

if true, discards a projection candidate with the same index as the target point Modifies a member variable of class MR::FindProjectionOnPointsSettings named skipSameIndex. Parameter _this can not be null. It is a single object.

◆ MR_FindProjectionOnPointsSettings_Set_upDistLimitSq()

MRC_API void MR_FindProjectionOnPointsSettings_Set_upDistLimitSq ( MR_FindProjectionOnPointsSettings * _this,
float value )

upper limit on the distance in question, if the real distance is larger than the function exits returning upDistLimitSq and no valid point Modifies a member variable of class MR::FindProjectionOnPointsSettings named upDistLimitSq. Parameter _this can not be null. It is a single object.

◆ MR_FindProjectionOnPointsSettings_Set_valid()

MRC_API void MR_FindProjectionOnPointsSettings_Set_valid ( MR_FindProjectionOnPointsSettings * _this,
const MR_BitSet * value )

bitset of valid input points Modifies a member variable of class MR::FindProjectionOnPointsSettings named valid. Parameter _this can not be null. It is a single object.

◆ MR_FindProjectionOnPointsSettings_Set_xf()

MRC_API void MR_FindProjectionOnPointsSettings_Set_xf ( MR_FindProjectionOnPointsSettings * _this,
const MR_AffineXf3f * value )

affine transformation for input points Modifies a member variable of class MR::FindProjectionOnPointsSettings named xf. Parameter _this can not be null. It is a single object.

◆ MR_findTwoClosestPoints()

MRC_API MR_std_pair_MR_VertId_MR_VertId * MR_findTwoClosestPoints ( const MR_PointCloud * pc,
const MR_std_function_bool_from_float * progress )

finds two closest points (first id < second id) in whole point cloud Generated from function MR::findTwoClosestPoints. Parameter pc can not be null. It is a single object. Parameter progress is a single object. Parameter progress has a default argument: {}, pass a null pointer to use it. Never returns null. Returns an instance allocated on the heap! Must call MR_std_pair_MR_VertId_MR_VertId_Destroy() to free it when you're done using it.

◆ MR_IPointsProjector_Destroy()

MRC_API void MR_IPointsProjector_Destroy ( const MR_IPointsProjector * _this)

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

◆ MR_IPointsProjector_DestroyArray()

MRC_API void MR_IPointsProjector_DestroyArray ( const MR_IPointsProjector * _this)

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

◆ MR_IPointsProjector_DynamicDowncastTo_MR_PointsProjector()

MRC_API const MR_PointsProjector * MR_IPointsProjector_DynamicDowncastTo_MR_PointsProjector ( const MR_IPointsProjector * object)

Downcasts an instance of MR::IPointsProjector to a derived class MR::PointsProjector. This is a dynamic downcast, it checks the type before casting. This version will return zero if the target type is wrong. This version is acting on mutable pointers.

◆ MR_IPointsProjector_DynamicDowncastToOrFail_MR_PointsProjector()

MRC_API const MR_PointsProjector * MR_IPointsProjector_DynamicDowncastToOrFail_MR_PointsProjector ( const MR_IPointsProjector * object)

Downcasts an instance of MR::IPointsProjector to a derived class MR::PointsProjector. This is a dynamic downcast, it checks the type before casting. This version will throw if the target type is wrong. This version is acting on mutable pointers. Parameter object 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_IPointsProjector_findProjections()

MRC_API MR_expected_void_std_string * MR_IPointsProjector_findProjections ( const MR_IPointsProjector * _this,
MR_std_vector_MR_PointsProjectionResult * results,
const MR_std_vector_MR_Vector3f * points,
const MR_FindProjectionOnPointsSettings * settings )

computes the closest points on point cloud to given points Generated from a method of class MR::IPointsProjector named findProjections. Parameter _this can not be null. It is a single object. Parameter results can not be null. It is a single object. Parameter points can not be null. It is a single object. Parameter settings can not be null. It is a single object. Never returns null. Returns an instance allocated on the heap! Must call MR_expected_void_std_string_Destroy() to free it when you're done using it.

◆ MR_IPointsProjector_MutableDynamicDowncastTo_MR_PointsProjector()

MRC_API MR_PointsProjector * MR_IPointsProjector_MutableDynamicDowncastTo_MR_PointsProjector ( MR_IPointsProjector * object)

Downcasts an instance of MR::IPointsProjector to a derived class MR::PointsProjector. This is a dynamic downcast, it checks the type before casting. This version will return zero if the target type is wrong.

◆ MR_IPointsProjector_MutableDynamicDowncastToOrFail_MR_PointsProjector()

MRC_API MR_PointsProjector * MR_IPointsProjector_MutableDynamicDowncastToOrFail_MR_PointsProjector ( MR_IPointsProjector * object)

Downcasts an instance of MR::IPointsProjector to a derived class MR::PointsProjector. This is a dynamic downcast, it checks the type before casting. This version will throw if the target type is wrong. Parameter object 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_IPointsProjector_MutableStaticDowncastTo_MR_PointsProjector()

MRC_API MR_PointsProjector * MR_IPointsProjector_MutableStaticDowncastTo_MR_PointsProjector ( MR_IPointsProjector * object)

Downcasts an instance of MR::IPointsProjector to a derived class MR::PointsProjector. 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_IPointsProjector_OffsetMutablePtr()

MRC_API MR_IPointsProjector * MR_IPointsProjector_OffsetMutablePtr ( MR_IPointsProjector * 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_IPointsProjector_OffsetPtr()

MRC_API const MR_IPointsProjector * MR_IPointsProjector_OffsetPtr ( const MR_IPointsProjector * 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_IPointsProjector_projectionsHeapBytes()

MRC_API MR_uint64_t MR_IPointsProjector_projectionsHeapBytes ( const MR_IPointsProjector * _this,
MR_uint64_t numProjections )

Returns amount of memory needed to compute projections Generated from a method of class MR::IPointsProjector named projectionsHeapBytes. Parameter _this can not be null. It is a single object.

◆ MR_IPointsProjector_setPointCloud()

MRC_API MR_expected_void_std_string * MR_IPointsProjector_setPointCloud ( MR_IPointsProjector * _this,
const MR_PointCloud * pointCloud )

sets the reference point cloud Generated from a method of class MR::IPointsProjector named setPointCloud. Parameter _this can not be null. It is a single object. Parameter pointCloud can not be null. It is a single object. Never returns null. Returns an instance allocated on the heap! Must call MR_expected_void_std_string_Destroy() to free it when you're done using it.

◆ MR_IPointsProjector_StaticDowncastTo_MR_PointsProjector()

MRC_API const MR_PointsProjector * MR_IPointsProjector_StaticDowncastTo_MR_PointsProjector ( const MR_IPointsProjector * object)

Downcasts an instance of MR::IPointsProjector to a derived class MR::PointsProjector. 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.

◆ MR_PointsProjectionResult_AssignFromAnother()

MRC_API MR_PointsProjectionResult * MR_PointsProjectionResult_AssignFromAnother ( MR_PointsProjectionResult * _this,
const MR_PointsProjectionResult * _other )

Generated from a method of class MR::PointsProjectionResult named operator=. Parameter _this can not be null. It is a single object. Parameter _other 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_PointsProjectionResult_ConstructFrom()

MRC_API MR_PointsProjectionResult * MR_PointsProjectionResult_ConstructFrom ( float distSq,
MR_VertId vId )

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

◆ MR_PointsProjectionResult_ConstructFromAnother()

MRC_API MR_PointsProjectionResult * MR_PointsProjectionResult_ConstructFromAnother ( const MR_PointsProjectionResult * _other)

Generated from a constructor of class MR::PointsProjectionResult. Parameter _other can not be null. It is a single object. Never returns null. Returns an instance allocated on the heap! Must call MR_PointsProjectionResult_Destroy() to free it when you're done using it.

◆ MR_PointsProjectionResult_DefaultConstruct()

MRC_API MR_PointsProjectionResult * MR_PointsProjectionResult_DefaultConstruct ( void )

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

◆ MR_PointsProjectionResult_DefaultConstructArray()

MRC_API MR_PointsProjectionResult * MR_PointsProjectionResult_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_PointsProjectionResult_DestroyArray(). Use MR_PointsProjectionResult_OffsetMutablePtr() and MR_PointsProjectionResult_OffsetPtr() to access the array elements.

◆ MR_PointsProjectionResult_Destroy()

MRC_API void MR_PointsProjectionResult_Destroy ( const MR_PointsProjectionResult * _this)

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

◆ MR_PointsProjectionResult_DestroyArray()

MRC_API void MR_PointsProjectionResult_DestroyArray ( const MR_PointsProjectionResult * _this)

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

◆ MR_PointsProjectionResult_Get_distSq()

MRC_API const float * MR_PointsProjectionResult_Get_distSq ( const MR_PointsProjectionResult * _this)

squared distance from pt to proj Returns a pointer to a member variable of class MR::PointsProjectionResult named distSq. 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_PointsProjectionResult_Get_vId()

MRC_API const MR_VertId * MR_PointsProjectionResult_Get_vId ( const MR_PointsProjectionResult * _this)

the closest vertex in point cloud Returns a pointer to a member variable of class MR::PointsProjectionResult named vId. 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_PointsProjectionResult_GetMutable_distSq()

MRC_API float * MR_PointsProjectionResult_GetMutable_distSq ( MR_PointsProjectionResult * _this)

squared distance from pt to proj Returns a mutable pointer to a member variable of class MR::PointsProjectionResult named distSq. 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_PointsProjectionResult_GetMutable_vId()

MRC_API MR_VertId * MR_PointsProjectionResult_GetMutable_vId ( MR_PointsProjectionResult * _this)

the closest vertex in point cloud Returns a mutable pointer to a member variable of class MR::PointsProjectionResult named vId. 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_PointsProjectionResult_OffsetMutablePtr()

MRC_API MR_PointsProjectionResult * MR_PointsProjectionResult_OffsetMutablePtr ( MR_PointsProjectionResult * 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_PointsProjectionResult_OffsetPtr()

MRC_API const MR_PointsProjectionResult * MR_PointsProjectionResult_OffsetPtr ( const MR_PointsProjectionResult * 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_PointsProjectionResult_Set_distSq()

MRC_API void MR_PointsProjectionResult_Set_distSq ( MR_PointsProjectionResult * _this,
float value )

squared distance from pt to proj Modifies a member variable of class MR::PointsProjectionResult named distSq. Parameter _this can not be null. It is a single object.

◆ MR_PointsProjectionResult_Set_vId()

MRC_API void MR_PointsProjectionResult_Set_vId ( MR_PointsProjectionResult * _this,
MR_VertId value )

the closest vertex in point cloud Modifies a member variable of class MR::PointsProjectionResult named vId. Parameter _this can not be null. It is a single object.

◆ MR_PointsProjector_AssignFromAnother()

MRC_API MR_PointsProjector * MR_PointsProjector_AssignFromAnother ( MR_PointsProjector * _this,
MR_PassBy _other_pass_by,
MR_PointsProjector * _other )

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

MRC_API MR_PointsProjector * MR_PointsProjector_ConstructFromAnother ( MR_PassBy _other_pass_by,
MR_PointsProjector * _other )

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

◆ MR_PointsProjector_DefaultConstruct()

MRC_API MR_PointsProjector * MR_PointsProjector_DefaultConstruct ( void )

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

◆ MR_PointsProjector_DefaultConstructArray()

MRC_API MR_PointsProjector * MR_PointsProjector_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_PointsProjector_DestroyArray(). Use MR_PointsProjector_OffsetMutablePtr() and MR_PointsProjector_OffsetPtr() to access the array elements.

◆ MR_PointsProjector_Destroy()

MRC_API void MR_PointsProjector_Destroy ( const MR_PointsProjector * _this)

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

◆ MR_PointsProjector_DestroyArray()

MRC_API void MR_PointsProjector_DestroyArray ( const MR_PointsProjector * _this)

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

◆ MR_PointsProjector_findProjections()

MRC_API MR_expected_void_std_string * MR_PointsProjector_findProjections ( const MR_PointsProjector * _this,
MR_std_vector_MR_PointsProjectionResult * results,
const MR_std_vector_MR_Vector3f * points,
const MR_FindProjectionOnPointsSettings * settings )

computes the closest points on point cloud to given points Generated from a method of class MR::PointsProjector named findProjections. Parameter _this can not be null. It is a single object. Parameter results can not be null. It is a single object. Parameter points can not be null. It is a single object. Parameter settings can not be null. It is a single object. Never returns null. Returns an instance allocated on the heap! Must call MR_expected_void_std_string_Destroy() to free it when you're done using it.

◆ MR_PointsProjector_MutableUpcastTo_MR_IPointsProjector()

MRC_API MR_IPointsProjector * MR_PointsProjector_MutableUpcastTo_MR_IPointsProjector ( MR_PointsProjector * object)

Upcasts an instance of MR::PointsProjector to its base class MR::IPointsProjector.

◆ MR_PointsProjector_OffsetMutablePtr()

MRC_API MR_PointsProjector * MR_PointsProjector_OffsetMutablePtr ( MR_PointsProjector * 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_PointsProjector_OffsetPtr()

MRC_API const MR_PointsProjector * MR_PointsProjector_OffsetPtr ( const MR_PointsProjector * 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_PointsProjector_projectionsHeapBytes()

MRC_API MR_uint64_t MR_PointsProjector_projectionsHeapBytes ( const MR_PointsProjector * _this,
MR_uint64_t numProjections )

Returns amount of memory needed to compute projections Generated from a method of class MR::PointsProjector named projectionsHeapBytes. Parameter _this can not be null. It is a single object.

◆ MR_PointsProjector_setPointCloud()

MRC_API MR_expected_void_std_string * MR_PointsProjector_setPointCloud ( MR_PointsProjector * _this,
const MR_PointCloud * pointCloud )

sets the reference point cloud Generated from a method of class MR::PointsProjector named setPointCloud. Parameter _this can not be null. It is a single object. Parameter pointCloud can not be null. It is a single object. Never returns null. Returns an instance allocated on the heap! Must call MR_expected_void_std_string_Destroy() to free it when you're done using it.

◆ MR_PointsProjector_UpcastTo_MR_IPointsProjector()

MRC_API const MR_IPointsProjector * MR_PointsProjector_UpcastTo_MR_IPointsProjector ( const MR_PointsProjector * object)

Upcasts an instance of MR::PointsProjector to its base class MR::IPointsProjector. This version is acting on mutable pointers.