14#include <lagrange/SurfaceMesh.h>
15#include <lagrange/fs/filesystem.h>
16#include <lagrange/io/types.h>
32template <
typename Scalar,
typename Index>
34 std::ostream& output_stream,
36 const SaveOptions& options = {});
48template <
typename Scalar,
typename Index>
50 const fs::path& filename,
52 const SaveOptions& options = {});
A general purpose polygonal mesh class.
Definition: SurfaceMesh.h:66
Mesh input/output.
Definition: detect_file_format.h:18
void save_mesh_gltf(std::ostream &output_stream, const SurfaceMesh< Scalar, Index > &mesh, const SaveOptions &options={})
Saves a mesh to an output stream in glTF or GLB format.
Definition: save_gltf.cpp:547