#define MRMESH_API
Definition MRMesh/MRMeshFwd.h:68
MRMESH_API Expected< Mesh > fromMrmesh(const std::filesystem::path &file, const MeshLoadSettings &settings={})
loads mesh from file in internal MeshLib format
MRMESH_API Expected< Mesh > fromObj(const std::filesystem::path &file, const MeshLoadSettings &settings={})
loads mesh from file in .OBJ format
MRMESH_API Expected< Mesh > fromDxf(const std::filesystem::path &path, const MeshLoadSettings &settings={})
loads mesh from file in .DXF format;
MRMESH_API Expected< Mesh > 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 > fromPly(const std::filesystem::path &file, const MeshLoadSettings &settings={})
loads mesh from file in .PLY format;
MRMESH_API Expected< Mesh > fromBinaryStl(const std::filesystem::path &file, const MeshLoadSettings &settings={})
loads mesh from file in binary .STL format
MRMESH_API Expected< Mesh > fromOff(const std::filesystem::path &file, const MeshLoadSettings &settings={})
loads mesh from file in .OFF format
MRMESH_API Expected< Mesh > fromAnySupportedFormat(const std::filesystem::path &file, const MeshLoadSettings &settings={})
loads mesh from file in the format detected from file extension
MRMESH_API Expected< Mesh > fromASCIIStl(const std::filesystem::path &file, const MeshLoadSettings &settings={})
loads mesh from file in textual .STL format
MRMESH_API Expected< Mesh > loadPly(const std::filesystem::path &file, const MeshLoadSettings &settings={})
loads mesh from file in .PLY format;
MRMESH_API Expected< Mesh > loadDxf(const std::filesystem::path &path, const MeshLoadSettings &settings={})
loads mesh from file in .DXF format;
MRMESH_API Expected< Mesh > loadMesh(const std::filesystem::path &file, const MeshLoadSettings &settings={})
loads mesh from file in the format detected from file extension
MRMESH_API Expected< Mesh > loadMrmesh(const std::filesystem::path &file, const MeshLoadSettings &settings={})
loads mesh from file in internal MeshLib format
MRMESH_API Expected< Mesh > loadBinaryStl(const std::filesystem::path &file, const MeshLoadSettings &settings={})
loads mesh from file in binary .STL format
tl::expected< T, E > Expected
Definition MRExpected.h:58
MRMESH_API Expected< Mesh > loadOff(const std::filesystem::path &file, const MeshLoadSettings &settings={})
loads mesh from file in .OFF format
MRMESH_API Expected< Mesh > loadStl(const std::filesystem::path &file, const MeshLoadSettings &settings={})
loads mesh from file in any .STL format: both binary and ASCII
MRMESH_API Expected< Mesh > loadASCIIStl(const std::filesystem::path &file, const MeshLoadSettings &settings={})
loads mesh from file in textual .STL format
MRMESH_API Expected< Mesh > loadObj(const std::filesystem::path &file, const MeshLoadSettings &settings={})
loads mesh from file in .OBJ format
setting for mesh loading from external format, and locations of optional output data
Definition MRMeshLoadSettings.h:10