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

Public Member Functions

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 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 upcast_to_i_compute_points_to_distance_volume () const -> &meshlib::IComputePointsToDistanceVolume
auto upcast_to_i_compute_points_to_distance_volume_mut () -> &mut meshlib::IComputePointsToDistanceVolume

Static Public Member Functions

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 Public Member Functions inherited from meshlib::CppClass
static void destroy (ptr:*mut Self)

Detailed Description

complements IComputePointsToDistanceVolume with computation in z-slabs, which needs less memory Generated from class MR::IComputePointsToDistanceVolumeByParts. Base classes: Direct: (non-virtual) MR::IComputePointsToDistanceVolume Derived classes: Direct: (non-virtual) MR::Cuda::ComputePointsToDistanceVolume

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

Member Function Documentation

◆ can_compute()

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

whether this implementation can process given input, e.g. it fits in GPU memory Generated from method MR::IComputePointsToDistanceVolumeByParts::canCompute.

Calls MR_IComputePointsToDistanceVolumeByParts_canCompute().

◆ compute()

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

makes the whole volume at once, which needs the entire grid in memory; the derived interfaces below offer cheaper ways to obtain the same data Generated from method MR::IComputePointsToDistanceVolumeByParts::compute.

Calls MR_IComputePointsToDistanceVolumeByParts_compute().

◆ compute_by_parts()

auto meshlib::IComputePointsToDistanceVolumeByParts::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 >

makes the volume by z-slabs, passing each of them in addPart with layerOverlap layers shared by neighbours Generated from method MR::IComputePointsToDistanceVolumeByParts::computeByParts.

Calls MR_IComputePointsToDistanceVolumeByParts_computeByParts().

◆ dynamic_downcast_from_i_compute_points_to_distance_volume()

auto meshlib::IComputePointsToDistanceVolumeByParts::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 IComputePointsToDistanceVolumeByParts.

Calls MR_IComputePointsToDistanceVolumeByParts_DynamicDowncastFrom_MR_IComputePointsToDistanceVolume().

◆ dynamic_downcast_from_i_compute_points_to_distance_volume_mut()

auto meshlib::IComputePointsToDistanceVolumeByParts::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 IComputePointsToDistanceVolumeByParts.

Calls MR_IComputePointsToDistanceVolumeByParts_MutableDynamicDowncastFrom_MR_IComputePointsToDistanceVolume().

◆ static_downcast_from_i_compute_points_to_distance_volume()

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

Static downcast from the base class MR::IComputePointsToDistanceVolume.

Calls MR_IComputePointsToDistanceVolumeByParts_StaticDowncastFrom_MR_IComputePointsToDistanceVolume(). Undefined behavior if the object isn't actually a IComputePointsToDistanceVolumeByParts.

Note
This function is unsafe.

◆ static_downcast_from_i_compute_points_to_distance_volume_mut()

auto meshlib::IComputePointsToDistanceVolumeByParts::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_IComputePointsToDistanceVolumeByParts_MutableStaticDowncastFrom_MR_IComputePointsToDistanceVolume(). Undefined behavior if the object isn't actually a IComputePointsToDistanceVolumeByParts.

Note
This function is unsafe.

◆ upcast_to_i_compute_points_to_distance_volume()

auto meshlib::IComputePointsToDistanceVolumeByParts::upcast_to_i_compute_points_to_distance_volume ( ) const -> &meshlib::IComputePointsToDistanceVolume

Upcasts to the base class MR::IComputePointsToDistanceVolume.

Calls MR_IComputePointsToDistanceVolumeByParts_UpcastTo_MR_IComputePointsToDistanceVolume().

◆ upcast_to_i_compute_points_to_distance_volume_mut()

auto meshlib::IComputePointsToDistanceVolumeByParts::upcast_to_i_compute_points_to_distance_volume_mut ( ) -> &mut meshlib::IComputePointsToDistanceVolume

Upcasts to the base class MR::IComputePointsToDistanceVolume.

Calls MR_IComputePointsToDistanceVolumeByParts_MutableUpcastTo_MR_IComputePointsToDistanceVolume().


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