MeshLib C++ Docs
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
 only for bindings generation
namespace  MR::PointsLoad

Functions

Expected< PointCloudMR::PointsLoad::fromText (const std::filesystem::path &file, const PointsLoadSettings &settings={})
 loads from .csv, .asc, .xyz, .txt file
Expected< PointCloudMR::PointsLoad::fromText (std::istream &in, const PointsLoadSettings &settings={})
Expected< PointCloudMR::PointsLoad::fromPts (const std::filesystem::path &file, const PointsLoadSettings &settings={})
 loads from Laser scan plain data format (.pts) file
Expected< PointCloudMR::PointsLoad::fromPts (std::istream &in, const PointsLoadSettings &settings={})
Expected< PointCloudMR::PointsLoad::fromPly (const std::filesystem::path &file, const PointsLoadSettings &settings={})
 loads from .ply file
Expected< PointCloudMR::PointsLoad::fromPly (std::istream &in, const PointsLoadSettings &settings={})
Expected< PointCloudMR::PointsLoad::fromObj (const std::filesystem::path &file, const PointsLoadSettings &settings={})
 loads from .obj file
Expected< PointCloudMR::PointsLoad::fromObj (std::istream &in, const PointsLoadSettings &settings={})
Expected< PointCloudMR::PointsLoad::fromDxf (const std::filesystem::path &file, const PointsLoadSettings &settings={})
Expected< PointCloudMR::PointsLoad::fromDxf (std::istream &in, const PointsLoadSettings &settings={})
Expected< PointCloudMR::PointsLoad::fromAnySupportedFormat (const std::filesystem::path &file, const PointsLoadSettings &settings={})
 detects the format from file extension and loads points from it
Expected< PointCloudMR::PointsLoad::fromAnySupportedFormat (std::istream &in, const std::string &extension, const PointsLoadSettings &settings={})
 extension in *.ext format
MR_BIND_IGNORE void MR::PointsLoad::telemetryLogSize (const PointCloud &cloud)
 emits telemetry signal with the integer logarithm of the number of points