MeshLib
 
Loading...
Searching...
No Matches
MRPointsLoadE57.h
Go to the documentation of this file.
1#pragma once
2
3#include "MRColor.h"
4#include "MRPointCloud.h"
5#include "MRExpected.h"
7#include "MRAffineXf3.h"
8#include <filesystem>
9#include <string>
10
11#if !defined( __EMSCRIPTEN__ ) && !defined( MRMESH_NO_E57 )
12
13namespace MR
14{
15
16namespace PointsLoad
17{
18
20{
22 bool combineAllObjects = false;
23
25 bool identityXf = false;
26
29};
30
33{
34 std::string name;
37 VertColors colors;
38};
39
41 const E57LoadSettings & settings = {} );
42
43} // namespace PointsLoad
44
45} // namespace MR
46
47#endif
#define MRMESH_API
Definition MRMesh/MRMeshFwd.h:46
std::function< bool(float)> ProgressCallback
Definition MRMesh/MRMeshFwd.h:589
MRMESH_API Expected< std::vector< NamedCloud > > fromSceneE57File(const std::filesystem::path &file, const E57LoadSettings &settings={})
Definition MRCameraOrientationPlugin.h:7
tl::expected< T, E > Expected
Definition MRExpected.h:49
Definition MRMesh/MRPointCloud.h:16
Definition MRPointsLoadE57.h:20
bool combineAllObjects
true => if input file has more than one cloud, they all will be combined in one
Definition MRPointsLoadE57.h:22
ProgressCallback progress
progress report and cancellation
Definition MRPointsLoadE57.h:28
bool identityXf
true => return only identity transforms, applying them to points
Definition MRPointsLoadE57.h:25
loads scene from e57 file
Definition MRPointsLoadE57.h:33
AffineXf3f xf
Definition MRPointsLoadE57.h:36
std::string name
Definition MRPointsLoadE57.h:34
PointCloud cloud
Definition MRPointsLoadE57.h:35
VertColors colors
Definition MRPointsLoadE57.h:37