MeshLib C++ Docs
Loading...
Searching...
No Matches

new simpler names More...

Namespaces

namespace  MR::MeshLoad
 compatibility names

Functions

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

Detailed Description

new simpler names

Function Documentation

◆ loadASCIIStl() [1/2]

Expected< Mesh > MR::loadASCIIStl ( const std::filesystem::path & file,
const MeshLoadSettings & settings = {} )

#include <MRMesh/MRMeshLoad.h>

loads mesh from file in textual .STL format

◆ loadASCIIStl() [2/2]

Expected< Mesh > MR::loadASCIIStl ( std::istream & in,
const MeshLoadSettings & settings = {} )

#include <MRMesh/MRMeshLoad.h>

loads mesh from stream in textual .STL format

◆ loadBinaryStl() [1/2]

Expected< Mesh > MR::loadBinaryStl ( const std::filesystem::path & file,
const MeshLoadSettings & settings = {} )

#include <MRMesh/MRMeshLoad.h>

loads mesh from file in binary .STL format

◆ loadBinaryStl() [2/2]

Expected< Mesh > MR::loadBinaryStl ( std::istream & in,
const MeshLoadSettings & settings = {} )

#include <MRMesh/MRMeshLoad.h>

loads mesh from stream in binary .STL format; important on Windows: in stream must be open in binary mode

◆ loadDxf() [1/2]

Expected< Mesh > MR::loadDxf ( const std::filesystem::path & path,
const MeshLoadSettings & settings = {} )

#include <MRMesh/MRMeshLoad.h>

loads mesh from file in .DXF format;

◆ loadDxf() [2/2]

Expected< Mesh > MR::loadDxf ( std::istream & in,
const MeshLoadSettings & settings = {} )

#include <MRMesh/MRMeshLoad.h>

loads mesh from stream in .DXF format;

◆ loadMesh() [1/2]

Expected< Mesh > MR::loadMesh ( const std::filesystem::path & file,
const MeshLoadSettings & settings = {} )

#include <MRMesh/MRMeshLoad.h>

loads mesh from file in the format detected from file extension

◆ loadMesh() [2/2]

Expected< Mesh > MR::loadMesh ( std::istream & in,
const std::string & extension,
const MeshLoadSettings & settings = {} )

#include <MRMesh/MRMeshLoad.h>

loads mesh from stream in the format detected from given extension-string (*.ext); important on Windows: in stream must be open in binary mode

◆ loadMrmesh() [1/2]

Expected< Mesh > MR::loadMrmesh ( const std::filesystem::path & file,
const MeshLoadSettings & settings = {} )

#include <MRMesh/MRMeshLoad.h>

loads mesh from file in internal MeshLib format

◆ loadMrmesh() [2/2]

Expected< Mesh > MR::loadMrmesh ( std::istream & in,
const MeshLoadSettings & settings = {} )

#include <MRMesh/MRMeshLoad.h>

loads mesh from stream in internal MeshLib format; important on Windows: in stream must be open in binary mode

◆ loadObj() [1/2]

Expected< Mesh > MR::loadObj ( const std::filesystem::path & file,
const MeshLoadSettings & settings = {} )

#include <MRMesh/MRMeshLoad.h>

loads mesh from file in .OBJ format

◆ loadObj() [2/2]

Expected< Mesh > MR::loadObj ( std::istream & in,
const MeshLoadSettings & settings = {} )

#include <MRMesh/MRMeshLoad.h>

loads mesh from stream in .OBJ format; important on Windows: in stream must be open in binary mode

◆ loadOff() [1/2]

Expected< Mesh > MR::loadOff ( const std::filesystem::path & file,
const MeshLoadSettings & settings = {} )

#include <MRMesh/MRMeshLoad.h>

loads mesh from file in .OFF format

◆ loadOff() [2/2]

Expected< Mesh > MR::loadOff ( std::istream & in,
const MeshLoadSettings & settings = {} )

#include <MRMesh/MRMeshLoad.h>

loads mesh from stream in .OFF format

◆ loadPly() [1/2]

Expected< Mesh > MR::loadPly ( const std::filesystem::path & file,
const MeshLoadSettings & settings = {} )

#include <MRMesh/MRMeshLoad.h>

loads mesh from file in .PLY format;

◆ loadPly() [2/2]

Expected< Mesh > MR::loadPly ( std::istream & in,
const MeshLoadSettings & settings = {} )

#include <MRMesh/MRMeshLoad.h>

loads mesh from stream in .PLY format; important on Windows: in stream must be open in binary mode

◆ loadStl() [1/2]

Expected< Mesh > MR::loadStl ( const std::filesystem::path & file,
const MeshLoadSettings & settings = {} )

#include <MRMesh/MRMeshLoad.h>

loads mesh from file in any .STL format: both binary and ASCII

◆ loadStl() [2/2]

Expected< Mesh > MR::loadStl ( std::istream & in,
const MeshLoadSettings & settings = {} )

#include <MRMesh/MRMeshLoad.h>

loads mesh from stream in any .STL format: both binary and ASCII; important on Windows: in stream must be open in binary mode