opynsim
Unofficial C++ Documentation
Loading...
Searching...
No Matches
libopynsim
documents
landmarks
landmark.h
Go to the documentation of this file.
1
#pragma once
2
3
#include <
liboscar/maths/vector.h
>
4
5
#include <optional>
6
#include <string>
7
8
namespace
opyn
9
{
10
struct
Landmark
final {
11
// If available, the name of this landmark.
12
std::optional<std::string>
maybeName
;
13
14
// The position of the landmark in its caller-specified coordinate system.
15
osc::Vector3
position
;
16
17
friend
bool
operator==
(
const
Landmark
&,
const
Landmark
&) =
default
;
18
};
19
}
osc::Vector< float, 3 >
opyn
Definition
component_registry.h:14
opyn::Landmark
Definition
landmark.h:10
opyn::Landmark::position
osc::Vector3 position
Definition
landmark.h:15
opyn::Landmark::operator==
friend bool operator==(const Landmark &, const Landmark &)=default
opyn::Landmark::maybeName
std::optional< std::string > maybeName
Definition
landmark.h:12
vector.h
Generated by
1.9.8