MyGraph.h
Go to the documentation of this file.
1
#pragma once
2
3
#include <SemanticObjectRelations/RelationGraph.h>
4
5
namespace
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
18
struct
MyGraphAttributes
19
{
20
Eigen::Vector3f
position
= Eigen::Vector3f::Zero();
21
Eigen::Quaternionf
orientation
=
Eigen::Quaternionf::Identity
();
22
};
23
24
using
MyGraph
=
semrel::RelationGraph<MyVertex, MyEdge, MyGraphAttributes>
;
25
26
}
// namespace mygraph
mygraph::MyVertex::name
std::string name
Definition:
MyGraph.h:9
mygraph::MyGraphAttributes::position
Eigen::Vector3f position
Definition:
MyGraph.h:20
mygraph::MyVertex
Definition:
MyGraph.h:7
semrel::RelationGraph
Definition:
forward_declarations.h:27
mygraph::MyGraphAttributes::orientation
Eigen::Quaternionf orientation
Definition:
MyGraph.h:21
mygraph::MyGraphAttributes
Definition:
MyGraph.h:18
mygraph::MyVertex::value
float value
Definition:
MyGraph.h:10
mygraph
Definition:
json.h:6
GfxTL::Identity
void Identity(MatrixXX< N, N, T > *a)
Definition:
MatrixXX.h:570
mygraph::MyEdge
Definition:
MyGraph.h:13
mygraph::MyEdge::value
int value
Definition:
MyGraph.h:15
armarx::Quaternion< float, 0 >
VisionX
components
SemanticGraphExample
MyGraph.h
Generated by
1.8.17