MeshLib C++ Docs
Loading...
Searching...
No Matches
MRMultiScanLoad.h
Go to the documentation of this file.
1#pragma once
2
3#include "MRMeshFwd.h"
4#include "MRExpected.h"
5
6#include <filesystem>
7#include <string>
8
9namespace MR::PointsLoad
10{
11
14
17{
19 std::string posePrefix = "pose";
20
22 std::string poseExt = ".txt";
23
25 std::string scanPrefix = "scan";
26
27};
28
34MRMESH_API Expected<PointCloud> fromMultiScanFolder( const std::filesystem::path& folder,
35 const MultiScanLoadSettings& settings = {}, const ProgressCallback& callback = {} );
36
38
39}
#define MRMESH_API
Definition MRMeshFwd.h:82
std::function< bool(float)> ProgressCallback
Definition MRMeshFwd.h:751
tl::expected< T, E > Expected
Definition MRExpected.h:31
Expected< PointCloud > fromMultiScanFolder(const std::filesystem::path &folder, const MultiScanLoadSettings &settings={}, const ProgressCallback &callback={})
Definition MRCtm.h:59
parameters of fromMultiScanFolder
Definition MRMultiScanLoad.h:17
std::string poseExt
file name extension of the transformation files, each storing a 4x4 row-major transformation
Definition MRMultiScanLoad.h:22
std::string posePrefix
file name prefix (before the numeric index) of the transformation files
Definition MRMultiScanLoad.h:19
std::string scanPrefix
file name prefix (before the numeric index) of the .ply files, each storing the points of one scan
Definition MRMultiScanLoad.h:25