MeshLib Rust Docs
Loading...
Searching...
No Matches
meshlib::IComputeToolDistance Struct Reference
Inheritance diagram for meshlib::IComputeToolDistance:

Public Member Functions

auto prepare_mr_end_mill_tool (dims:&meshlib::Vector3i, toolpath:&meshlib::Polyline3, toolSpec:&meshlib::EndMillTool) -> meshlib::Owned< meshlib::expected_MR_Vector3i_std_string >
auto prepare_mr_polyline2 (dims:&meshlib::Vector3i, toolpath:&meshlib::Polyline3, toolProfile:&meshlib::Polyline2) -> meshlib::Owned< meshlib::expected_MR_Vector3i_std_string >
auto compute_tool_distance (output:&mut meshlib::VoxelScalars, dims:&meshlib::Vector3i, voxelSize:f32, origin:&meshlib::Vector3f, padding:f32) const -> meshlib::Owned< meshlib::expected_void_std_string >

Additional Inherited Members

Static Public Member Functions inherited from meshlib::CppClass
static void destroy (ptr:*mut Self)

Detailed Description

Interface for custom tool distance computation implementations Generated from class MR::IComputeToolDistance. Derived classes: Direct: (non-virtual) MR::Cuda::ComputeToolDistance

Generated from class MR::IComputeToolDistance. Heap-allocated instances are held in Owned<IComputeToolDistance>.

Member Function Documentation

◆ compute_tool_distance()

auto meshlib::IComputeToolDistance::compute_tool_distance ( output:&mut meshlib::VoxelScalars ,
dims:&meshlib::Vector3i ,
voxelSize:f32 ,
origin:&meshlib::Vector3f ,
padding:f32  ) const -> meshlib::Owned< meshlib::expected_void_std_string >

Compute tool distance Generated from method MR::IComputeToolDistance::computeToolDistance.

Calls MR_IComputeToolDistance_computeToolDistance().

◆ prepare_mr_end_mill_tool()

auto meshlib::IComputeToolDistance::prepare_mr_end_mill_tool ( dims:&meshlib::Vector3i ,
toolpath:&meshlib::Polyline3 ,
toolSpec:&meshlib::EndMillTool  ) -> meshlib::Owned< meshlib::expected_MR_Vector3i_std_string >

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) Generated from method MR::IComputeToolDistance::prepare.

Calls MR_IComputeToolDistance_prepare_MR_EndMillTool().

◆ prepare_mr_polyline2()

auto meshlib::IComputeToolDistance::prepare_mr_polyline2 ( dims:&meshlib::Vector3i ,
toolpath:&meshlib::Polyline3 ,
toolProfile:&meshlib::Polyline2  ) -> meshlib::Owned< meshlib::expected_MR_Vector3i_std_string >

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) Generated from method MR::IComputeToolDistance::prepare.

Calls MR_IComputeToolDistance_prepare_MR_Polyline2().


The documentation for this struct was generated from the following file: