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

Public Member Functions

auto assign_from_another (_other:&meshlib::cuda::ComputePointsToDistanceVolume) -> &mut meshlib::cuda::ComputePointsToDistanceVolume
auto can_compute (cloud:&meshlib::PointCloud, params:&meshlib::PointsToDistanceVolumeParams) const -> bool
auto compute (cloud:&meshlib::PointCloud, params:&meshlib::PointsToDistanceVolumeParams) const -> meshlib::Owned< meshlib::expected_MR_SimpleVolumeMinMax_std_string >
auto compute_by_parts (cloud:&meshlib::PointCloud, params:&meshlib::PointsToDistanceVolumeParams, addPart:&meshlib::std_function_expected_void_std_string_from_const_MR_SimpleVolumeMinMax_ref_int, layerOverlap:core::ffi::c_int) const -> meshlib::Owned< meshlib::expected_void_std_string >
auto upcast_to_i_compute_points_to_distance_volume () const -> &meshlib::IComputePointsToDistanceVolume
auto upcast_to_i_compute_points_to_distance_volume_mut () -> &mut meshlib::IComputePointsToDistanceVolume
auto upcast_to_i_compute_points_to_distance_volume_by_parts () const -> &meshlib::IComputePointsToDistanceVolumeByParts
auto upcast_to_i_compute_points_to_distance_volume_by_parts_mut () -> &mut meshlib::IComputePointsToDistanceVolumeByParts

Static Public Member Functions

static auto new () -> meshlib::Owned< meshlib::cuda::ComputePointsToDistanceVolume >
static auto construct_from_another (_other:&meshlib::cuda::ComputePointsToDistanceVolume) -> meshlib::Owned< meshlib::cuda::ComputePointsToDistanceVolume >
static auto static_downcast_from_i_compute_points_to_distance_volume (object:&meshlib::IComputePointsToDistanceVolume) -> &Self
static auto static_downcast_from_i_compute_points_to_distance_volume_mut (object:&mut meshlib::IComputePointsToDistanceVolume) -> &mut Self
static auto dynamic_downcast_from_i_compute_points_to_distance_volume (object:&meshlib::IComputePointsToDistanceVolume) -> Option<&Self >
static auto dynamic_downcast_from_i_compute_points_to_distance_volume_mut (object:&mut meshlib::IComputePointsToDistanceVolume) -> Option<&mut Self >
static auto static_downcast_from_i_compute_points_to_distance_volume_by_parts (object:&meshlib::IComputePointsToDistanceVolumeByParts) -> &Self
static auto static_downcast_from_i_compute_points_to_distance_volume_by_parts_mut (object:&mut meshlib::IComputePointsToDistanceVolumeByParts) -> &mut Self
static auto dynamic_downcast_from_i_compute_points_to_distance_volume_by_parts (object:&meshlib::IComputePointsToDistanceVolumeByParts) -> Option<&Self >
static auto dynamic_downcast_from_i_compute_points_to_distance_volume_by_parts_mut (object:&mut meshlib::IComputePointsToDistanceVolumeByParts) -> Option<&mut Self >
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

Detailed Description

CUDA implementation of IComputePointsToDistanceVolumeByParts Generated from class MR::Cuda::ComputePointsToDistanceVolume. Base classes: Direct: (non-virtual) MR::IComputePointsToDistanceVolumeByParts Indirect: (non-virtual) MR::IComputePointsToDistanceVolume

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

Member Function Documentation

◆ assign_from_another()

auto meshlib::cuda::ComputePointsToDistanceVolume::assign_from_another ( _other:&meshlib::cuda::ComputePointsToDistanceVolume ) -> &mut meshlib::cuda::ComputePointsToDistanceVolume

Generated from method MR::Cuda::ComputePointsToDistanceVolume::operator=.

Calls MR_Cuda_ComputePointsToDistanceVolume_AssignFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in this object.

◆ can_compute()

auto meshlib::cuda::ComputePointsToDistanceVolume::can_compute ( cloud:&meshlib::PointCloud ,
params:&meshlib::PointsToDistanceVolumeParams  ) const -> bool

see methods' descriptions in the MR::IComputePointsToDistanceVolume interfaces both compute() and computeByParts() upload the same data and process the grid in chunks sized to the free GPU memory, so this answers for either of them Generated from method MR::Cuda::ComputePointsToDistanceVolume::canCompute.

Calls MR_Cuda_ComputePointsToDistanceVolume_canCompute().

◆ compute()

