MeshLib C++ Docs
Loading...
Searching...
No Matches
MR::Cuda::PointsProjector Class Reference

CUDA-backed implementation of IPointsProjector. More...

#include <MRCudaPointsProject.h>

+ Inheritance diagram for MR::Cuda::PointsProjector:

Public Member Functions

MRCUDA_API Expected< void > setPointCloud (const PointCloud &pointCloud) override
 sets the reference point cloud
 
MRCUDA_API Expected< void > findProjections (std::vector< MR::PointsProjectionResult > &results, const std::vector< Vector3f > &points, const FindProjectionOnPointsSettings &settings) const override
 computes the closest points on point cloud to given points
 
- Public Member Functions inherited from MR::IPointsProjector
virtual ~IPointsProjector ()=default
 
virtual Expected< void > findProjections (std::vector< PointsProjectionResult > &results, const std::vector< Vector3f > &points, const FindProjectionOnPointsSettings &settings) const =0
 computes the closest points on point cloud to given points
 

Detailed Description

CUDA-backed implementation of IPointsProjector.

Member Function Documentation

◆ findProjections()

MRCUDA_API Expected< void > MR::Cuda::PointsProjector::findProjections ( std::vector< MR::PointsProjectionResult > & results,
const std::vector< Vector3f > & points,
const FindProjectionOnPointsSettings & settings ) const
override

computes the closest points on point cloud to given points

◆ setPointCloud()

MRCUDA_API Expected< void > MR::Cuda::PointsProjector::setPointCloud ( const PointCloud & pointCloud)
overridevirtual

sets the reference point cloud

Implements MR::IPointsProjector.


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