66 SaveSettings settings_;
67 std::ostream::pos_type numTrisPos_ = 0;
68 std::uint32_t headNumTris_ = 0;
69 std::uint32_t savedNumTris_ = 0;
#define MRMESH_API
Definition MRMeshFwd.h:80
unsafe bool writeTri(in MR.Std.Array_MRVector3f_3 tri)
unsafe bool updateHeadCounter()
unsafe BinaryStlSaver(MR.MeshSave._ByValue_BinaryStlSaver _other)
Definition MRMesh/MRMesh.h:23
Definition MRSaveSettings.h:17
MRMESH_API Expected< void > to3mf(const Mesh &mesh, const std::filesystem::path &file, const SaveSettings &settings={})
saves in .3mf file
MRMESH_API Expected< void > toAsciiStl(const Mesh &mesh, const std::filesystem::path &file, const SaveSettings &settings={})
MRMESH_API Expected< void > toModel3mf(const Mesh &mesh, const std::filesystem::path &file, const SaveSettings &settings={})
saves in 3mf .model file
MRMESH_API Expected< void > toOff(const Mesh &mesh, const std::filesystem::path &file, const SaveSettings &settings={})
saves in .off file
MRMESH_API Expected< void > toBinaryStl(const Mesh &mesh, const std::filesystem::path &file, const SaveSettings &settings={})
MRMESH_API Expected< void > toMrmesh(const Mesh &mesh, const std::filesystem::path &file, const SaveSettings &settings={})
MRMESH_API Expected< void > 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 Expected< void > toPly(const Mesh &mesh, const std::filesystem::path &file, const SaveSettings &settings={})
saves in .ply file
MRMESH_API Expected< void > toObj(const Mesh &mesh, const std::filesystem::path &file, const SaveSettings &settings, int firstVertId)
Definition MRCameraOrientationPlugin.h:8