CUDA implementation of tool distance computation.
More...
#include <MRCudaSweptVolume.h>
CUDA implementation of tool distance computation.
◆ ComputeToolDistance()
MRCUDA_API MR::Cuda::ComputeToolDistance::ComputeToolDistance |
( |
| ) |
|
◆ ~ComputeToolDistance()
MRCUDA_API MR::Cuda::ComputeToolDistance::~ComputeToolDistance |
( |
| ) |
|
|
override |
◆ computeToolDistance()
MRCUDA_API Expected< void > MR::Cuda::ComputeToolDistance::computeToolDistance |
( |
std::vector< float > & | output, |
|
|
const Vector3i & | dims, |
|
|
float | voxelSize, |
|
|
const Vector3f & | origin, |
|
|
float | padding ) const |
|
overridevirtual |
◆ prepare() [1/2]
MRCUDA_API Expected< Vector3i > MR::Cuda::ComputeToolDistance::prepare |
( |
const Vector3i & | dims, |
|
|
const Polyline3 & | toolpath, |
|
|
const EndMillTool & | toolSpec ) |
|
overridevirtual |
Prepare for a voxel grid of given dims and copy tool path and tool spec data
- Returns
- Maximum dimensions that can be processed at once (e.g. due to memory limits)
Implements MR::IComputeToolDistance.
◆ prepare() [2/2]
MRCUDA_API Expected< Vector3i > MR::Cuda::ComputeToolDistance::prepare |
( |
const Vector3i & | dims, |
|
|
const Polyline3 & | toolpath, |
|
|
const Polyline2 & | toolProfile ) |
|
overridevirtual |
Prepare for a voxel grid of given dims and copy tool path and tool spec data
- Returns
- Maximum dimensions that can be processed at once (e.g. due to memory limits)
Implements MR::IComputeToolDistance.
The documentation for this class was generated from the following file: