MeshLib C Docs
Loading...
Searching...
No Matches
MRCudaPointsToDistanceVolume.h File Reference
#include <MRCCuda/exports.h>
#include <MRCMisc/common.h>
#include <stdbool.h>
#include <stddef.h>

Go to the source code of this file.

Typedefs

typedef struct MR_Cuda_ComputePointsToDistanceVolume MR_Cuda_ComputePointsToDistanceVolume

Functions

MRC_CUDA_API MR_expected_MR_SimpleVolumeMinMax_std_string * MR_Cuda_pointsToDistanceVolume (const MR_PointCloud *cloud, const MR_PointsToDistanceVolumeParams *params)
MRC_CUDA_API MR_expected_void_std_string * MR_Cuda_pointsToDistanceVolumeByParts (const MR_PointCloud *cloud, const MR_PointsToDistanceVolumeParams *params, MR_PassBy addPart_pass_by, MR_std_function_expected_void_std_string_from_const_MR_SimpleVolumeMinMax_ref_int *addPart, int layerOverlap)
MRC_CUDA_API size_t MR_Cuda_pointsToDistanceVolumeMemory (const MR_PointCloud *cloud, const MR_Vector3i *dims, const MR_VertCoords *ptNormals)
MRC_CUDA_API MR_Cuda_ComputePointsToDistanceVolume * MR_Cuda_ComputePointsToDistanceVolume_DefaultConstruct (void)
MRC_CUDA_API MR_Cuda_ComputePointsToDistanceVolume * MR_Cuda_ComputePointsToDistanceVolume_DefaultConstructArray (size_t num_elems)
MRC_CUDA_API const MR_Cuda_ComputePointsToDistanceVolume * MR_Cuda_ComputePointsToDistanceVolume_OffsetPtr (const MR_Cuda_ComputePointsToDistanceVolume *ptr, ptrdiff_t i)
MRC_CUDA_API MR_Cuda_ComputePointsToDistanceVolume * MR_Cuda_ComputePointsToDistanceVolume_OffsetMutablePtr (MR_Cuda_ComputePointsToDistanceVolume *ptr, ptrdiff_t i)
MRC_CUDA_API const MR_IComputePointsToDistanceVolume * MR_Cuda_ComputePointsToDistanceVolume_UpcastTo_MR_IComputePointsToDistanceVolume (const MR_Cuda_ComputePointsToDistanceVolume *object)
MRC_CUDA_API MR_IComputePointsToDistanceVolume * MR_Cuda_ComputePointsToDistanceVolume_MutableUpcastTo_MR_IComputePointsToDistanceVolume (MR_Cuda_ComputePointsToDistanceVolume *object)
MRC_CUDA_API const MR_Cuda_ComputePointsToDistanceVolume * MR_Cuda_ComputePointsToDistanceVolume_StaticDowncastFrom_MR_IComputePointsToDistanceVolume (const MR_IComputePointsToDistanceVolume *object)
MRC_CUDA_API MR_Cuda_ComputePointsToDistanceVolume * MR_Cuda_ComputePointsToDistanceVolume_MutableStaticDowncastFrom_MR_IComputePointsToDistanceVolume (MR_IComputePointsToDistanceVolume *object)
MRC_CUDA_API const MR_Cuda_ComputePointsToDistanceVolume * MR_Cuda_ComputePointsToDistanceVolume_DynamicDowncastFrom_MR_IComputePointsToDistanceVolume (const MR_IComputePointsToDistanceVolume *object)
MRC_CUDA_API MR_Cuda_ComputePointsToDistanceVolume * MR_Cuda_ComputePointsToDistanceVolume_MutableDynamicDowncastFrom_MR_IComputePointsToDistanceVolume (MR_IComputePointsToDistanceVolume *object)
MRC_CUDA_API const MR_Cuda_ComputePointsToDistanceVolume * MR_Cuda_ComputePointsToDistanceVolume_DynamicDowncastFromOrFail_MR_IComputePointsToDistanceVolume (const MR_IComputePointsToDistanceVolume *object)
MRC_CUDA_API MR_Cuda_ComputePointsToDistanceVolume * MR_Cuda_ComputePointsToDistanceVolume_MutableDynamicDowncastFromOrFail_MR_IComputePointsToDistanceVolume (MR_IComputePointsToDistanceVolume *object)
MRC_CUDA_API const MR_IComputePointsToDistanceVolumeByParts * MR_Cuda_ComputePointsToDistanceVolume_UpcastTo_MR_IComputePointsToDistanceVolumeByParts (const MR_Cuda_ComputePointsToDistanceVolume *object)
MRC_CUDA_API MR_IComputePointsToDistanceVolumeByParts * MR_Cuda_ComputePointsToDistanceVolume_MutableUpcastTo_MR_IComputePointsToDistanceVolumeByParts (MR_Cuda_ComputePointsToDistanceVolume *object)
MRC_CUDA_API const MR_Cuda_ComputePointsToDistanceVolume * MR_Cuda_ComputePointsToDistanceVolume_StaticDowncastFrom_MR_IComputePointsToDistanceVolumeByParts (const MR_IComputePointsToDistanceVolumeByParts *object)
MRC_CUDA_API MR_Cuda_ComputePointsToDistanceVolume * MR_Cuda_ComputePointsToDistanceVolume_MutableStaticDowncastFrom_MR_IComputePointsToDistanceVolumeByParts (MR_IComputePointsToDistanceVolumeByParts *object)
MRC_CUDA_API const MR_Cuda_ComputePointsToDistanceVolume * MR_Cuda_ComputePointsToDistanceVolume_DynamicDowncastFrom_MR_IComputePointsToDistanceVolumeByParts (const MR_IComputePointsToDistanceVolumeByParts *object)
MRC_CUDA_API MR_Cuda_ComputePointsToDistanceVolume * MR_Cuda_ComputePointsToDistanceVolume_MutableDynamicDowncastFrom_MR_IComputePointsToDistanceVolumeByParts (MR_IComputePointsToDistanceVolumeByParts *object)
MRC_CUDA_API const MR_Cuda_ComputePointsToDistanceVolume * MR_Cuda_ComputePointsToDistanceVolume_DynamicDowncastFromOrFail_MR_IComputePointsToDistanceVolumeByParts (const MR_IComputePointsToDistanceVolumeByParts *object)
MRC_CUDA_API MR_Cuda_ComputePointsToDistanceVolume * MR_Cuda_ComputePointsToDistanceVolume_MutableDynamicDowncastFromOrFail_MR_IComputePointsToDistanceVolumeByParts (MR_IComputePointsToDistanceVolumeByParts *object)
MRC_CUDA_API MR_Cuda_ComputePointsToDistanceVolume * MR_Cuda_ComputePointsToDistanceVolume_ConstructFromAnother (MR_PassBy _other_pass_by, MR_Cuda_ComputePointsToDistanceVolume *_other)
MRC_CUDA_API void MR_Cuda_ComputePointsToDistanceVolume_Destroy (const MR_Cuda_ComputePointsToDistanceVolume *_this)
 Destroys a heap-allocated instance of MR_Cuda_ComputePointsToDistanceVolume. Does nothing if the pointer is null.
