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

Public Member Functions

auto assign_from_another (_other:&meshlib::cuda::PointsProjector) -> &mut meshlib::cuda::PointsProjector
auto set_point_cloud (pointCloud:&meshlib::PointCloud) -> meshlib::Owned< meshlib::expected_void_std_string >
auto find_projections (results:&mut meshlib::std_vector_MR_PointsProjectionResult, points:&meshlib::VertCoords, settings:&meshlib::FindProjectionOnPointsSettings) const -> meshlib::Owned< meshlib::expected_void_std_string >
auto projections_heap_bytes (numProjections:usize) const -> usize
auto upcast_to_i_points_projector () const -> &meshlib::IPointsProjector
auto upcast_to_i_points_projector_mut () -> &mut meshlib::IPointsProjector

Static Public Member Functions

static auto new () -> meshlib::Owned< meshlib::cuda::PointsProjector >
static auto construct_from_another (_other:&meshlib::cuda::PointsProjector) -> meshlib::Owned< meshlib::cuda::PointsProjector >
static auto static_downcast_from_i_points_projector (object:&meshlib::IPointsProjector) -> &Self
static auto static_downcast_from_i_points_projector_mut (object:&mut meshlib::IPointsProjector) -> &mut Self
static auto dynamic_downcast_from_i_points_projector (object:&meshlib::IPointsProjector) -> Option<&Self >
static auto dynamic_downcast_from_i_points_projector_mut (object:&mut meshlib::IPointsProjector) -> 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-backed implementation of IPointsProjector Generated from class MR::Cuda::PointsProjector. Base classes: Direct: (non-virtual) MR::IPointsProjector

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

Member Function Documentation

◆ assign_from_another()

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

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

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

◆ construct_from_another()

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

Generated from constructor MR::Cuda::PointsProjector::PointsProjector.

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

◆ dynamic_downcast_from_i_points_projector()

auto meshlib::cuda::PointsProjector::dynamic_downcast_from_i_points_projector ( object:&meshlib::IPointsProjector ) -> Option<&Self >
static

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

Calls MR_Cuda_PointsProjector_DynamicDowncastFrom_MR_IPointsProjector().

◆ dynamic_downcast_from_i_points_projector_mut()

auto meshlib::cuda::PointsProjector::dynamic_downcast_from_i_points_projector_mut ( object:&mut meshlib::IPointsProjector ) -> Option<&mut Self >
static

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

Calls MR_Cuda_PointsProjector_MutableDynamicDowncastFrom_MR_IPointsProjector().

◆ find_projections()

auto meshlib::cuda::PointsProjector::find_projections ( results:&mut meshlib::std_vector_MR_PointsProjectionResult ,
points:&meshlib::VertCoords ,
settings:&meshlib::FindProjectionOnPointsSettings  ) const -> meshlib::Owned< meshlib::expected_void_std_string >

computes the closest points on point cloud to given points Generated from method MR::Cuda::PointsProjector::findProjections.

Calls MR_Cuda_PointsProjector_findProjections().

◆ new()

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

Constructs an empty (default-constructed) instance.

Calls MR_Cuda_PointsProjector_DefaultConstruct().

◆ projections_heap_bytes()

auto meshlib::cuda::PointsProjector::projections_heap_bytes ( numProjections:usize ) const -> usize

Returns amount of additional memory needed to compute projections Generated from method MR::Cuda::PointsProjector::projectionsHeapBytes.

Calls MR_Cuda_PointsProjector_projectionsHeapBytes().

◆ set_point_cloud()

auto meshlib::cuda::PointsProjector::set_point_cloud ( pointCloud:&meshlib::PointCloud ) -> meshlib::Owned< meshlib::expected_void_std_string >

sets the reference point cloud Generated from method MR::Cuda::PointsProjector::setPointCloud.

Calls MR_Cuda_PointsProjector_setPointCloud().

◆ static_downcast_from_i_points_projector()

auto meshlib::cuda::PointsProjector::static_downcast_from_i_points_projector ( object:&meshlib::IPointsProjector ) -> &Self
static

Static downcast from the base class MR::IPointsProjector.

Calls MR_Cuda_PointsProjector_StaticDowncastFrom_MR_IPointsProjector(). Undefined behavior if the object isn't actually a PointsProjector.

Note
This function is unsafe.

◆ static_downcast_from_i_points_projector_mut()

auto meshlib::cuda::PointsProjector::static_downcast_from_i_points_projector_mut ( object:&mut meshlib::IPointsProjector ) -> &mut Self
static

Static downcast from the base class MR::IPointsProjector.

Calls MR_Cuda_PointsProjector_MutableStaticDowncastFrom_MR_IPointsProjector(). Undefined behavior if the object isn't actually a PointsProjector.

Note
This function is unsafe.

◆ upcast_to_i_points_projector()

auto meshlib::cuda::PointsProjector::upcast_to_i_points_projector ( ) const -> &meshlib::IPointsProjector

Upcasts to the base class MR::IPointsProjector.

Calls MR_Cuda_PointsProjector_UpcastTo_MR_IPointsProjector().

◆ upcast_to_i_points_projector_mut()

auto meshlib::cuda::PointsProjector::upcast_to_i_points_projector_mut ( ) -> &mut meshlib::IPointsProjector

Upcasts to the base class MR::IPointsProjector.

Calls MR_Cuda_PointsProjector_MutableUpcastTo_MR_IPointsProjector().


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