MeshLib C++ Docs
Loading...
Searching...
No Matches
MRMeshLoad.h File Reference
#include "MRMeshFwd.h"
#include "MRIOFilters.h"
#include "MRId.h"
#include "MRProgressCallback.h"
#include "MRExpected.h"
#include "MRMeshLoadSettings.h"
#include <filesystem>
#include <istream>
#include <string>

Go to the source code of this file.

Namespaces

namespace  MR
 
namespace  MR::MeshLoad
 

Functions

MRMESH_API Expected< MeshMR::loadMrmesh (const std::filesystem::path &file, const MeshLoadSettings &settings={})
 loads mesh from file in internal MeshLib format
 
MRMESH_API Expected< MeshMR::loadMrmesh (std::istream &in, const MeshLoadSettings &settings={})
 
MRMESH_API Expected< MeshMR::loadOff (const std::filesystem::path &file, const MeshLoadSettings &settings={})
 loads mesh from file in .OFF format
 
MRMESH_API Expected< MeshMR::loadOff (std::istream &in, const MeshLoadSettings &settings={})
 loads mesh from stream in .OFF format
 
MRMESH_API Expected< MeshMR::loadObj (const std::filesystem::path &file, const MeshLoadSettings &settings={})
 loads mesh from file in .OBJ format
 
MRMESH_API Expected< MeshMR::loadObj (std::istream &in, const MeshLoadSettings &settings={})
 
MRMESH_API Expected< MeshMR::loadStl (const std::filesystem::path &file, const MeshLoadSettings &settings={})
 loads mesh from file in any .STL format: both binary and ASCII
 
MRMESH_API Expected< MeshMR::loadStl (std::istream &in, const MeshLoadSettings &settings={})
 
MRMESH_API Expected< MeshMR::loadBinaryStl (const std::filesystem::path &file, const MeshLoadSettings &settings={})
 loads mesh from file in binary .STL format
 
MRMESH_API Expected< MeshMR::loadBinaryStl (std::istream &in, const MeshLoadSettings &settings={})
 
MRMESH_API Expected< MeshMR::loadASCIIStl (const std::filesystem::path &file, const MeshLoadSettings &settings={})
 loads mesh from file in textual .STL format
 
MRMESH_API Expected< MeshMR::loadASCIIStl (std::istream &in, const MeshLoadSettings &settings={})
 loads mesh from stream in textual .STL format
 
MRMESH_API Expected< MeshMR::loadPly (const std::filesystem::path &file, const MeshLoadSettings &settings={})
 loads mesh from file in .PLY format;
 
MRMESH_API Expected< MeshMR::loadPly (std::istream &in, const MeshLoadSettings &settings={})
 
MRMESH_API Expected< MeshMR::loadDxf (const std::filesystem::path &path, const MeshLoadSettings &settings={})
 loads mesh from file in .DXF format;
 
MRMESH_API Expected< MeshMR::loadDxf (std::istream &in, const MeshLoadSettings &settings={})
 loads mesh from stream in .DXF format;
 
MRMESH_API Expected< MeshMR::loadMesh (const std::filesystem::path &file, const MeshLoadSettings &settings={})
 loads mesh from file in the format detected from file extension
 
MRMESH_API Expected< MeshMR::loadMesh (std::istream &in, const std::string &extension, const MeshLoadSettings &settings={})
 
MRMESH_API Expected< MeshMR::MeshLoad::fromMrmesh (const std::filesystem::path &file, const MeshLoadSettings &settings={})
 loads mesh from file in internal MeshLib format
 
MRMESH_API Expected< MeshMR::MeshLoad::fromMrmesh (std::istream &in, const MeshLoadSettings &settings={})
 
MRMESH_API Expected< MeshMR::MeshLoad::fromOff (const std::filesystem::path &file, const MeshLoadSettings &settings={})
 loads mesh from file in .OFF format
 
MRMESH_API Expected< MeshMR::MeshLoad::fromOff (std::istream &in, const MeshLoadSettings &settings={})
 loads mesh from stream in .OFF format
 
MRMESH_API Expected< MeshMR::MeshLoad::fromObj (const std::filesystem::path &file, const MeshLoadSettings &settings={})
 loads mesh from file in .OBJ format
 
MRMESH_API Expected< MeshMR::MeshLoad::fromObj (std::istream &in, const MeshLoadSettings &settings={})
 
MRMESH_API Expected< MeshMR::MeshLoad::fromAnyStl (const std::filesystem::path &file, const MeshLoadSettings &settings={})
 loads mesh from file in any .STL format: both binary and ASCII
 
MRMESH_API Expected< MeshMR::MeshLoad::fromAnyStl (std::istream &in, const MeshLoadSettings &settings={})
 
MRMESH_API Expected< MeshMR::MeshLoad::fromBinaryStl (const std::filesystem::path &file, const MeshLoadSettings &settings={})
 loads mesh from file in binary .STL format
 
MRMESH_API Expected< MeshMR::MeshLoad::fromBinaryStl (std::istream &in, const MeshLoadSettings &settings={})
 
MRMESH_API Expected< MeshMR::MeshLoad::fromASCIIStl (const std::filesystem::path &file, const MeshLoadSettings &settings={})
 loads mesh from file in textual .STL format
 
MRMESH_API Expected< MeshMR::MeshLoad::fromASCIIStl (std::istream &in, const MeshLoadSettings &settings={})
 loads mesh from stream in textual .STL format
 
MRMESH_API Expected< MeshMR::MeshLoad::fromPly (const std::filesystem::path &file, const MeshLoadSettings &settings={})
 loads mesh from file in .PLY format;
 
MRMESH_API Expected< MeshMR::MeshLoad::fromPly (std::istream &in, const MeshLoadSettings &settings={})
 
MRMESH_API Expected< MeshMR::MeshLoad::fromDxf (const std::filesystem::path &path, const MeshLoadSettings &settings={})
 loads mesh from file in .DXF format;
 
MRMESH_API Expected< MeshMR::MeshLoad::fromDxf (std::istream &in, const MeshLoadSettings &settings={})
 loads mesh from stream in .DXF format;
 
MRMESH_API Expected< MeshMR::MeshLoad::fromAnySupportedFormat (const std::filesystem::path &file, const MeshLoadSettings &settings={})
 loads mesh from file in the format detected from file extension
 
MRMESH_API Expected< MeshMR::MeshLoad::fromAnySupportedFormat (std::istream &in, const std::string &extension, const MeshLoadSettings &settings={})