MeshLib C++ Docs
Loading...
Searching...
No Matches
MR::PointsLoad Namespace Reference

Classes

struct  E57LoadSettings
struct  NamedCloud
 loads scene from e57 file More...
struct  PointsLoader

Typedefs

using PointsFileLoader = Expected<PointCloud>( * )( const std::filesystem::path&, const PointsLoadSettings& )
using PointsStreamLoader = Expected<PointCloud>( * )( std::istream&, const PointsLoadSettings& )

Functions

Expected< PointCloudfromCtm (const std::filesystem::path &file, const PointsLoadSettings &settings={})
 loads from .ctm file
Expected< PointCloudfromCtm (std::istream &in, const PointsLoadSettings &settings={})
Expected< std::vector< NamedCloud > > fromSceneE57File (const std::filesystem::path &file, const E57LoadSettings &settings={})
Expected< PointCloudfromE57 (const std::filesystem::path &file, const PointsLoadSettings &settings={})
 loads from .e57 file
Expected< PointCloudfromE57 (std::istream &in, const PointsLoadSettings &settings={})
Expected< LoadedObjectsloadObjectFromE57 (const std::filesystem::path &path, const ProgressCallback &cb={})
Expected< PointCloudfromLas (const std::filesystem::path &file, const PointsLoadSettings &settings={})
 loads from .las file
Expected< PointCloudfromLas (std::istream &in, const PointsLoadSettings &settings={})
Expected< PointCloudfromText (const std::filesystem::path &file, const PointsLoadSettings &settings={})
 loads from .csv, .asc, .xyz, .txt file
Expected< PointCloudfromText (std::istream &in, const PointsLoadSettings &settings={})
Expected< PointCloudfromPts (const std::filesystem::path &file, const PointsLoadSettings &settings={})
 loads from Laser scan plain data format (.pts) file
Expected< PointCloudfromPts (std::istream &in, const PointsLoadSettings &settings={})
Expected< PointCloudfromPly (const std::filesystem::path &file, const PointsLoadSettings &settings={})
 loads from .ply file
Expected< PointCloudfromPly (std::istream &in, const PointsLoadSettings &settings={})
Expected< PointCloudfromObj (const std::filesystem::path &file, const PointsLoadSettings &settings={})
 loads from .obj file
Expected< PointCloudfromObj (std::istream &in, const PointsLoadSettings &settings={})
Expected< PointCloudfromDxf (const std::filesystem::path &file, const PointsLoadSettings &settings={})
Expected< PointCloudfromDxf (std::istream &in, const PointsLoadSettings &settings={})
Expected< PointCloudfromAnySupportedFormat (const std::filesystem::path &file, const PointsLoadSettings &settings={})
 detects the format from file extension and loads points from it
Expected< PointCloudfromAnySupportedFormat (std::istream &in, const std::string &extension, const PointsLoadSettings &settings={})
 extension in *.ext format
MR_BIND_IGNORE void telemetryLogSize (const PointCloud &cloud)
 emits telemetry signal with the integer logarithm of the number of points

Typedef Documentation

◆ PointsFileLoader

using MR::PointsLoad::PointsFileLoader = Expected<PointCloud>( * )( const std::filesystem::path&, const PointsLoadSettings& )

◆ PointsStreamLoader

Function Documentation

◆ fromE57() [1/2]

Expected< PointCloud > MR::PointsLoad::fromE57 ( const std::filesystem::path & file,
const PointsLoadSettings & settings = {} )

loads from .e57 file

◆ fromE57() [2/2]

Expected< PointCloud > MR::PointsLoad::fromE57 ( std::istream & in,
const PointsLoadSettings & settings = {} )

◆ fromSceneE57File()

Expected< std::vector< NamedCloud > > MR::PointsLoad::fromSceneE57File ( const std::filesystem::path & file,
const E57LoadSettings & settings = {} )

◆ loadObjectFromE57()

Expected< LoadedObjects > MR::PointsLoad::loadObjectFromE57 ( const std::filesystem::path & path,
const ProgressCallback & cb = {} )