12struct MR_BIND_IGNORE PointCloudDataHolder;
29 std::shared_ptr<PointCloudDataHolder> data_;
CUDA-backed implementation of IPointsProjector.
Definition MRCudaPointsProject.h:16
size_t projectionsHeapBytes(size_t numProjections) const override
Returns amount of additional memory needed to compute projections.
Expected< void > findProjections(std::vector< MR::PointsProjectionResult > &results, const VertCoords &points, const FindProjectionOnPointsSettings &settings) const override
computes the closest points on point cloud to given points
Expected< void > setPointCloud(const PointCloud &pointCloud) override
sets the reference point cloud
IPointsProjector()=default
tl::expected< T, E > Expected
Definition MRExpected.h:31
Definition MRCudaBasic.h:15
Expected< std::vector< MR::PointsProjectionResult > > findProjectionOnPoints(const PointCloud &pointCloud, const VertCoords &points, const FindProjectionOnPointsSettings &settings={})
computes the closest points on point cloud to given points
size_t findProjectionOnPointsHeapBytes(const PointCloud &pointCloud, size_t pointsCount)
returns the minimal amount of free GPU memory required for MR::Cuda::findProjectionOnPoints
settings for IPointsProjector::findProjections
Definition MRPointsProject.h:76
Definition MRPointCloud.h:17