Viam C++ SDK current
Loading...
Searching...
No Matches
mesh.hpp
1#pragma once
2
3#include <viam/sdk/common/proto_convert.hpp>
4
5#include <string>
6#include <vector>
7
8namespace viam {
9namespace common {
10namespace v1 {
11
12class Mesh;
13
14} // namespace v1
15} // namespace common
16} // namespace viam
17
18namespace viam {
19namespace sdk {
20
21struct mesh {
22 std::string content_type;
23 std::vector<unsigned char> data;
24};
25
26namespace proto_convert_details {
27
28template <>
30 void operator()(const mesh&, common::v1::Mesh*) const;
31};
32
33template <>
34struct from_proto_impl<common::v1::Mesh> {
35 mesh operator()(const common::v1::Mesh*) const;
36};
37
38} // namespace proto_convert_details
39
40} // namespace sdk
41} // namespace viam
Definition mesh.hpp:21