Functions | |
MRMESH_API Expected< Mesh > | MR::MeshLoad::fromMrmesh (const std::filesystem::path &file, const MeshLoadSettings &settings={}) |
loads from internal file 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 from .off file | |
MRMESH_API Expected< Mesh > | MR::MeshLoad::fromOff (std::istream &in, const MeshLoadSettings &settings={}) |
MRMESH_API Expected< Mesh > | MR::MeshLoad::fromObj (const std::filesystem::path &file, const MeshLoadSettings &settings={}) |
loads from .obj file | |
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 from any .stl | |
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 from binary .stl | |
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 from ASCII .stl | |
MRMESH_API Expected< Mesh > | MR::MeshLoad::fromASCIIStl (std::istream &in, const MeshLoadSettings &settings={}) |
MRMESH_API Expected< Mesh > | MR::MeshLoad::fromPly (const std::filesystem::path &file, const MeshLoadSettings &settings={}) |
loads from .ply file | |
MRMESH_API Expected< Mesh > | MR::MeshLoad::fromPly (std::istream &in, const MeshLoadSettings &settings={}) |
MRMESH_API Expected< Mesh > | MR::MeshLoad::fromCtm (const std::filesystem::path &file, const MeshLoadSettings &settings={}) |
loads from .ctm file | |
MRMESH_API Expected< Mesh > | MR::MeshLoad::fromCtm (std::istream &in, const MeshLoadSettings &settings={}) |
MRMESH_API Expected< Mesh > | MR::MeshLoad::fromDxf (const std::filesystem::path &path, const MeshLoadSettings &settings={}) |
MRMESH_API Expected< Mesh > | MR::MeshLoad::fromDxf (std::istream &in, const MeshLoadSettings &settings={}) |
MRMESH_API Expected< Mesh > | MR::MeshLoad::fromAnySupportedFormat (const std::filesystem::path &file, const MeshLoadSettings &settings={}) |
detects the format from file extension and loads mesh from it | |
MRMESH_API Expected< Mesh > | MR::MeshLoad::fromAnySupportedFormat (std::istream &in, const std::string &extension, const MeshLoadSettings &settings={}) |
extension in *.ext format | |
MRMESH_API Expected< Mesh > MR::MeshLoad::fromAnyStl | ( | const std::filesystem::path & | file, |
const MeshLoadSettings & | settings = {} ) |
loads from any .stl
MRMESH_API Expected< Mesh > MR::MeshLoad::fromAnyStl | ( | std::istream & | in, |
const MeshLoadSettings & | settings = {} ) |
MRMESH_API Expected< Mesh > MR::MeshLoad::fromAnySupportedFormat | ( | const std::filesystem::path & | file, |
const MeshLoadSettings & | settings = {} ) |
detects the format from file extension and loads mesh from it
MRMESH_API Expected< Mesh > MR::MeshLoad::fromAnySupportedFormat | ( | std::istream & | in, |
const std::string & | extension, | ||
const MeshLoadSettings & | settings = {} ) |
extension in *.ext
format
MRMESH_API Expected< Mesh > MR::MeshLoad::fromASCIIStl | ( | const std::filesystem::path & | file, |
const MeshLoadSettings & | settings = {} ) |
loads from ASCII .stl
MRMESH_API Expected< Mesh > MR::MeshLoad::fromASCIIStl | ( | std::istream & | in, |
const MeshLoadSettings & | settings = {} ) |
MRMESH_API Expected< Mesh > MR::MeshLoad::fromBinaryStl | ( | const std::filesystem::path & | file, |
const MeshLoadSettings & | settings = {} ) |
loads from binary .stl
MRMESH_API Expected< Mesh > MR::MeshLoad::fromBinaryStl | ( | std::istream & | in, |
const MeshLoadSettings & | settings = {} ) |
MRMESH_API Expected< Mesh > MR::MeshLoad::fromCtm | ( | const std::filesystem::path & | file, |
const MeshLoadSettings & | settings = {} ) |
loads from .ctm file
MRMESH_API Expected< Mesh > MR::MeshLoad::fromCtm | ( | std::istream & | in, |
const MeshLoadSettings & | settings = {} ) |
MRMESH_API Expected< Mesh > MR::MeshLoad::fromDxf | ( | const std::filesystem::path & | path, |
const MeshLoadSettings & | settings = {} ) |
MRMESH_API Expected< Mesh > MR::MeshLoad::fromDxf | ( | std::istream & | in, |
const MeshLoadSettings & | settings = {} ) |
MRMESH_API Expected< Mesh > MR::MeshLoad::fromMrmesh | ( | const std::filesystem::path & | file, |
const MeshLoadSettings & | settings = {} ) |
loads from internal file format
MRMESH_API Expected< Mesh > MR::MeshLoad::fromMrmesh | ( | std::istream & | in, |
const MeshLoadSettings & | settings = {} ) |
MRMESH_API Expected< Mesh > MR::MeshLoad::fromObj | ( | const std::filesystem::path & | file, |
const MeshLoadSettings & | settings = {} ) |
loads from .obj file
MRMESH_API Expected< Mesh > MR::MeshLoad::fromObj | ( | std::istream & | in, |
const MeshLoadSettings & | settings = {} ) |
loads from .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 from .off file
MRMESH_API Expected< Mesh > MR::MeshLoad::fromOff | ( | std::istream & | in, |
const MeshLoadSettings & | settings = {} ) |
MRMESH_API Expected< Mesh > MR::MeshLoad::fromPly | ( | const std::filesystem::path & | file, |
const MeshLoadSettings & | settings = {} ) |
loads from .ply file
MRMESH_API Expected< Mesh > MR::MeshLoad::fromPly | ( | std::istream & | in, |
const MeshLoadSettings & | settings = {} ) |