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 <iosfwd>
#include <string>

Go to the source code of this file.

Namespaces

namespace  MR
 only for bindings generation
namespace  MR::MeshLoad
 compatibility names

Functions

Expected< Mesh > MR::loadMrmesh (const std::filesystem::path &file, const MeshLoadSettings &settings={})
 loads mesh from file in internal MeshLib format
Expected< Mesh > MR::loadMrmesh (std::istream &in, const MeshLoadSettings &settings={})
Expected< Mesh > MR::loadOff (const std::filesystem::path &file, const MeshLoadSettings &settings={})
 loads mesh from file in .OFF format
Expected< Mesh > MR::loadOff (std::istream &in, const MeshLoadSettings &settings={})
 loads mesh from stream in .OFF format
Expected< Mesh > MR::loadObj (const std::filesystem::path &file, const MeshLoadSettings &settings={})
 loads mesh from file in .OBJ format
Expected< Mesh > MR::loadObj (std::istream &in, const MeshLoadSettings &settings={})
Expected< Mesh > MR::loadStl (const std::filesystem::path &file, const MeshLoadSettings &settings={})
 loads mesh from file in any .STL format: both binary and ASCII
Expected< Mesh > MR::loadStl (std::istream &in, const MeshLoadSettings &settings={})
Expected< Mesh > MR::loadBinaryStl (const std::filesystem::path &file, const MeshLoadSettings &settings={})
 loads mesh from file in binary .STL format
Expected< Mesh > MR::loadBinaryStl (std::istream &in, const MeshLoadSettings &settings={})
Expected< Mesh > MR::loadASCIIStl (const std::filesystem::path &file, const MeshLoadSettings &settings={})
 loads mesh from file in textual .STL format
Expected< Mesh > MR::loadASCIIStl (std::istream &in, const MeshLoadSettings &settings={})
 loads mesh from stream in textual .STL format
Expected< TriMesh > MR::loadBinaryStlAsTriMesh (std::istream &in, const MeshLoadSettings &settings={})
Expected< TriMesh > MR::loadASCIIStlAsTriMesh (const std::filesystem::path &file, const MeshLoadSettings &settings={})
Expected< TriMesh > MR::loadASCIIStlAsTriMesh (std::istream &in, const MeshLoadSettings &settings={})
Expected< Mesh > MR::loadPly (const std::filesystem::path &file, const MeshLoadSettings &settings={})
 loads mesh from file in .PLY format;
Expected< Mesh > MR::loadPly (std::istream &in, const MeshLoadSettings &settings={})
Expected< Mesh > MR::loadDxf (const std::filesystem::path &path, const MeshLoadSettings &settings={})
 loads mesh from file in .DXF format;
Expected< Mesh > MR::loadDxf (std::istream &in, const MeshLoadSettings &settings={})
 loads mesh from stream in .DXF format;
Expected< Mesh > MR::loadMesh (const std::filesystem::path &file, const MeshLoadSettings &settings={})
 loads mesh from file in the format detected from file extension
Expected< Mesh > MR::loadMesh (std::istream &in, const std::string &extension, const MeshLoadSettings &settings={})
Expected< Mesh > MR::MeshLoad::fromMrmesh (const std::filesystem::path &file, const MeshLoadSettings &settings={})
 loads mesh from file in internal MeshLib format
Expected< Mesh > MR::MeshLoad::fromMrmesh (std::istream &in, const MeshLoadSettings &settings={})
Expected< Mesh > MR::MeshLoad::fromOff (const std::filesystem::path &file, const MeshLoadSettings &settings={})
 loads mesh from file in .OFF format
Expected< Mesh > MR::MeshLoad::fromOff (std::istream &in, const MeshLoadSettings &settings={})
 loads mesh from stream in .OFF format
Expected< Mesh > MR::MeshLoad::fromObj (const std::filesystem::path &file, const MeshLoadSettings &settings={})
 loads mesh from file in .OBJ format
Expected< Mesh > MR::MeshLoad::fromObj (std::istream &in, const MeshLoadSettings &settings={})
Expected< Mesh > MR::MeshLoad::fromAnyStl (const std::filesystem::path &file, const MeshLoadSettings &settings={})
 loads mesh from file in any .STL format: both binary and ASCII
Expected< Mesh > MR::MeshLoad::fromAnyStl (std::istream &in, const MeshLoadSettings &settings={})
Expected< Mesh > MR::MeshLoad::fromBinaryStl (const std::filesystem::path &file, const MeshLoadSettings &settings={})
 loads mesh from file in binary .STL format
Expected< Mesh > MR::MeshLoad::fromBinaryStl (std::istream &in, const MeshLoadSettings &settings={})
Expected< Mesh > MR::MeshLoad::fromASCIIStl (const std::filesystem::path &file, const MeshLoadSettings &settings={})
 loads mesh from file in textual .STL format
Expected< Mesh > MR::MeshLoad::fromASCIIStl (std::istream &in, const MeshLoadSettings &settings={})
 loads mesh from stream in textual .STL format
Expected< Mesh > MR::MeshLoad::fromPly (const std::filesystem::path &file, const MeshLoadSettings &settings={})
 loads mesh from file in .PLY format;
Expected< Mesh > MR::MeshLoad::fromPly (std::istream &in, const MeshLoadSettings &settings={})
Expected< Mesh > MR::MeshLoad::fromDxf (const std::filesystem::path &path, const MeshLoadSettings &settings={})
 loads mesh from file in .DXF format;
Expected< Mesh > MR::MeshLoad::fromDxf (std::istream &in, const MeshLoadSettings &settings={})
 loads mesh from stream in .DXF format;
Expected< Mesh > MR::MeshLoad::fromAnySupportedFormat (const std::filesystem::path &file, const MeshLoadSettings &settings={})
 loads mesh from file in the format detected from file extension
Expected< Mesh > MR::MeshLoad::fromAnySupportedFormat (std::istream &in, const std::string &extension, const MeshLoadSettings &settings={})
MR_BIND_IGNORE void MR::MeshLoad::telemetryLogSize (const Mesh &mesh)
 emits telemetry signal with the integer logarithm of mesh size