MeshLib C++ Docs
Loading...
Searching...
No Matches
Input/Output

Topics

 Base64
 DistanceMap Load
 DistanceMap Save
 Gcode Load
 Image Load
 Image Save
 IO Filters
 IO Formats Registry
 Lines Load
 Lines Save
 Mesh Load
 new simpler names
 Mesh Load Obj
 Mesh Save
 Mesh Save Obj
 Points Save
 Serializer
 Voxels Load
 Voxels Save

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

Detailed Description

Function Documentation

◆ fromAnySupportedFormat() [1/2]

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

#include <MRMesh/MRPointsLoad.h>

detects the format from file extension and loads points from it

◆ fromAnySupportedFormat() [2/2]

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

#include <MRMesh/MRPointsLoad.h>

extension in *.ext format

◆ fromDxf() [1/2]

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

◆ fromDxf() [2/2]

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

◆ fromObj() [1/2]

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

#include <MRMesh/MRPointsLoad.h>

loads from .obj file

◆ fromObj() [2/2]

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

◆ fromPly() [1/2]

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

#include <MRMesh/MRPointsLoad.h>

loads from .ply file

◆ fromPly() [2/2]

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

◆ fromPts() [1/2]

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

#include <MRMesh/MRPointsLoad.h>

loads from Laser scan plain data format (.pts) file

◆ fromPts() [2/2]

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

◆ fromText() [1/2]

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

#include <MRMesh/MRPointsLoad.h>

loads from .csv, .asc, .xyz, .txt file

◆ fromText() [2/2]

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

◆ telemetryLogSize()

MR_BIND_IGNORE void MR::PointsLoad::telemetryLogSize ( const PointCloud & cloud)

#include <MRMesh/MRPointsLoad.h>

emits telemetry signal with the integer logarithm of the number of points