MeshLib C++ Docs
Loading...
Searching...
No Matches
Points Load

Classes

struct  MR::PointsLoad::MultiScanLoadSettings
 parameters of fromMultiScanFolder More...

Functions

Expected< PointCloudMR::PointsLoad::fromMultiScanFolder (const std::filesystem::path &folder, const MultiScanLoadSettings &settings={}, const ProgressCallback &callback={})

Detailed Description

Function Documentation

◆ fromMultiScanFolder()

Expected< PointCloud > MR::PointsLoad::fromMultiScanFolder ( const std::filesystem::path & folder,
const MultiScanLoadSettings & settings = {},
const ProgressCallback & callback = {} )

#include <MRMesh/MRMultiScanLoad.h>

loads and merges a point cloud from a folder with the results of a multi-scan capture: the folder is expected to contain pairs of files named <posePrefix>NNN<poseExt> and <scanPrefix>NNN.ply with matching indices NNN (the number of pairs is arbitrary); each transformation file stores a 4x4 row-major rigid transformation, which is applied to the points (and normals) loaded from the .ply file with the same index;

Returns
the union of all transformed points from all found pairs, expressed in the common coordinate frame