34[[deprecated(
"use fromText( ..., PointsLoadSettings ) instead" )]]
36[[deprecated(
"use fromText( ..., PointsLoadSettings ) instead" )]]
44#ifndef MRMESH_NO_OPENCTM
62#if !defined( __EMSCRIPTEN__ ) && !defined( MRMESH_NO_E57 )
69#if !defined( MRMESH_NO_LAS )
82 VertColors* colors =
nullptr,
AffineXf3f* outXf =
nullptr,
86 VertColors* colors =
nullptr,
AffineXf3f* outXf =
nullptr,
#define MRMESH_API
Definition MRMesh/MRMeshFwd.h:46
std::function< bool(float)> ProgressCallback
Definition MRMesh/MRMeshFwd.h:589
std::vector< IOFilter > IOFilters
Definition MRIOFilters.h:23
MRMESH_API Expected< PointCloud > fromPly(const std::filesystem::path &file, VertColors *colors=nullptr, ProgressCallback callback={})
loads from .ply file
MRMESH_API Expected< PointCloud > fromPts(const std::filesystem::path &file, VertColors *colors=nullptr, AffineXf3f *outXf=nullptr, ProgressCallback callback={})
loads from Laser scan plain data format (.pts) file
MRMESH_API Expected< PointCloud > fromCtm(const std::filesystem::path &file, VertColors *colors=nullptr, ProgressCallback callback={})
loads from .ctm file
MRMESH_API Expected< PointCloud > fromDxf(const std::filesystem::path &file, ProgressCallback callback={})
MRMESH_API Expected< PointCloud > fromLas(const std::filesystem::path &file, VertColors *colors=nullptr, AffineXf3f *outXf=nullptr, ProgressCallback callback={})
loads from .las file
MRMESH_API const IOFilters Filters
MRMESH_API Expected< PointCloud > fromText(const std::filesystem::path &file, const PointsLoadSettings &settings)
loads from .csv, .asc, .xyz, .txt file
MRMESH_API Expected< PointCloud > fromE57(const std::filesystem::path &file, VertColors *colors=nullptr, AffineXf3f *outXf=nullptr, ProgressCallback callback={})
loads from .e57 file
MRMESH_API Expected< PointCloud > fromObj(const std::filesystem::path &file, ProgressCallback callback={})
loads from .obj file
MRMESH_API Expected< PointCloud > fromAnySupportedFormat(const std::filesystem::path &file, VertColors *colors=nullptr, AffineXf3f *outXf=nullptr, ProgressCallback callback={})
detects the format from file extension and loads points from it
Definition MRCameraOrientationPlugin.h:7
tl::expected< T, E > Expected
Definition MRExpected.h:49
Definition MRMesh/MRPointsLoad.h:16
VertColors * colors
points where to load point color map
Definition MRMesh/MRPointsLoad.h:17
AffineXf3f * outXf
transform for the loaded point cloud
Definition MRMesh/MRPointsLoad.h:18
ProgressCallback callback
callback for set progress and stop process
Definition MRMesh/MRPointsLoad.h:19