Interface for custom tool distance computation implementations. More...
#include <MRSweptVolume.h>
Public Member Functions | |
virtual | ~IComputeToolDistance ()=default |
virtual Expected< Vector3i > | prepare (const Vector3i &dims, const Polyline3 &toolpath, const EndMillTool &toolSpec)=0 |
virtual Expected< Vector3i > | prepare (const Vector3i &dims, const Polyline3 &toolpath, const Polyline2 &toolProfile)=0 |
virtual Expected< void > | computeToolDistance (std::vector< float > &output, const Vector3i &dims, float voxelSize, const Vector3f &origin, float padding) const =0 |
Compute tool distance. | |
Interface for custom tool distance computation implementations.
|
virtualdefault |
|
pure virtual |
Compute tool distance.
Implemented in MR::Cuda::ComputeToolDistance.
|
pure virtual |
Prepare for a voxel grid of given dims and copy tool path and tool spec data
Implemented in MR::Cuda::ComputeToolDistance.
|
pure virtual |
Prepare for a voxel grid of given dims and copy tool path and tool spec data
Implemented in MR::Cuda::ComputeToolDistance.