MyGraph.h
Go to the documentation of this file.
1#pragma once
2
3#include <SemanticObjectRelations/RelationGraph.h>
4
5namespace mygraph
6{
7 struct MyVertex : public semrel::ShapeVertex
8 {
9 std::string name;
10 float value = 0;
11 };
12
13 struct MyEdge
14 {
15 int value = 1;
16 };
17
19 {
20 Eigen::Vector3f position = Eigen::Vector3f::Zero();
21 Eigen::Quaternionf orientation = Eigen::Quaternionf::Identity();
22 };
23
25
26} // namespace mygraph
Quaternion< float, 0 > Quaternionf
Definition json.h:7
semrel::RelationGraph< MyVertex, MyEdge, MyGraphAttributes > MyGraph
Definition MyGraph.h:24
Eigen::Quaternionf orientation
Definition MyGraph.h:21
Eigen::Vector3f position
Definition MyGraph.h:20
std::string name
Definition MyGraph.h:9