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
bool
operator==(
const
mesh
& lhs,
const
mesh
& rhs);
27
28
namespace
proto_convert_details {
29
30
template
<>
31
struct
to_proto_impl
<
mesh
> {
32
void
operator()(
const
mesh
&, common::v1::Mesh*)
const
;
33
};
34
35
template
<>
36
struct
from_proto_impl
<common::v1::Mesh> {
37
mesh
operator()(
const
common::v1::Mesh*)
const
;
38
};
39
40
}
// namespace proto_convert_details
41
42
}
// namespace sdk
43
}
// 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