MeshLib
 
Loading...
Searching...
No Matches
MRPointsLoad.h File Reference
#include "MRMeshFwd.h"
#include "MRIOFilters.h"
#include "MRProgressCallback.h"
#include "MRExpected.h"
#include <filesystem>
#include <istream>
#include <string>

Go to the source code of this file.

Classes

struct  MR::PointsLoadSettings
 

Namespaces

namespace  MR
 
namespace  MR::PointsLoad
 

Functions

MRMESH_API Expected< PointCloudMR::PointsLoad::fromText (const std::filesystem::path &file, const PointsLoadSettings &settings)
 loads from .csv, .asc, .xyz, .txt file
 
MRMESH_API Expected< PointCloudMR::PointsLoad::fromText (std::istream &in, const PointsLoadSettings &settings)
 
MRMESH_API Expected< PointCloudMR::PointsLoad::fromText (const std::filesystem::path &file, AffineXf3f *outXf=nullptr, ProgressCallback callback={})
 
MRMESH_API Expected< PointCloudMR::PointsLoad::fromText (std::istream &in, AffineXf3f *outXf=nullptr, ProgressCallback callback={})
 
MRMESH_API Expected< PointCloudMR::PointsLoad::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< PointCloudMR::PointsLoad::fromPts (std::istream &in, VertColors *colors=nullptr, AffineXf3f *outXf=nullptr, ProgressCallback callback={})
 
MRMESH_API Expected< PointCloudMR::PointsLoad::fromCtm (const std::filesystem::path &file, VertColors *colors=nullptr, ProgressCallback callback={})
 loads from .ctm file
 
MRMESH_API Expected< PointCloudMR::PointsLoad::fromCtm (std::istream &in, VertColors *colors=nullptr, ProgressCallback callback={})
 
MRMESH_API Expected< PointCloudMR::PointsLoad::fromPly (const std::filesystem::path &file, VertColors *colors=nullptr, ProgressCallback callback={})
 loads from .ply file
 
MRMESH_API Expected< PointCloudMR::PointsLoad::fromPly (std::istream &in, VertColors *colors=nullptr, ProgressCallback callback={})
 
MRMESH_API Expected< PointCloudMR::PointsLoad::fromObj (const std::filesystem::path &file, ProgressCallback callback={})
 loads from .obj file
 
MRMESH_API Expected< PointCloudMR::PointsLoad::fromObj (std::istream &in, ProgressCallback callback={})
 
MRMESH_API Expected< PointCloudMR::PointsLoad::fromE57 (const std::filesystem::path &file, VertColors *colors=nullptr, AffineXf3f *outXf=nullptr, ProgressCallback callback={})
 loads from .e57 file
 
MRMESH_API Expected< PointCloudMR::PointsLoad::fromLas (const std::filesystem::path &file, VertColors *colors=nullptr, AffineXf3f *outXf=nullptr, ProgressCallback callback={})
 loads from .las file
 
MRMESH_API Expected< PointCloudMR::PointsLoad::fromLas (std::istream &in, VertColors *colors=nullptr, AffineXf3f *outXf=nullptr, ProgressCallback callback={})
 
MRMESH_API Expected< PointCloudMR::PointsLoad::fromDxf (const std::filesystem::path &file, ProgressCallback callback={})
 
MRMESH_API Expected< PointCloudMR::PointsLoad::fromDxf (std::istream &in, ProgressCallback callback={})
 
MRMESH_API Expected< PointCloudMR::PointsLoad::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
 
MRMESH_API Expected< PointCloudMR::PointsLoad::fromAnySupportedFormat (std::istream &in, const std::string &extension, VertColors *colors=nullptr, AffineXf3f *outXf=nullptr, ProgressCallback callback={})
 extension in *.ext format
 

Variables

MRMESH_API const IOFilters MR::PointsLoad::Filters