MyGraph.h
Go to the documentation of this file.
1
#pragma once
2
3
#include <SemanticObjectRelations/RelationGraph.h>
4
5
6
namespace
mygraph
7
{
8
struct
MyVertex
:
public
semrel::ShapeVertex
9
{
10
std::string
name
;
11
float
value
= 0;
12
};
13
14
struct
MyEdge
15
{
16
int
value
= 1;
17
};
18
19
struct
MyGraphAttributes
20
{
21
Eigen::Vector3f
position
= Eigen::Vector3f::Zero();
22
Eigen::Quaternionf
orientation
=
Eigen::Quaternionf::Identity
();
23
};
24
25
using
MyGraph
=
semrel::RelationGraph<MyVertex, MyEdge, MyGraphAttributes>
;
26
27
}
mygraph::MyVertex::name
std::string name
Definition:
MyGraph.h:10
mygraph::MyGraphAttributes::position
Eigen::Vector3f position
Definition:
MyGraph.h:21
mygraph::MyVertex
Definition:
MyGraph.h:8
semrel::RelationGraph
Definition:
forward_declarations.h:28
mygraph::MyGraphAttributes::orientation
Eigen::Quaternionf orientation
Definition:
MyGraph.h:22
mygraph::MyGraphAttributes
Definition:
MyGraph.h:19
mygraph::MyVertex::value
float value
Definition:
MyGraph.h:11
mygraph
Definition:
json.h:8
GfxTL::Identity
void Identity(MatrixXX< N, N, T > *a)
Definition:
MatrixXX.h:523
mygraph::MyEdge
Definition:
MyGraph.h:14
mygraph::MyEdge::value
int value
Definition:
MyGraph.h:16
armarx::Quaternion< float, 0 >
VisionX
components
SemanticGraphExample
MyGraph.h
Generated on Sat Oct 12 2024 09:14:17 for armarx_documentation by
1.8.17