MeshLib Documentation
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::MeshLoad::fromMrmesh (const std::filesystem::path &file, const MeshLoadSettings &settings={})
 loads from internal file 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 from .off file
 
MRMESH_API Expected< MeshMR::MeshLoad::fromOff (std::istream &in, const MeshLoadSettings &settings={})
 
MRMESH_API Expected< MeshMR::MeshLoad::fromObj (const std::filesystem::path &file, const MeshLoadSettings &settings={})
 loads from .obj file
 
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 from any .stl
 
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 from binary .stl
 
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 from ASCII .stl
 
MRMESH_API Expected< MeshMR::MeshLoad::fromASCIIStl (std::istream &in, const MeshLoadSettings &settings={})
 
MRMESH_API Expected< MeshMR::MeshLoad::fromPly (const std::filesystem::path &file, const MeshLoadSettings &settings={})
 loads from .ply file
 
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={})
 
MRMESH_API Expected< MeshMR::MeshLoad::fromDxf (std::istream &in, const MeshLoadSettings &settings={})
 
MRMESH_API Expected< MeshMR::MeshLoad::fromAnySupportedFormat (const std::filesystem::path &file, const MeshLoadSettings &settings={})
 detects the format from file extension and loads mesh from it
 
MRMESH_API Expected< MeshMR::MeshLoad::fromAnySupportedFormat (std::istream &in, const std::string &extension, const MeshLoadSettings &settings={})
 extension in *.ext format