auto meshlib::cuda::ComputePointsToDistanceVolume::compute ( cloud:&meshlib::PointCloud ,
params:&meshlib::PointsToDistanceVolumeParams  ) const -> meshlib::Owned< meshlib::expected_MR_SimpleVolumeMinMax_std_string >

Generated from method MR::Cuda::ComputePointsToDistanceVolume::compute.

Calls MR_Cuda_ComputePointsToDistanceVolume_compute().

◆ compute_by_parts()

auto meshlib::cuda::ComputePointsToDistanceVolume::compute_by_parts ( cloud:&meshlib::PointCloud ,
params:&meshlib::PointsToDistanceVolumeParams ,
addPart:&meshlib::std_function_expected_void_std_string_from_const_MR_SimpleVolumeMinMax_ref_int ,
layerOverlap:core::ffi::c_int  ) const -> meshlib::Owned< meshlib::expected_void_std_string >

Generated from method MR::Cuda::ComputePointsToDistanceVolume::computeByParts.

Calls MR_Cuda_ComputePointsToDistanceVolume_computeByParts().

◆ construct_from_another()

auto meshlib::cuda::ComputePointsToDistanceVolume::construct_from_another ( _other:&meshlib::cuda::ComputePointsToDistanceVolume ) -> meshlib::Owned< meshlib::cuda::ComputePointsToDistanceVolume >
static

Generated from constructor MR::Cuda::ComputePointsToDistanceVolume::ComputePointsToDistanceVolume.

Calls MR_Cuda_ComputePointsToDistanceVolume_ConstructFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.

◆ dynamic_downcast_from_i_compute_points_to_distance_volume()

auto meshlib::cuda::ComputePointsToDistanceVolume::dynamic_downcast_from_i_compute_points_to_distance_volume ( object:&meshlib::IComputePointsToDistanceVolume ) -> Option<&Self >
static

Dynamic downcast from the base class MR::IComputePointsToDistanceVolume. Returns None if the object isn't actually a ComputePointsToDistanceVolume.

Calls MR_Cuda_ComputePointsToDistanceVolume_DynamicDowncastFrom_MR_IComputePointsToDistanceVolume().

◆ dynamic_downcast_from_i_compute_points_to_distance_volume_by_parts()

auto meshlib::cuda::ComputePointsToDistanceVolume::dynamic_downcast_from_i_compute_points_to_distance_volume_by_parts ( object:&meshlib::IComputePointsToDistanceVolumeByParts ) -> Option<&Self >
static

Dynamic downcast from the base class MR::IComputePointsToDistanceVolumeByParts. Returns None if the object isn't actually a ComputePointsToDistanceVolume.

Calls MR_Cuda_ComputePointsToDistanceVolume_DynamicDowncastFrom_MR_IComputePointsToDistanceVolumeByParts().

◆ dynamic_downcast_from_i_compute_points_to_distance_volume_by_parts_mut()

auto meshlib::cuda::ComputePointsToDistanceVolume::dynamic_downcast_from_i_compute_points_to_distance_volume_by_parts_mut ( object:&mut meshlib::IComputePointsToDistanceVolumeByParts ) -> Option<&mut Self >
static

Dynamic downcast from the base class MR::IComputePointsToDistanceVolumeByParts. Returns None if the object isn't actually a ComputePointsToDistanceVolume.

Calls MR_Cuda_ComputePointsToDistanceVolume_MutableDynamicDowncastFrom_MR_IComputePointsToDistanceVolumeByParts().

◆ dynamic_downcast_from_i_compute_points_to_distance_volume_mut()

auto meshlib::cuda::ComputePointsToDistanceVolume::dynamic_downcast_from_i_compute_points_to_distance_volume_mut ( object:&mut meshlib::IComputePointsToDistanceVolume ) -> Option<&mut Self >
static

Dynamic downcast from the base class MR::IComputePointsToDistanceVolume. Returns None if the object isn't actually a ComputePointsToDistanceVolume.

Calls MR_Cuda_ComputePointsToDistanceVolume_MutableDynamicDowncastFrom_MR_IComputePointsToDistanceVolume().

◆ new()

auto meshlib::cuda::ComputePointsToDistanceVolume::new ( ) -> meshlib::Owned< meshlib::cuda::ComputePointsToDistanceVolume >
static

Constructs an empty (default-constructed) instance.

Calls MR_Cuda_ComputePointsToDistanceVolume_DefaultConstruct().

◆ static_downcast_from_i_compute_points_to_distance_volume()