MRC_CUDA_API void MR_Cuda_ComputePointsToDistanceVolume_DestroyArray (const MR_Cuda_ComputePointsToDistanceVolume *_this)
 Destroys a heap-allocated array of MR_Cuda_ComputePointsToDistanceVolume. Does nothing if the pointer is null.
MRC_CUDA_API MR_Cuda_ComputePointsToDistanceVolume * MR_Cuda_ComputePointsToDistanceVolume_AssignFromAnother (MR_Cuda_ComputePointsToDistanceVolume *_this, MR_PassBy _other_pass_by, MR_Cuda_ComputePointsToDistanceVolume *_other)
MRC_CUDA_API bool MR_Cuda_ComputePointsToDistanceVolume_canCompute (const MR_Cuda_ComputePointsToDistanceVolume *_this, const MR_PointCloud *cloud, const MR_PointsToDistanceVolumeParams *params)
MRC_CUDA_API MR_expected_MR_SimpleVolumeMinMax_std_string * MR_Cuda_ComputePointsToDistanceVolume_compute (const MR_Cuda_ComputePointsToDistanceVolume *_this, const MR_PointCloud *cloud, const MR_PointsToDistanceVolumeParams *params)
MRC_CUDA_API MR_expected_void_std_string * MR_Cuda_ComputePointsToDistanceVolume_computeByParts (const MR_Cuda_ComputePointsToDistanceVolume *_this, const MR_PointCloud *cloud, const MR_PointsToDistanceVolumeParams *params, MR_PassBy addPart_pass_by, MR_std_function_expected_void_std_string_from_const_MR_SimpleVolumeMinMax_ref_int *addPart, int layerOverlap)

