Classes | |
struct | MR::MeshSave::CtmSaveOptions |
Functions | |
MRMESH_API VoidOrErrStr | MR::MeshSave::toMrmesh (const Mesh &mesh, const std::filesystem::path &file, const SaveSettings &settings={}) |
MRMESH_API VoidOrErrStr | MR::MeshSave::toMrmesh (const Mesh &mesh, std::ostream &out, const SaveSettings &settings={}) |
MRMESH_API VoidOrErrStr | MR::MeshSave::toOff (const Mesh &mesh, const std::filesystem::path &file, const SaveSettings &settings={}) |
saves in .off file | |
MRMESH_API VoidOrErrStr | MR::MeshSave::toOff (const Mesh &mesh, std::ostream &out, const SaveSettings &settings={}) |
MRMESH_API VoidOrErrStr | MR::MeshSave::toObj (const Mesh &mesh, const std::filesystem::path &file, const SaveSettings &settings={}, int firstVertId=1) |
MRMESH_API VoidOrErrStr | MR::MeshSave::toObj (const Mesh &mesh, std::ostream &out, const SaveSettings &settings={}, int firstVertId=1) |
MRMESH_API VoidOrErrStr | MR::MeshSave::toBinaryStl (const Mesh &mesh, const std::filesystem::path &file, const SaveSettings &settings={}) |
MRMESH_API VoidOrErrStr | MR::MeshSave::toBinaryStl (const Mesh &mesh, std::ostream &out, const SaveSettings &settings={}) |
MRMESH_API VoidOrErrStr | MR::MeshSave::toAsciiStl (const Mesh &mesh, const std::filesystem::path &file, const SaveSettings &settings={}) |
MRMESH_API VoidOrErrStr | MR::MeshSave::toAsciiStl (const Mesh &mesh, std::ostream &out, const SaveSettings &settings={}) |
MRMESH_API VoidOrErrStr | MR::MeshSave::toPly (const Mesh &mesh, const std::filesystem::path &file, const SaveSettings &settings={}) |
saves in .ply file | |
MRMESH_API VoidOrErrStr | MR::MeshSave::toPly (const Mesh &mesh, std::ostream &out, const SaveSettings &settings={}) |
MRMESH_API VoidOrErrStr | MR::MeshSave::toCtm (const Mesh &mesh, const std::filesystem::path &file, const CtmSaveOptions options={}) |
saves in .ctm file | |
MRMESH_API VoidOrErrStr | MR::MeshSave::toCtm (const Mesh &mesh, std::ostream &out, const CtmSaveOptions options={}) |
MRMESH_API VoidOrErrStr | MR::MeshSave::toAnySupportedFormat (const Mesh &mesh, const std::filesystem::path &file, const SaveSettings &settings={}) |
detects the format from file extension and save mesh to it | |
MRMESH_API VoidOrErrStr | MR::MeshSave::toAnySupportedFormat (const Mesh &mesh, std::ostream &out, const std::string &extension, const SaveSettings &settings={}) |
extension in *.ext format | |
Variables | |
MRMESH_API const IOFilters | MR::MeshSave::Filters |
MRMESH_API VoidOrErrStr MR::MeshSave::toAnySupportedFormat | ( | const Mesh & | mesh, |
const std::filesystem::path & | file, | ||
const SaveSettings & | settings = {} ) |
detects the format from file extension and save mesh to it
MRMESH_API VoidOrErrStr MR::MeshSave::toAnySupportedFormat | ( | const Mesh & | mesh, |
std::ostream & | out, | ||
const std::string & | extension, | ||
const SaveSettings & | settings = {} ) |
extension in *.ext
format
MRMESH_API VoidOrErrStr MR::MeshSave::toAsciiStl | ( | const Mesh & | mesh, |
const std::filesystem::path & | file, | ||
const SaveSettings & | settings = {} ) |
saves in textual .stl file; SaveSettings::saveValidOnly = false is ignored
MRMESH_API VoidOrErrStr MR::MeshSave::toAsciiStl | ( | const Mesh & | mesh, |
std::ostream & | out, | ||
const SaveSettings & | settings = {} ) |
MRMESH_API VoidOrErrStr MR::MeshSave::toBinaryStl | ( | const Mesh & | mesh, |
const std::filesystem::path & | file, | ||
const SaveSettings & | settings = {} ) |
saves in binary .stl file; SaveSettings::saveValidOnly = false is ignored
MRMESH_API VoidOrErrStr MR::MeshSave::toBinaryStl | ( | const Mesh & | mesh, |
std::ostream & | out, | ||
const SaveSettings & | settings = {} ) |
MRMESH_API VoidOrErrStr MR::MeshSave::toCtm | ( | const Mesh & | mesh, |
const std::filesystem::path & | file, | ||
const CtmSaveOptions | options = {} ) |
saves in .ctm file
MRMESH_API VoidOrErrStr MR::MeshSave::toCtm | ( | const Mesh & | mesh, |
std::ostream & | out, | ||
const CtmSaveOptions | options = {} ) |
MRMESH_API VoidOrErrStr MR::MeshSave::toMrmesh | ( | const Mesh & | mesh, |
const std::filesystem::path & | file, | ||
const SaveSettings & | settings = {} ) |
saves in internal file format; SaveSettings::saveValidOnly = true is ignored
MRMESH_API VoidOrErrStr MR::MeshSave::toMrmesh | ( | const Mesh & | mesh, |
std::ostream & | out, | ||
const SaveSettings & | settings = {} ) |
MRMESH_API VoidOrErrStr MR::MeshSave::toObj | ( | const Mesh & | mesh, |
const std::filesystem::path & | file, | ||
const SaveSettings & | settings = {}, | ||
int | firstVertId = 1 ) |
saves in .obj file
firstVertId | is the index of first mesh vertex in the output file (if this object is not the first there) |
MRMESH_API VoidOrErrStr MR::MeshSave::toObj | ( | const Mesh & | mesh, |
std::ostream & | out, | ||
const SaveSettings & | settings = {}, | ||
int | firstVertId = 1 ) |
MRMESH_API VoidOrErrStr MR::MeshSave::toOff | ( | const Mesh & | mesh, |
const std::filesystem::path & | file, | ||
const SaveSettings & | settings = {} ) |
saves in .off file
MRMESH_API VoidOrErrStr MR::MeshSave::toOff | ( | const Mesh & | mesh, |
std::ostream & | out, | ||
const SaveSettings & | settings = {} ) |
MRMESH_API VoidOrErrStr MR::MeshSave::toPly | ( | const Mesh & | mesh, |
const std::filesystem::path & | file, | ||
const SaveSettings & | settings = {} ) |
saves in .ply file
MRMESH_API VoidOrErrStr MR::MeshSave::toPly | ( | const Mesh & | mesh, |
std::ostream & | out, | ||
const SaveSettings & | settings = {} ) |
|
extern |