#define MRMESH_API
Definition MRMesh/MRMeshFwd.h:46
MRMESH_API Expected< Mesh > fromMrmesh(const std::filesystem::path &file, const MeshLoadSettings &settings={})
loads from internal file format
MRMESH_API Expected< Mesh > fromObj(const std::filesystem::path &file, const MeshLoadSettings &settings={})
loads from .obj file
MRMESH_API Expected< Mesh > fromDxf(const std::filesystem::path &path, const MeshLoadSettings &settings={})
MRMESH_API Expected< Mesh > fromAnyStl(const std::filesystem::path &file, const MeshLoadSettings &settings={})
loads from any .stl
MRMESH_API Expected< Mesh > fromPly(const std::filesystem::path &file, const MeshLoadSettings &settings={})
loads from .ply file
MRMESH_API Expected< Mesh > fromBinaryStl(const std::filesystem::path &file, const MeshLoadSettings &settings={})
loads from binary .stl
MRMESH_API Expected< Mesh > fromOff(const std::filesystem::path &file, const MeshLoadSettings &settings={})
loads from .off file
MRMESH_API Expected< Mesh > fromAnySupportedFormat(const std::filesystem::path &file, const MeshLoadSettings &settings={})
detects the format from file extension and loads mesh from it
MRMESH_API Expected< Mesh > fromASCIIStl(const std::filesystem::path &file, const MeshLoadSettings &settings={})
loads from ASCII .stl
Definition MRCameraOrientationPlugin.h:8
tl::expected< T, E > Expected
Definition MRExpected.h:58
setting for mesh loading from external format, and locations of optional output data
Definition MRMeshLoadSettings.h:10