Typedef Documentation

◆ MR_Cuda_ComputePointsToDistanceVolume

CUDA implementation of IComputePointsToDistanceVolumeByParts Generated from class MR::Cuda::ComputePointsToDistanceVolume. Base classes: Direct: (non-virtual) MR::IComputePointsToDistanceVolumeByParts Indirect: (non-virtual) MR::IComputePointsToDistanceVolume 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).

Function Documentation

◆ MR_Cuda_ComputePointsToDistanceVolume_AssignFromAnother()

MRC_CUDA_API MR_Cuda_ComputePointsToDistanceVolume * MR_Cuda_ComputePointsToDistanceVolume_AssignFromAnother ( MR_Cuda_ComputePointsToDistanceVolume * _this,
MR_PassBy _other_pass_by,
MR_Cuda_ComputePointsToDistanceVolume * _other )

Generated from method MR::Cuda::ComputePointsToDistanceVolume::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 held previously.

◆ MR_Cuda_ComputePointsToDistanceVolume_canCompute()

MRC_CUDA_API bool MR_Cuda_ComputePointsToDistanceVolume_canCompute ( const MR_Cuda_ComputePointsToDistanceVolume * _this,
const MR_PointCloud * cloud,
const MR_PointsToDistanceVolumeParams * params )

both compute() and computeByParts() upload the same data and process the grid in chunks sized to the free GPU memory, so this answers for either of them Generated from method MR::Cuda::ComputePointsToDistanceVolume::canCompute. Parameter _this can not be null. It is a single object. Parameter cloud can not be null. It is a single object. Parameter params can not be null. It is a single object.

◆ MR_Cuda_ComputePointsToDistanceVolume_compute()

MRC_CUDA_API MR_expected_MR_SimpleVolumeMinMax_std_string * MR_Cuda_ComputePointsToDistanceVolume_compute ( const MR_Cuda_ComputePointsToDistanceVolume * _this,
const MR_PointCloud * cloud,
const MR_PointsToDistanceVolumeParams * params )

Generated from method MR::Cuda::ComputePointsToDistanceVolume::compute. Parameter _this can not be null. It is a single object. Parameter cloud 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_Cuda_ComputePointsToDistanceVolume_computeByParts()

MRC_CUDA_API MR_expected_void_std_string * MR_Cuda_ComputePointsToDistanceVolume_computeByParts ( const MR_Cuda_ComputePointsToDistanceVolume * _this,
const MR_PointCloud * cloud,
const MR_PointsToDistanceVolumeParams * params,
MR_PassBy addPart_pass_by,
MR_std_function_expected_void_std_string_from_const_MR_SimpleVolumeMinMax_ref_int * addPart,
int layerOverlap )

Generated from method MR::Cuda::ComputePointsToDistanceVolume::computeByParts. Parameter _this can not be null. It is a single object. Parameter cloud 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_void_std_string_Destroy() to free it when you're done using it.

◆ MR_Cuda_ComputePointsToDistanceVolume_ConstructFromAnother()

MRC_CUDA_API MR_Cuda_ComputePointsToDistanceVolume * MR_Cuda_ComputePointsToDistanceVolume_ConstructFromAnother ( MR_PassBy _other_pass_by,
MR_Cuda_ComputePointsToDistanceVolume * _other )

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

◆ MR_Cuda_ComputePointsToDistanceVolume_DefaultConstruct()

MRC_CUDA_API MR_Cuda_ComputePointsToDistanceVolume * MR_Cuda_ComputePointsToDistanceVolume_DefaultConstruct ( void )

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

◆ MR_Cuda_ComputePointsToDistanceVolume_DefaultConstructArray()

MRC_CUDA_API MR_Cuda_ComputePointsToDistanceVolume * MR_Cuda_ComputePointsToDistanceVolume_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_Cuda_ComputePointsToDistanceVolume_DestroyArray(). Use MR_Cuda_ComputePointsToDistanceVolume_OffsetMutablePtr() and MR_Cuda_ComputePointsToDistanceVolume_OffsetPtr() to access the array elements.

◆ MR_Cuda_ComputePointsToDistanceVolume_Destroy()

MRC_CUDA_API void MR_Cuda_ComputePointsToDistanceVolume_Destroy ( const MR_Cuda_ComputePointsToDistanceVolume * _this)

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

◆ MR_Cuda_ComputePointsToDistanceVolume_DestroyArray()

