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

Public Member Functions

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 >

Additional Inherited Members

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

Detailed Description

abstract class for computing a volume of signed distances to points with normals Generated from class MR::IComputePointsToDistanceVolume. Derived classes: Direct: (non-virtual) MR::IComputePointsToDistanceFunctionVolume MR::IComputePointsToDistanceVolumeByParts Indirect: (non-virtual) MR::ComputePointsToDistanceVolume MR::Cuda::ComputePointsToDistanceVolume

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

Member Function Documentation

◆ can_compute()

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

Calls MR_IComputePointsToDistanceVolume_canCompute().

◆ compute()

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

Calls MR_IComputePointsToDistanceVolume_compute().


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