auto meshlib::cuda::ComputePointsToDistanceVolume::static_downcast_from_i_compute_points_to_distance_volume ( object:&meshlib::IComputePointsToDistanceVolume ) -> &Self
static

Static downcast from the base class MR::IComputePointsToDistanceVolume.

Calls MR_Cuda_ComputePointsToDistanceVolume_StaticDowncastFrom_MR_IComputePointsToDistanceVolume(). Undefined behavior if the object isn't actually a ComputePointsToDistanceVolume.

Note
This function is unsafe.

◆ static_downcast_from_i_compute_points_to_distance_volume_by_parts()

auto meshlib::cuda::ComputePointsToDistanceVolume::static_downcast_from_i_compute_points_to_distance_volume_by_parts ( object:&meshlib::IComputePointsToDistanceVolumeByParts ) -> &Self
static

Static downcast from the base class MR::IComputePointsToDistanceVolumeByParts.

Calls MR_Cuda_ComputePointsToDistanceVolume_StaticDowncastFrom_MR_IComputePointsToDistanceVolumeByParts(). Undefined behavior if the object isn't actually a ComputePointsToDistanceVolume.

Note
This function is unsafe.

◆ static_downcast_from_i_compute_points_to_distance_volume_by_parts_mut()

auto meshlib::cuda::ComputePointsToDistanceVolume::static_downcast_from_i_compute_points_to_distance_volume_by_parts_mut ( object:&mut meshlib::IComputePointsToDistanceVolumeByParts ) -> &mut Self
static

Static downcast from the base class MR::IComputePointsToDistanceVolumeByParts.

Calls MR_Cuda_ComputePointsToDistanceVolume_MutableStaticDowncastFrom_MR_IComputePointsToDistanceVolumeByParts(). Undefined behavior if the object isn't actually a ComputePointsToDistanceVolume.

Note
This function is unsafe.

◆ static_downcast_from_i_compute_points_to_distance_volume_mut()

auto meshlib::cuda::ComputePointsToDistanceVolume::static_downcast_from_i_compute_points_to_distance_volume_mut ( object:&mut meshlib::IComputePointsToDistanceVolume ) -> &mut Self
static

Static downcast from the base class MR::IComputePointsToDistanceVolume.

Calls MR_Cuda_ComputePointsToDistanceVolume_MutableStaticDowncastFrom_MR_IComputePointsToDistanceVolume(). Undefined behavior if the object isn't actually a ComputePointsToDistanceVolume.

Note
This function is unsafe.

◆ upcast_to_i_compute_points_to_distance_volume()

auto meshlib::cuda::ComputePointsToDistanceVolume::upcast_to_i_compute_points_to_distance_volume ( ) const -> &meshlib::IComputePointsToDistanceVolume

Upcasts to the base class MR::IComputePointsToDistanceVolume.

Calls MR_Cuda_ComputePointsToDistanceVolume_UpcastTo_MR_IComputePointsToDistanceVolume().

◆ upcast_to_i_compute_points_to_distance_volume_by_parts()

auto meshlib::cuda::ComputePointsToDistanceVolume::upcast_to_i_compute_points_to_distance_volume_by_parts ( ) const -> &meshlib::IComputePointsToDistanceVolumeByParts

Upcasts to the base class MR::IComputePointsToDistanceVolumeByParts.

Calls MR_Cuda_ComputePointsToDistanceVolume_UpcastTo_MR_IComputePointsToDistanceVolumeByParts().

◆ upcast_to_i_compute_points_to_distance_volume_by_parts_mut()

auto meshlib::cuda::ComputePointsToDistanceVolume::upcast_to_i_compute_points_to_distance_volume_by_parts_mut ( ) -> &mut meshlib::IComputePointsToDistanceVolumeByParts

Upcasts to the base class MR::IComputePointsToDistanceVolumeByParts.

Calls MR_Cuda_ComputePointsToDistanceVolume_MutableUpcastTo_MR_IComputePointsToDistanceVolumeByParts().

◆ upcast_to_i_compute_points_to_distance_volume_mut()

auto meshlib::cuda::ComputePointsToDistanceVolume::upcast_to_i_compute_points_to_distance_volume_mut ( ) -> &mut meshlib::IComputePointsToDistanceVolume

Upcasts to the base class MR::IComputePointsToDistanceVolume.

Calls MR_Cuda_ComputePointsToDistanceVolume_MutableUpcastTo_MR_IComputePointsToDistanceVolume().


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