2#include "TransformHelper.hpp"
4#include <Threedim/TinyObj.hpp>
5#include <halp/controls.hpp>
6#include <halp/file_port.hpp>
7#include <halp/geometry.hpp>
8#include <halp/meta.hpp>
9#include <ossia/detail/mutex.hpp>
27 halp_meta(name,
"Geometry Loader")
28 halp_meta(category,
"Visuals/Meshes")
29 halp_meta(c_name,
"geometry_loader")
32 "Jean-Michaël Celerier, TinyOBJ authors, miniPLY authors, vcglib authors, Eigen authors")
33 halp_meta(manual_url,
"https://ossia.io/score-docs/processes/meshes.html#geometry-loader")
34 halp_meta(uuid,
"5df71765-505f-4ab7-98c1-f305d10a01ef")
38 struct geom_t : halp::file_port<"3D file">
40 halp_meta(extensions,
"3D files (*.obj *.ply *.stl *.off)");
41 static std::function<void(
GeometryLoader&)> process(file_type data);
52 halp_meta(name,
"Geometry");
53 std::vector<halp::dynamic_geometry>
mesh;
57 void rebuild_geometry();
60 std::vector<mesh> meshinfo{};
64 CachedTRS m_cachedTRS{};
Definition GeometryLoader.hpp:25
Definition GeometryLoader.hpp:39
Definition GeometryLoader.hpp:37
Definition TinyObj.hpp:98
Definition TinyObj.hpp:103
Definition TinyObj.hpp:107
Definition TinyObj.hpp:27