14#include <lagrange/SurfaceMesh.h>
15#include <lagrange/scene/SimpleScene.h>
16#include <lagrange/types/TransformOptions.h>
20namespace lagrange::scene {
33template <
size_t Dimension = 3,
typename Scalar,
typename Index>
34SimpleScene<Scalar, Index, Dimension> mesh_to_simple_scene(SurfaceMesh<Scalar, Index> mesh);
48template <
size_t Dimension = 3,
typename Scalar,
typename Index>
49SimpleScene<Scalar, Index, Dimension> meshes_to_simple_scene(
50 std::vector<SurfaceMesh<Scalar, Index>> meshes);
67template <
typename Scalar,
typename Index,
size_t Dimension>
68SurfaceMesh<Scalar, Index> simple_scene_to_mesh(
69 const SimpleScene<Scalar, Index, Dimension>& scene,
70 const TransformOptions& transform_options = {},
71 bool preserve_attributes =
true);