MeshLib C++ Docs
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{
16
17
18namespace PointsLoad
19{
20
22MRIOEXTRAS_API Expected<PointCloud> fromLas( const std::filesystem::path& file, const PointsLoadSettings& settings = {} );
23MRIOEXTRAS_API Expected<PointCloud> fromLas( std::istream& in, const PointsLoadSettings& settings = {} );
24
25}
26
27}
28#endif
tl::expected< T, E > Expected
Definition MRExpected.h:31
MRIOEXTRAS_API Expected< PointCloud > fromLas(const std::filesystem::path &file, const PointsLoadSettings &settings={})
loads from .las file
only for bindings generation
Definition MRCameraOrientationPlugin.h:8
structure with settings and side output parameters for loading point cloud
Definition MRPointsLoadSettings.h:13