MeshLib Documentation
Loading...
Searching...
No Matches
MRLinesLoad.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.

Namespaces

namespace  MR
 
namespace  MR::LinesLoad
 

Functions

MRMESH_API Expected< Polyline3 > MR::LinesLoad::fromMrLines (const std::filesystem::path &file, ProgressCallback callback={})
 loads from .mrlines file
 
MRMESH_API Expected< Polyline3 > MR::LinesLoad::fromMrLines (std::istream &in, ProgressCallback callback={})
 
MRMESH_API Expected< Polyline3 > MR::LinesLoad::fromPts (const std::filesystem::path &file, ProgressCallback callback={})
 loads from .pts file
 
MRMESH_API Expected< Polyline3 > MR::LinesLoad::fromPts (std::istream &in, ProgressCallback callback={})
 
MRMESH_API Expected< Polyline3 > MR::LinesLoad::fromAnySupportedFormat (const std::filesystem::path &file, ProgressCallback callback={})
 detects the format from file extension and loads polyline from it
 
MRMESH_API Expected< Polyline3 > MR::LinesLoad::fromAnySupportedFormat (std::istream &in, const std::string &extension, ProgressCallback callback={})
 extension in *.ext format