MRC_CUDA_API void MR_Cuda_ComputePointsToDistanceVolume_DestroyArray ( const MR_Cuda_ComputePointsToDistanceVolume * _this)

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

◆ MR_Cuda_ComputePointsToDistanceVolume_DynamicDowncastFrom_MR_IComputePointsToDistanceVolume()

MRC_CUDA_API const MR_Cuda_ComputePointsToDistanceVolume * MR_Cuda_ComputePointsToDistanceVolume_DynamicDowncastFrom_MR_IComputePointsToDistanceVolume ( const MR_IComputePointsToDistanceVolume * object)

Downcasts an instance of MR::IComputePointsToDistanceVolume to a derived class MR::Cuda::ComputePointsToDistanceVolume. 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. The reference to the parameter object might be preserved in the return value.

◆ MR_Cuda_ComputePointsToDistanceVolume_DynamicDowncastFrom_MR_IComputePointsToDistanceVolumeByParts()

MRC_CUDA_API const MR_Cuda_ComputePointsToDistanceVolume * MR_Cuda_ComputePointsToDistanceVolume_DynamicDowncastFrom_MR_IComputePointsToDistanceVolumeByParts ( const MR_IComputePointsToDistanceVolumeByParts * object)

Downcasts an instance of MR::IComputePointsToDistanceVolumeByParts to a derived class MR::Cuda::ComputePointsToDistanceVolume. 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. The reference to the parameter object might be preserved in the return value.

◆ MR_Cuda_ComputePointsToDistanceVolume_DynamicDowncastFromOrFail_MR_IComputePointsToDistanceVolume()

MRC_CUDA_API const MR_Cuda_ComputePointsToDistanceVolume * MR_Cuda_ComputePointsToDistanceVolume_DynamicDowncastFromOrFail_MR_IComputePointsToDistanceVolume ( const MR_IComputePointsToDistanceVolume * object)

Downcasts an instance of MR::IComputePointsToDistanceVolume to a derived class MR::Cuda::ComputePointsToDistanceVolume. 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 reference to the parameter object might be preserved in the return value. The returned pointer will never be null. It is non-owning, do NOT destroy it.

◆ MR_Cuda_ComputePointsToDistanceVolume_DynamicDowncastFromOrFail_MR_IComputePointsToDistanceVolumeByParts()

MRC_CUDA_API const MR_Cuda_ComputePointsToDistanceVolume * MR_Cuda_ComputePointsToDistanceVolume_DynamicDowncastFromOrFail_MR_IComputePointsToDistanceVolumeByParts ( const MR_IComputePointsToDistanceVolumeByParts * object)

Downcasts an instance of MR::IComputePointsToDistanceVolumeByParts to a derived class MR::Cuda::ComputePointsToDistanceVolume. 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 reference to the parameter object might be preserved in the return value. The returned pointer will never be null. It is non-owning, do NOT destroy it.

◆ MR_Cuda_ComputePointsToDistanceVolume_MutableDynamicDowncastFrom_MR_IComputePointsToDistanceVolume()

MRC_CUDA_API MR_Cuda_ComputePointsToDistanceVolume * MR_Cuda_ComputePointsToDistanceVolume_MutableDynamicDowncastFrom_MR_IComputePointsToDistanceVolume ( MR_IComputePointsToDistanceVolume * object)

Downcasts an instance of MR::IComputePointsToDistanceVolume to a derived class MR::Cuda::ComputePointsToDistanceVolume. This is a dynamic downcast, it checks the type before casting. This version will return zero if the target type is wrong. The reference to the parameter object might be preserved in the return value.

◆ MR_Cuda_ComputePointsToDistanceVolume_MutableDynamicDowncastFrom_MR_IComputePointsToDistanceVolumeByParts()

MRC_CUDA_API MR_Cuda_ComputePointsToDistanceVolume * MR_Cuda_ComputePointsToDistanceVolume_MutableDynamicDowncastFrom_MR_IComputePointsToDistanceVolumeByParts ( MR_IComputePointsToDistanceVolumeByParts * object)

Downcasts an instance of MR::IComputePointsToDistanceVolumeByParts to a derived class MR::Cuda::ComputePointsToDistanceVolume. This is a dynamic downcast, it checks the type before casting. This version will return zero if the target type is wrong. The reference to the parameter object might be preserved in the return value.

◆ MR_Cuda_ComputePointsToDistanceVolume_MutableDynamicDowncastFromOrFail_MR_IComputePointsToDistanceVolume()

MRC_CUDA_API MR_Cuda_ComputePointsToDistanceVolume * MR_Cuda_ComputePointsToDistanceVolume_MutableDynamicDowncastFromOrFail_MR_IComputePointsToDistanceVolume ( MR_IComputePointsToDistanceVolume * object)

Downcasts an instance of MR::IComputePointsToDistanceVolume to a derived class MR::Cuda::ComputePointsToDistanceVolume. 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 reference to the parameter object might be preserved in the return value. The returned pointer will never be null. It is non-owning, do NOT destroy it.

◆ MR_Cuda_ComputePointsToDistanceVolume_MutableDynamicDowncastFromOrFail_MR_IComputePointsToDistanceVolumeByParts()

MRC_CUDA_API MR_Cuda_ComputePointsToDistanceVolume * MR_Cuda_ComputePointsToDistanceVolume_MutableDynamicDowncastFromOrFail_MR_IComputePointsToDistanceVolumeByParts ( MR_IComputePointsToDistanceVolumeByParts * object)

Downcasts an instance of MR::IComputePointsToDistanceVolumeByParts to a derived class MR::Cuda::ComputePointsToDistanceVolume. 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 reference to the parameter object might be preserved in the return value. The returned pointer will never be null. It is non-owning, do NOT destroy it.

◆ MR_Cuda_ComputePointsToDistanceVolume_MutableStaticDowncastFrom_MR_IComputePointsToDistanceVolume()

MRC_CUDA_API MR_Cuda_ComputePointsToDistanceVolume * MR_Cuda_ComputePointsToDistanceVolume_MutableStaticDowncastFrom_MR_IComputePointsToDistanceVolume ( MR_IComputePointsToDistanceVolume * object)

Downcasts an instance of MR::IComputePointsToDistanceVolume to a derived class MR::Cuda::ComputePointsToDistanceVolume. This is a static downcast, it trusts the programmer that the target type is correct. Results in UB and returns an invalid pointer otherwise. The reference to the parameter object might be preserved in the return value.

◆ MR_Cuda_ComputePointsToDistanceVolume_MutableStaticDowncastFrom_MR_IComputePointsToDistanceVolumeByParts()

MRC_CUDA_API MR_Cuda_ComputePointsToDistanceVolume * MR_Cuda_ComputePointsToDistanceVolume_MutableStaticDowncastFrom_MR_IComputePointsToDistanceVolumeByParts ( MR_IComputePointsToDistanceVolumeByParts * object)

Downcasts an instance of MR::IComputePointsToDistanceVolumeByParts to a derived class MR::Cuda::ComputePointsToDistanceVolume. This is a static downcast, it trusts the programmer that the target type is correct. Results in UB and returns an invalid pointer otherwise. The reference to the parameter object might be preserved in the return value.

◆ MR_Cuda_ComputePointsToDistanceVolume_MutableUpcastTo_MR_IComputePointsToDistanceVolume()

MRC_CUDA_API MR_IComputePointsToDistanceVolume * MR_Cuda_ComputePointsToDistanceVolume_MutableUpcastTo_MR_IComputePointsToDistanceVolume ( MR_Cuda_ComputePointsToDistanceVolume * object)

Upcasts an instance of MR::Cuda::ComputePointsToDistanceVolume to its base class MR::IComputePointsToDistanceVolume. The reference to the parameter object might be preserved in the return value.

◆ MR_Cuda_ComputePointsToDistanceVolume_MutableUpcastTo_MR_IComputePointsToDistanceVolumeByParts()

MRC_CUDA_API MR_IComputePointsToDistanceVolumeByParts * MR_Cuda_ComputePointsToDistanceVolume_MutableUpcastTo_MR_IComputePointsToDistanceVolumeByParts ( MR_Cuda_ComputePointsToDistanceVolume * object)

Upcasts an instance of MR::Cuda::ComputePointsToDistanceVolume to its base class MR::IComputePointsToDistanceVolumeByParts. The reference to the parameter object might be preserved in the return value.

◆ MR_Cuda_ComputePointsToDistanceVolume_OffsetMutablePtr()

