MeshLib C Docs
Loading...
Searching...
No Matches
MRCudaPointsToDistanceVolume.h
Go to the documentation of this file.
1#pragma once
2
3#include <MRCCuda/exports.h>
4#include <MRCMisc/common.h>
5
6#include <stdbool.h>
7#include <stddef.h>
8
9#ifdef __cplusplus
10extern "C" {
11#endif
12
13typedef struct MR_IComputePointsToDistanceVolume MR_IComputePointsToDistanceVolume; // Defined in `#include <MRCVoxels/MRPointsToDistanceVolume.h>`.
14typedef struct MR_IComputePointsToDistanceVolumeByParts MR_IComputePointsToDistanceVolumeByParts; // Defined in `#include <MRCVoxels/MRPointsToDistanceVolume.h>`.
15typedef struct MR_PointCloud MR_PointCloud; // Defined in `#include <MRCMesh/MRPointCloud.h>`.
16typedef struct MR_PointsToDistanceVolumeParams MR_PointsToDistanceVolumeParams; // Defined in `#include <MRCVoxels/MRPointsToDistanceVolume.h>`.
17typedef struct MR_Vector3i MR_Vector3i; // Defined in `#include <MRCMesh/MRVector3.h>`.
18typedef struct MR_VertCoords MR_VertCoords; // Defined in `#include <MRCMesh/MRVector.h>`.
19typedef struct MR_expected_MR_SimpleVolumeMinMax_std_string MR_expected_MR_SimpleVolumeMinMax_std_string; // Defined in `#include <MRCMisc/expected_MR_SimpleVolumeMinMax_std_string.h>`.
20typedef struct MR_expected_void_std_string MR_expected_void_std_string; // Defined in `#include <MRCMisc/expected_void_std_string.h>`.
21typedef struct MR_std_function_expected_void_std_string_from_const_MR_SimpleVolumeMinMax_ref_int MR_std_function_expected_void_std_string_from_const_MR_SimpleVolumeMinMax_ref_int; // Defined in `#include <MRCMisc/std_function_expected_void_std_string_from_const_MR_SimpleVolumeMinMax_ref_int.h>`.
22
23
33
40
48
54
58
63
67
71
76
80
86
91
97
102
110
117
122
126
132
137
143
148
156
163
168
171
174
181
182// see methods' descriptions in the MR::IComputePointsToDistanceVolume interfaces
190
197
204
205#ifdef __cplusplus
206} // extern "C"
207#endif
struct MR_VertCoords MR_VertCoords
Definition MRAABBTreePoints.h:21
struct MR_expected_void_std_string MR_expected_void_std_string
Definition MRCtm.h:27
struct MR_PointCloud MR_PointCloud
Definition MRCtm.h:20
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 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_Cuda_ComputePointsToDistanceVolume * MR_Cuda_ComputePointsToDistanceVolume_DefaultConstructArray(size_t num_elems)
MRC_CUDA_API MR_Cuda_ComputePointsToDistanceVolume * MR_Cuda_ComputePointsToDistanceVolume_MutableDynamicDowncastFromOrFail_MR_IComputePointsToDistanceVolumeByParts(MR_IComputePointsToDistanceVolumeByParts *object)
MRC_CUDA_API MR_Cuda_ComputePointsToDistanceVolume * MR_Cuda_ComputePointsToDistanceVolume_MutableStaticDowncastFrom_MR_IComputePointsToDistanceVolume(MR_IComputePointsToDistanceVolume *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_IComputePointsToDistanceVolume(const MR_IComputePointsToDistanceVolume *object)
MRC_CUDA_API const MR_Cuda_ComputePointsToDistanceVolume * MR_Cuda_ComputePointsToDistanceVolume_StaticDowncastFrom_MR_IComputePointsToDistanceVolumeByParts(const MR_IComputePointsToDistanceVolumeByParts *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_MutableDynamicDowncastFrom_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 const MR_IComputePointsToDistanceVolume * MR_Cuda_ComputePointsToDistanceVolume_UpcastTo_MR_IComputePointsToDistanceVolume(const MR_Cuda_ComputePointsToDistanceVolume *object)
MRC_CUDA_API const MR_Cuda_ComputePointsToDistanceVolume * MR_Cuda_ComputePointsToDistanceVolume_OffsetPtr(const MR_Cuda_ComputePointsToDistanceVolume *ptr, ptrdiff_t i)
struct MR_Cuda_ComputePointsToDistanceVolume MR_Cuda_ComputePointsToDistanceVolume
Definition MRCudaPointsToDistanceVolume.h:32
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)
MRC_CUDA_API MR_Cuda_ComputePointsToDistanceVolume * MR_Cuda_ComputePointsToDistanceVolume_OffsetMutablePtr(MR_Cuda_ComputePointsToDistanceVolume *ptr, ptrdiff_t i)
MRC_CUDA_API MR_Cuda_ComputePointsToDistanceVolume * MR_Cuda_ComputePointsToDistanceVolume_MutableDynamicDowncastFrom_MR_IComputePointsToDistanceVolumeByParts(MR_IComputePointsToDistanceVolumeByParts *object)
MRC_CUDA_API size_t MR_Cuda_pointsToDistanceVolumeMemory(const MR_PointCloud *cloud, const MR_Vector3i *dims, const MR_VertCoords *ptNormals)
MRC_CUDA_API MR_expected_MR_SimpleVolumeMinMax_std_string * MR_Cuda_pointsToDistanceVolume(const MR_PointCloud *cloud, const MR_PointsToDistanceVolumeParams *params)
MRC_CUDA_API MR_Cuda_ComputePointsToDistanceVolume * MR_Cuda_ComputePointsToDistanceVolume_ConstructFromAnother(MR_PassBy _other_pass_by, MR_Cuda_ComputePointsToDistanceVolume *_other)
MRC_CUDA_API MR_Cuda_ComputePointsToDistanceVolume * MR_Cuda_ComputePointsToDistanceVolume_DefaultConstruct(void)
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 void MR_Cuda_ComputePointsToDistanceVolume_DestroyArray(const MR_Cuda_ComputePointsToDistanceVolume *_this)
Destroys a heap-allocated array of MR_Cuda_ComputePointsToDistanceVolume. Does nothing if the pointer...
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_Cuda_ComputePointsToDistanceVolume * MR_Cuda_ComputePointsToDistanceVolume_MutableDynamicDowncastFromOrFail_MR_IComputePointsToDistanceVolume(MR_IComputePointsToDistanceVolume *object)
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 poin...
MRC_CUDA_API const MR_Cuda_ComputePointsToDistanceVolume * MR_Cuda_ComputePointsToDistanceVolume_DynamicDowncastFrom_MR_IComputePointsToDistanceVolumeByParts(const MR_IComputePointsToDistanceVolumeByParts *object)
MRC_CUDA_API const MR_Cuda_ComputePointsToDistanceVolume * MR_Cuda_ComputePointsToDistanceVolume_StaticDowncastFrom_MR_IComputePointsToDistanceVolume(const MR_IComputePointsToDistanceVolume *object)
MRC_CUDA_API MR_IComputePointsToDistanceVolume * MR_Cuda_ComputePointsToDistanceVolume_MutableUpcastTo_MR_IComputePointsToDistanceVolume(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_DynamicDowncastFromOrFail_MR_IComputePointsToDistanceVolumeByParts(const MR_IComputePointsToDistanceVolumeByParts *object)
struct MR_PointsToDistanceVolumeParams MR_PointsToDistanceVolumeParams
Definition MRPointsToDistanceVolume.h:33
MR_PassBy
Definition common.h:13
struct MR_expected_MR_SimpleVolumeMinMax_std_string MR_expected_MR_SimpleVolumeMinMax_std_string
Definition expected_MR_SimpleVolumeMinMax_std_string.h:19
struct MR_std_function_expected_void_std_string_from_const_MR_SimpleVolumeMinMax_ref_int MR_std_function_expected_void_std_string_from_const_MR_SimpleVolumeMinMax_ref_int
Definition std_function_expected_void_std_string_from_const_MR_SimpleVolumeMinMax_ref_int.h:19
struct MR_IComputePointsToDistanceVolumeByParts MR_IComputePointsToDistanceVolumeByParts
Definition std_shared_ptr_MR_IComputePointsToDistanceVolumeByParts.h:13
struct MR_IComputePointsToDistanceVolume MR_IComputePointsToDistanceVolume
Definition std_shared_ptr_MR_IComputePointsToDistanceVolume.h:13
Generated from class MR::Vector3i.
Definition MRVector3.h:63
#define MRC_CUDA_API
Definition uda/include/MRCCuda/exports.h:11