Go to the documentation of this file.
29 #include <SemanticObjectRelations/RelationGraph/RelationGraph.h>
32 class QGraphicsEllipseItem;
33 class QGraphicsLineItem;
34 class QTableWidgetItem;
80 using RelationGraph::RelationGraph;
std::optional< Vertex > getVertexFromTableItem(QTableWidgetItem *item)
QTableWidgetItem * tableWidgetItem
The item in the table tableWidgetVertices.
The EdgeData struct holds data required for the edge.
navigation::core::Graph fromGuiGraph(const GuiGraph &gui)
float getYawAngleDegree(const core::Pose &pose)
QTableWidgetItem * tableWidgetItem
The item in the table tableWidgetEdges.
The NodeData struct holds data required for the node.
bool changed
Whether the vertex was changed since loading or committing.
auto toGuiGraph(const core::Graph &nav) -> GuiGraph
bool edgesChanged
Whether the graph structure was changed since loading or committing.
QGraphicsLineItem * graphicsItem
The line in the scene.
std::map< QTableWidgetItem *, Edge > getTableItemToEdgeMap()
bool highlighted
Whether the edge is highlighted.
std::map< QTableWidgetItem *, Vertex > getTableItemToVertexMap()
bool highlighted
Whether the node is highlighted.