Public Member Functions | |
| auto | path () const -> &meshlib::Polyline3 |
| auto | tool_mesh () const -> &meshlib::MeshPart |
| auto | tool_mesh_mut () -> &mut meshlib::MeshPart |
| auto | tool_spec () const -> *const *const meshlib::ffi::MR_EndMillTool |
| auto | tool_spec_mut () -> *mut *const meshlib::ffi::MR_EndMillTool |
| void | set_tool_spec (value:Option<&meshlib::EndMillTool >) |
| auto | voxel_size () const -> &f32 |
| auto | voxel_size_mut () -> &mut f32 |
| void | set_voxel_size (value:f32) |
| auto | memory_limit () const -> &usize |
| auto | memory_limit_mut () -> &mut usize |
| void | set_memory_limit (value:usize) |
| auto | cb () const -> &meshlib::std_function_bool_from_float |
| auto | cb_mut () -> &mut meshlib::std_function_bool_from_float |
| void | set_cb (value:&meshlib::std_function_bool_from_float) |
Static Public Member Functions | |
| static auto | construct_from_another (_other:&meshlib::ComputeSweptVolumeParameters) -> meshlib::Owned< meshlib::ComputeSweptVolumeParameters > |
| static auto | construct_from (path:&meshlib::Polyline3, toolMesh:&meshlib::MeshPart, toolSpec:Option<&meshlib::EndMillTool >, voxelSize:f32, memoryLimit:usize, cb:&meshlib::std_function_bool_from_float) -> meshlib::Owned< meshlib::ComputeSweptVolumeParameters > |
| Static Public Member Functions inherited from meshlib::CppClass | |
| static void | destroy (ptr:*mut Self) |
| Static Public Member Functions inherited from meshlib::CppCopy | |
| static auto | copy (ptr:*const Self) -> *mut Self |
Parameters for computeSweptVolume* functions Generated from class MR::ComputeSweptVolumeParameters.
Generated from class MR::ComputeSweptVolumeParameters. Heap-allocated instances are held in Owned<ComputeSweptVolumeParameters>.
| auto meshlib::ComputeSweptVolumeParameters::cb | ( | ) | const -> &meshlib::std_function_bool_from_float |
progress callback Returns a pointer to a member variable of class MR::ComputeSweptVolumeParameters named cb.
Calls MR_ComputeSweptVolumeParameters_Get_cb(). The reference to this object might be preserved as the return value.
| auto meshlib::ComputeSweptVolumeParameters::cb_mut | ( | ) | -> &mut meshlib::std_function_bool_from_float |
progress callback Returns a mutable pointer to a member variable of class MR::ComputeSweptVolumeParameters named cb.
Calls MR_ComputeSweptVolumeParameters_GetMutable_cb(). The reference to this object might be preserved as the return value.
|
static |
Constructs MR::ComputeSweptVolumeParameters elementwise.
Calls MR_ComputeSweptVolumeParameters_ConstructFrom(). The reference to the parameter path might be preserved in the constructed object. The reference to the parameter toolMesh might be preserved in the constructed object. The reference to the parameter toolSpec might be preserved in the constructed object. The reference to the parameter memoryLimit might be preserved in the constructed object. The reference to the parameter cb might be preserved in the constructed object.
|
static |
Generated from constructor MR::ComputeSweptVolumeParameters::ComputeSweptVolumeParameters.
Calls MR_ComputeSweptVolumeParameters_ConstructFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
| auto meshlib::ComputeSweptVolumeParameters::memory_limit | ( | ) | const -> &usize |
(distance volume) max memory amount used for the distance volume, zero for no limits Returns a pointer to a member variable of class MR::ComputeSweptVolumeParameters named memoryLimit.
Calls MR_ComputeSweptVolumeParameters_Get_memoryLimit(). The reference to this object might be preserved as the return value.
| auto meshlib::ComputeSweptVolumeParameters::memory_limit_mut | ( | ) | -> &mut usize |
(distance volume) max memory amount used for the distance volume, zero for no limits Returns a mutable pointer to a member variable of class MR::ComputeSweptVolumeParameters named memoryLimit.
Calls MR_ComputeSweptVolumeParameters_GetMutable_memoryLimit(). The reference to this object might be preserved as the return value.
| auto meshlib::ComputeSweptVolumeParameters::path | ( | ) | const -> &meshlib::Polyline3 |
toolpath Returns a pointer to a member variable of class MR::ComputeSweptVolumeParameters named path.
Calls MR_ComputeSweptVolumeParameters_Get_path(). The reference to this object might be preserved as the return value.
| void meshlib::ComputeSweptVolumeParameters::set_cb | ( | value:&meshlib::std_function_bool_from_float | ) |
progress callback Modifies a member variable of class MR::ComputeSweptVolumeParameters named cb.
Calls MR_ComputeSweptVolumeParameters_Set_cb(). The reference to the parameter value might be preserved in this object in element cb.
| void meshlib::ComputeSweptVolumeParameters::set_memory_limit | ( | value:usize | ) |
(distance volume) max memory amount used for the distance volume, zero for no limits Modifies a member variable of class MR::ComputeSweptVolumeParameters named memoryLimit.
Calls MR_ComputeSweptVolumeParameters_Set_memoryLimit(). The reference to the parameter value might be preserved in this object in element memoryLimit.
| void meshlib::ComputeSweptVolumeParameters::set_tool_spec | ( | value:Option<&meshlib::EndMillTool > | ) |
tool specifications, can be used for more precise computations the tool spec and the tool mesh are expected to relate to the same tool if omitted, tool mesh is used Modifies a member variable of class MR::ComputeSweptVolumeParameters named toolSpec.
Calls MR_ComputeSweptVolumeParameters_Set_toolSpec(). The reference to the parameter value might be preserved in this object in element toolSpec.
| void meshlib::ComputeSweptVolumeParameters::set_voxel_size | ( | value:f32 | ) |
voxel size for internal voxel volumes TODO: replace with tolerance and make the voxel size implementation-specific Modifies a member variable of class MR::ComputeSweptVolumeParameters named voxelSize.
Calls MR_ComputeSweptVolumeParameters_Set_voxelSize().
| auto meshlib::ComputeSweptVolumeParameters::tool_mesh | ( | ) | const -> &meshlib::MeshPart |
tool mesh Returns a pointer to a member variable of class MR::ComputeSweptVolumeParameters named toolMesh.
Calls MR_ComputeSweptVolumeParameters_Get_toolMesh(). The reference to this object might be preserved as the return value.
| auto meshlib::ComputeSweptVolumeParameters::tool_mesh_mut | ( | ) | -> &mut meshlib::MeshPart |
tool mesh Returns a mutable pointer to a member variable of class MR::ComputeSweptVolumeParameters named toolMesh.
Calls MR_ComputeSweptVolumeParameters_GetMutable_toolMesh(). The reference to this object might be preserved as the return value.
| auto meshlib::ComputeSweptVolumeParameters::tool_spec | ( | ) | const -> *const *const meshlib::ffi::MR_EndMillTool |
tool specifications, can be used for more precise computations the tool spec and the tool mesh are expected to relate to the same tool if omitted, tool mesh is used Returns a pointer to a member variable of class MR::ComputeSweptVolumeParameters named toolSpec.
Calls MR_ComputeSweptVolumeParameters_Get_toolSpec(). Some types are raw C types, see the C bindings for the details. The reference to this object might be preserved as the return value.
| auto meshlib::ComputeSweptVolumeParameters::tool_spec_mut | ( | ) | -> *mut *const meshlib::ffi::MR_EndMillTool |
tool specifications, can be used for more precise computations the tool spec and the tool mesh are expected to relate to the same tool if omitted, tool mesh is used Returns a mutable pointer to a member variable of class MR::ComputeSweptVolumeParameters named toolSpec.
Calls MR_ComputeSweptVolumeParameters_GetMutable_toolSpec(). Some types are raw C types, see the C bindings for the details. The reference to this object might be preserved as the return value.
| auto meshlib::ComputeSweptVolumeParameters::voxel_size | ( | ) | const -> &f32 |
voxel size for internal voxel volumes TODO: replace with tolerance and make the voxel size implementation-specific Returns a pointer to a member variable of class MR::ComputeSweptVolumeParameters named voxelSize.
Calls MR_ComputeSweptVolumeParameters_Get_voxelSize(). The reference to this object might be preserved as the return value.
| auto meshlib::ComputeSweptVolumeParameters::voxel_size_mut | ( | ) | -> &mut f32 |
voxel size for internal voxel volumes TODO: replace with tolerance and make the voxel size implementation-specific Returns a mutable pointer to a member variable of class MR::ComputeSweptVolumeParameters named voxelSize.
Calls MR_ComputeSweptVolumeParameters_GetMutable_voxelSize(). The reference to this object might be preserved as the return value.