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

default implementation of IPointsProjector More...

#include <MRMesh/MRPointsProject.h>

Inheritance diagram for MR::PointsProjector:

Public Member Functions

Expected< void > setPointCloud (const PointCloud &pointCloud) override
 sets the reference point cloud
Expected< void > findProjections (std::vector< PointsProjectionResult > &results, const std::vector< Vector3f > &points, const FindProjectionOnPointsSettings &settings) const override
 computes the closest points on point cloud to given points
virtual size_t projectionsHeapBytes (size_t numProjections) const override
 Returns amount of memory needed to compute projections.
Public Member Functions inherited from MR::IPointsProjector
virtual ~IPointsProjector ()=default

Detailed Description

default implementation of IPointsProjector

Member Function Documentation

◆ findProjections()

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

computes the closest points on point cloud to given points

Implements MR::IPointsProjector.

◆ projectionsHeapBytes()

virtual size_t MR::PointsProjector::projectionsHeapBytes ( size_t numProjections) const
overridevirtual

Returns amount of memory needed to compute projections.

Implements MR::IPointsProjector.

◆ setPointCloud()

Expected< void > MR::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: