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

Go to the source code of this file.

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::fromPts (const std::filesystem::path &file, const PointsLoadSettings &settings={})
 loads from Laser scan plain data format (.pts) file
 
MRMESH_API Expected< PointCloudMR::PointsLoad::fromPts (std::istream &in, const PointsLoadSettings &settings={})
 
MRMESH_API Expected< PointCloudMR::PointsLoad::fromPly (const std::filesystem::path &file, const PointsLoadSettings &settings={})
 loads from .ply file
 
MRMESH_API Expected< PointCloudMR::PointsLoad::fromPly (std::istream &in, const PointsLoadSettings &settings={})
 
MRMESH_API Expected< PointCloudMR::PointsLoad::fromObj (const std::filesystem::path &file, const PointsLoadSettings &settings={})
 loads from .obj file
 
MRMESH_API Expected< PointCloudMR::PointsLoad::fromObj (std::istream &in, const PointsLoadSettings &settings={})
 
MRMESH_API Expected< PointCloudMR::PointsLoad::fromDxf (const std::filesystem::path &file, const PointsLoadSettings &settings={})
 
MRMESH_API Expected< PointCloudMR::PointsLoad::fromDxf (std::istream &in, const PointsLoadSettings &settings={})
 
MRMESH_API Expected< PointCloudMR::PointsLoad::fromAnySupportedFormat (const std::filesystem::path &file, const PointsLoadSettings &settings={})
 detects the format from file extension and loads points from it
 
MRMESH_API Expected< PointCloudMR::PointsLoad::fromAnySupportedFormat (std::istream &in, const std::string &extension, const PointsLoadSettings &settings={})
 extension in *.ext format