MeshLib
 
Loading...
Searching...
No Matches
MRLas.h
Go to the documentation of this file.
1#pragma once
2
3#include "config.h"
4#ifndef MRIOEXTRAS_NO_LAS
5#include "exports.h"
6
7#include <MRMesh/MRExpected.h>
9
10#include <filesystem>
11
12namespace MR
13{
14
15namespace PointsLoad
16{
17
19MRIOEXTRAS_API Expected<PointCloud> fromLas( const std::filesystem::path& file, const PointsLoadSettings& settings = {} );
20MRIOEXTRAS_API Expected<PointCloud> fromLas( std::istream& in, const PointsLoadSettings& settings = {} );
21
22} // namespace PointsLoad
23
24} // namespace MR
25#endif
MRIOEXTRAS_API Expected< PointCloud > fromLas(const std::filesystem::path &file, const PointsLoadSettings &settings={})
loads from .las file
Definition MRCameraOrientationPlugin.h:8
tl::expected< T, E > Expected
Definition MRExpected.h:58
Definition MRPointsLoadSettings.h:10