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