MRC_CUDA_API MR_Cuda_ComputePointsToDistanceVolume * MR_Cuda_ComputePointsToDistanceVolume_OffsetMutablePtr ( MR_Cuda_ComputePointsToDistanceVolume * 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_Cuda_ComputePointsToDistanceVolume_OffsetPtr()

MRC_CUDA_API const MR_Cuda_ComputePointsToDistanceVolume * MR_Cuda_ComputePointsToDistanceVolume_OffsetPtr ( const MR_Cuda_ComputePointsToDistanceVolume * 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_Cuda_ComputePointsToDistanceVolume_StaticDowncastFrom_MR_IComputePointsToDistanceVolume()

MRC_CUDA_API const MR_Cuda_ComputePointsToDistanceVolume * MR_Cuda_ComputePointsToDistanceVolume_StaticDowncastFrom_MR_IComputePointsToDistanceVolume ( const MR_IComputePointsToDistanceVolume * object)

Downcasts an instance of MR::IComputePointsToDistanceVolume to a derived class MR::Cuda::ComputePointsToDistanceVolume. 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. The reference to the parameter object might be preserved in the return value.

◆ MR_Cuda_ComputePointsToDistanceVolume_StaticDowncastFrom_MR_IComputePointsToDistanceVolumeByParts()

MRC_CUDA_API const MR_Cuda_ComputePointsToDistanceVolume * MR_Cuda_ComputePointsToDistanceVolume_StaticDowncastFrom_MR_IComputePointsToDistanceVolumeByParts ( const MR_IComputePointsToDistanceVolumeByParts * object)

Downcasts an instance of MR::IComputePointsToDistanceVolumeByParts to a derived class MR::Cuda::ComputePointsToDistanceVolume. 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. The reference to the parameter object might be preserved in the return value.

◆ MR_Cuda_ComputePointsToDistanceVolume_UpcastTo_MR_IComputePointsToDistanceVolume()

MRC_CUDA_API const MR_IComputePointsToDistanceVolume * MR_Cuda_ComputePointsToDistanceVolume_UpcastTo_MR_IComputePointsToDistanceVolume ( const MR_Cuda_ComputePointsToDistanceVolume * object)

Upcasts an instance of MR::Cuda::ComputePointsToDistanceVolume to its base class MR::IComputePointsToDistanceVolume. This version is acting on mutable pointers. The reference to the parameter object might be preserved in the return value.

◆ MR_Cuda_ComputePointsToDistanceVolume_UpcastTo_MR_IComputePointsToDistanceVolumeByParts()

MRC_CUDA_API const MR_IComputePointsToDistanceVolumeByParts * MR_Cuda_ComputePointsToDistanceVolume_UpcastTo_MR_IComputePointsToDistanceVolumeByParts ( const MR_Cuda_ComputePointsToDistanceVolume * object)

Upcasts an instance of MR::Cuda::ComputePointsToDistanceVolume to its base class MR::IComputePointsToDistanceVolumeByParts. This version is acting on mutable pointers. The reference to the parameter object might be preserved in the return value.

◆ MR_Cuda_pointsToDistanceVolume()

MRC_CUDA_API MR_expected_MR_SimpleVolumeMinMax_std_string * MR_Cuda_pointsToDistanceVolume ( const MR_PointCloud * cloud,
const MR_PointsToDistanceVolumeParams * params )

makes SimpleVolume filled with signed distances to points with normals Generated from function MR::Cuda::pointsToDistanceVolume. Parameter cloud 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_Cuda_pointsToDistanceVolumeByParts()

MRC_CUDA_API MR_expected_void_std_string * MR_Cuda_pointsToDistanceVolumeByParts ( const MR_PointCloud * cloud,
const MR_PointsToDistanceVolumeParams * params,
MR_PassBy addPart_pass_by,
MR_std_function_expected_void_std_string_from_const_MR_SimpleVolumeMinMax_ref_int * addPart,
int layerOverlap )

makes SimpleVolume filled with signed distances to points with normals populate the volume by parts to the given callback Generated from function MR::Cuda::pointsToDistanceVolumeByParts. Parameter cloud 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_void_std_string_Destroy() to free it when you're done using it.

◆ MR_Cuda_pointsToDistanceVolumeMemory()

MRC_CUDA_API size_t MR_Cuda_pointsToDistanceVolumeMemory ( const MR_PointCloud * cloud,
const MR_Vector3i * dims,
const MR_VertCoords * ptNormals )

returns the minimal amount of free GPU memory required to build a distance volume with given dimensions Generated from function MR::Cuda::pointsToDistanceVolumeMemory. Parameter cloud can not be null. It is a single object. Parameter dims can not be null. It is a single object.