Go to the source code of this file.
Typedefs | |
| typedef struct MR_Cuda_ComputeToolDistance | MR_Cuda_ComputeToolDistance |
| typedef struct MR_Cuda_ComputeToolDistance MR_Cuda_ComputeToolDistance |
CUDA implementation of tool distance computation Generated from class MR::Cuda::ComputeToolDistance. Base classes: Direct: (non-virtual) MR::IComputeToolDistance Supported MR_PassBy modes: MR_PassBy_DefaultConstruct (and MR_PassBy_DefaultArgument and MR_PassBy_NoObject if supported by the callee).
| MRC_CUDA_API MR_expected_void_std_string * MR_Cuda_ComputeToolDistance_computeToolDistance | ( | const MR_Cuda_ComputeToolDistance * | _this, |
| MR_std_vector_float * | output, | ||
| const MR_Vector3i * | dims, | ||
| float | voxelSize, | ||
| const MR_Vector3f * | origin, | ||
| float | padding ) |
Generated from method MR::Cuda::ComputeToolDistance::computeToolDistance. Parameter _this can not be null. It is a single object. Parameter output can not be null. It is a single object. Parameter dims can not be null. It is a single object. Parameter origin 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.
| MRC_CUDA_API MR_Cuda_ComputeToolDistance * MR_Cuda_ComputeToolDistance_DefaultConstruct | ( | void | ) |
Constructs an empty (default-constructed) instance. Never returns null. Returns an instance allocated on the heap! Must call MR_Cuda_ComputeToolDistance_Destroy() to free it when you're done using it.
| MRC_CUDA_API MR_Cuda_ComputeToolDistance * MR_Cuda_ComputeToolDistance_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_ComputeToolDistance_DestroyArray(). Use MR_Cuda_ComputeToolDistance_OffsetMutablePtr() and MR_Cuda_ComputeToolDistance_OffsetPtr() to access the array elements.
| MRC_CUDA_API void MR_Cuda_ComputeToolDistance_Destroy | ( | const MR_Cuda_ComputeToolDistance * | _this | ) |
Destroys a heap-allocated instance of MR_Cuda_ComputeToolDistance. Does nothing if the pointer is null.
| MRC_CUDA_API void MR_Cuda_ComputeToolDistance_DestroyArray | ( | const MR_Cuda_ComputeToolDistance * | _this | ) |
Destroys a heap-allocated array of MR_Cuda_ComputeToolDistance. Does nothing if the pointer is null.
| MRC_CUDA_API const MR_Cuda_ComputeToolDistance * MR_Cuda_ComputeToolDistance_DynamicDowncastFrom_MR_IComputeToolDistance | ( | const MR_IComputeToolDistance * | object | ) |
Downcasts an instance of MR::IComputeToolDistance to a derived class MR::Cuda::ComputeToolDistance. 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.
| MRC_CUDA_API const MR_Cuda_ComputeToolDistance * MR_Cuda_ComputeToolDistance_DynamicDowncastFromOrFail_MR_IComputeToolDistance | ( | const MR_IComputeToolDistance * | object | ) |
Downcasts an instance of MR::IComputeToolDistance to a derived class MR::Cuda::ComputeToolDistance. 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.
| MRC_CUDA_API MR_Cuda_ComputeToolDistance * MR_Cuda_ComputeToolDistance_MutableDynamicDowncastFrom_MR_IComputeToolDistance | ( | MR_IComputeToolDistance * | object | ) |
Downcasts an instance of MR::IComputeToolDistance to a derived class MR::Cuda::ComputeToolDistance. 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.
| MRC_CUDA_API MR_Cuda_ComputeToolDistance * MR_Cuda_ComputeToolDistance_MutableDynamicDowncastFromOrFail_MR_IComputeToolDistance | ( | MR_IComputeToolDistance * | object | ) |
Downcasts an instance of MR::IComputeToolDistance to a derived class MR::Cuda::ComputeToolDistance. 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.
| MRC_CUDA_API MR_Cuda_ComputeToolDistance * MR_Cuda_ComputeToolDistance_MutableStaticDowncastFrom_MR_IComputeToolDistance | ( | MR_IComputeToolDistance * | object | ) |
Downcasts an instance of MR::IComputeToolDistance to a derived class MR::Cuda::ComputeToolDistance. 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.
| MRC_CUDA_API MR_IComputeToolDistance * MR_Cuda_ComputeToolDistance_MutableUpcastTo_MR_IComputeToolDistance | ( | MR_Cuda_ComputeToolDistance * | object | ) |
Upcasts an instance of MR::Cuda::ComputeToolDistance to its base class MR::IComputeToolDistance. The reference to the parameter object might be preserved in the return value.
| MRC_CUDA_API MR_Cuda_ComputeToolDistance * MR_Cuda_ComputeToolDistance_OffsetMutablePtr | ( | MR_Cuda_ComputeToolDistance * | 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.
| MRC_CUDA_API const MR_Cuda_ComputeToolDistance * MR_Cuda_ComputeToolDistance_OffsetPtr | ( | const MR_Cuda_ComputeToolDistance * | 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.
| MRC_CUDA_API MR_expected_MR_Vector3i_std_string * MR_Cuda_ComputeToolDistance_prepare_MR_EndMillTool | ( | MR_Cuda_ComputeToolDistance * | _this, |
| const MR_Vector3i * | dims, | ||
| const MR_Polyline3 * | toolpath, | ||
| const MR_EndMillTool * | toolSpec ) |
Generated from method MR::Cuda::ComputeToolDistance::prepare. Parameter _this can not be null. It is a single object. Parameter dims can not be null. It is a single object. Parameter toolpath can not be null. It is a single object. Parameter toolSpec can not be null. It is a single object. Never returns null. Returns an instance allocated on the heap! Must call MR_expected_MR_Vector3i_std_string_Destroy() to free it when you're done using it.
| MRC_CUDA_API MR_expected_MR_Vector3i_std_string * MR_Cuda_ComputeToolDistance_prepare_MR_Polyline2 | ( | MR_Cuda_ComputeToolDistance * | _this, |
| const MR_Vector3i * | dims, | ||
| const MR_Polyline3 * | toolpath, | ||
| const MR_Polyline2 * | toolProfile ) |
Generated from method MR::Cuda::ComputeToolDistance::prepare. Parameter _this can not be null. It is a single object. Parameter dims can not be null. It is a single object. Parameter toolpath can not be null. It is a single object. Parameter toolProfile can not be null. It is a single object. Never returns null. Returns an instance allocated on the heap! Must call MR_expected_MR_Vector3i_std_string_Destroy() to free it when you're done using it.
| MRC_CUDA_API const MR_Cuda_ComputeToolDistance * MR_Cuda_ComputeToolDistance_StaticDowncastFrom_MR_IComputeToolDistance | ( | const MR_IComputeToolDistance * | object | ) |
Downcasts an instance of MR::IComputeToolDistance to a derived class MR::Cuda::ComputeToolDistance. 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.
| MRC_CUDA_API const MR_IComputeToolDistance * MR_Cuda_ComputeToolDistance_UpcastTo_MR_IComputeToolDistance | ( | const MR_Cuda_ComputeToolDistance * | object | ) |
Upcasts an instance of MR::Cuda::ComputeToolDistance to its base class MR::IComputeToolDistance. This version is acting on mutable pointers. The reference to the parameter object might be preserved in the return value.