3#include <viam/sdk/common/proto_convert.hpp>
27 std::vector<unsigned char>
data;
32 friend bool operator==(
const mesh&,
const mesh&) =
default;
35namespace proto_convert_details {
39 void operator()(
const mesh&, common::v1::Mesh*)
const;
44 mesh operator()(
const common::v1::Mesh*)
const;
std::optional< std::string > original_file_source_path_diagnostic
Path the mesh was loaded from, relative to the kinematics file. Informational only.
Definition mesh.hpp:30
std::vector< unsigned char > data
Mesh bytes in the format named by content_type.
Definition mesh.hpp:27
std::string content_type
Content type of the mesh, e.g. stl or ply.
Definition mesh.hpp:24
Definition proto_convert.hpp:24
Definition proto_convert.hpp:18