Functions | |
MRMESH_API Expected< Mesh > | MR::MeshLoad::fromMrmesh (const std::filesystem::path &file, const MeshLoadSettings &settings={}) |
loads mesh from file in internal MeshLib format | |
MRMESH_API Expected< Mesh > | MR::MeshLoad::fromMrmesh (std::istream &in, const MeshLoadSettings &settings={}) |
MRMESH_API Expected< Mesh > | MR::MeshLoad::fromOff (const std::filesystem::path &file, const MeshLoadSettings &settings={}) |
loads mesh from file in .OFF format | |
MRMESH_API Expected< Mesh > | MR::MeshLoad::fromOff (std::istream &in, const MeshLoadSettings &settings={}) |
loads mesh from stream in .OFF format | |
MRMESH_API Expected< Mesh > | MR::MeshLoad::fromObj (const std::filesystem::path &file, const MeshLoadSettings &settings={}) |
loads mesh from file in .OBJ format | |
MRMESH_API Expected< Mesh > | MR::MeshLoad::fromObj (std::istream &in, const MeshLoadSettings &settings={}) |
MRMESH_API 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 | |
MRMESH_API Expected< Mesh > | MR::MeshLoad::fromAnyStl (std::istream &in, const MeshLoadSettings &settings={}) |
MRMESH_API Expected< Mesh > | MR::MeshLoad::fromBinaryStl (const std::filesystem::path &file, const MeshLoadSettings &settings={}) |
loads mesh from file in binary .STL format | |
MRMESH_API Expected< Mesh > | MR::MeshLoad::fromBinaryStl (std::istream &in, const MeshLoadSettings &settings={}) |
MRMESH_API Expected< Mesh > | MR::MeshLoad::fromASCIIStl (const std::filesystem::path &file, const MeshLoadSettings &settings={}) |
loads mesh from file in textual .STL format | |
MRMESH_API Expected< Mesh > | MR::MeshLoad::fromASCIIStl (std::istream &in, const MeshLoadSettings &settings={}) |
loads mesh from stream in textual .STL format | |
MRMESH_API Expected< Mesh > | MR::MeshLoad::fromPly (const std::filesystem::path &file, const MeshLoadSettings &settings={}) |
loads mesh from file in .PLY format; | |
MRMESH_API Expected< Mesh > | MR::MeshLoad::fromPly (std::istream &in, const MeshLoadSettings &settings={}) |
MRMESH_API Expected< Mesh > | MR::MeshLoad::fromDxf (const std::filesystem::path &path, const MeshLoadSettings &settings={}) |
loads mesh from file in .DXF format; | |
MRMESH_API Expected< Mesh > | MR::MeshLoad::fromDxf (std::istream &in, const MeshLoadSettings &settings={}) |
loads mesh from stream in .DXF format; | |
MRMESH_API Expected< Mesh > | MR::MeshLoad::fromAnySupportedFormat (const std::filesystem::path &file, const MeshLoadSettings &settings={}) |
loads mesh from file in the format detected from file extension | |
MRMESH_API Expected< Mesh > | MR::MeshLoad::fromAnySupportedFormat (std::istream &in, const std::string &extension, const MeshLoadSettings &settings={}) |
MRMESH_API 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
MRMESH_API Expected< Mesh > MR::MeshLoad::fromAnyStl | ( | std::istream & | in, |
const MeshLoadSettings & | settings = {} ) |
loads mesh from stream in any .STL format: both binary and ASCII; important on Windows: in stream must be open in binary mode
MRMESH_API Expected< Mesh > MR::MeshLoad::fromAnySupportedFormat | ( | const std::filesystem::path & | file, |
const MeshLoadSettings & | settings = {} ) |
loads mesh from file in the format detected from file extension
MRMESH_API Expected< Mesh > MR::MeshLoad::fromAnySupportedFormat | ( | std::istream & | in, |
const std::string & | extension, | ||
const MeshLoadSettings & | settings = {} ) |
loads mesh from stream in the format detected from given extension-string (*.ext
); important on Windows: in stream must be open in binary mode
MRMESH_API Expected< Mesh > MR::MeshLoad::fromASCIIStl | ( | const std::filesystem::path & | file, |
const MeshLoadSettings & | settings = {} ) |
loads mesh from file in textual .STL format
MRMESH_API Expected< Mesh > MR::MeshLoad::fromASCIIStl | ( | std::istream & | in, |
const MeshLoadSettings & | settings = {} ) |
loads mesh from stream in textual .STL format
MRMESH_API Expected< Mesh > MR::MeshLoad::fromBinaryStl | ( | const std::filesystem::path & | file, |
const MeshLoadSettings & | settings = {} ) |
loads mesh from file in binary .STL format
MRMESH_API Expected< Mesh > MR::MeshLoad::fromBinaryStl | ( | std::istream & | in, |
const MeshLoadSettings & | settings = {} ) |
loads mesh from stream in binary .STL format; important on Windows: in stream must be open in binary mode
MRMESH_API Expected< Mesh > MR::MeshLoad::fromDxf | ( | const std::filesystem::path & | path, |
const MeshLoadSettings & | settings = {} ) |
loads mesh from file in .DXF format;
MRMESH_API Expected< Mesh > MR::MeshLoad::fromDxf | ( | std::istream & | in, |
const MeshLoadSettings & | settings = {} ) |
loads mesh from stream in .DXF format;
MRMESH_API Expected< Mesh > MR::MeshLoad::fromMrmesh | ( | const std::filesystem::path & | file, |
const MeshLoadSettings & | settings = {} ) |
loads mesh from file in internal MeshLib format
MRMESH_API Expected< Mesh > MR::MeshLoad::fromMrmesh | ( | std::istream & | in, |
const MeshLoadSettings & | settings = {} ) |
loads mesh from stream in internal MeshLib format; important on Windows: in stream must be open in binary mode
MRMESH_API Expected< Mesh > MR::MeshLoad::fromObj | ( | const std::filesystem::path & | file, |
const MeshLoadSettings & | settings = {} ) |
loads mesh from file in .OBJ format
MRMESH_API Expected< Mesh > MR::MeshLoad::fromObj | ( | std::istream & | in, |
const MeshLoadSettings & | settings = {} ) |
loads mesh from stream in .OBJ format; important on Windows: in stream must be open in binary mode
MRMESH_API Expected< Mesh > MR::MeshLoad::fromOff | ( | const std::filesystem::path & | file, |
const MeshLoadSettings & | settings = {} ) |
loads mesh from file in .OFF format
MRMESH_API Expected< Mesh > MR::MeshLoad::fromOff | ( | std::istream & | in, |
const MeshLoadSettings & | settings = {} ) |
loads mesh from stream in .OFF format
MRMESH_API Expected< Mesh > MR::MeshLoad::fromPly | ( | const std::filesystem::path & | file, |
const MeshLoadSettings & | settings = {} ) |
loads mesh from file in .PLY format;
MRMESH_API Expected< Mesh > MR::MeshLoad::fromPly | ( | std::istream & | in, |
const MeshLoadSettings & | settings = {} ) |
loads mesh from stream in .PLY format; important on Windows: in stream must be open in binary mode