18 #ifndef _GAZEBO_GRAPH_SCENE_HH_ 19 #define _GAZEBO_GRAPH_SCENE_HH_ 26 #include "gazebo/gui/qgv/QGVScene.h" 48 public: QGVNode *AddNode(
const std::string &_name);
52 public:
void RemoveNode(
const std::string &_name);
57 public:
bool HasNode(
const std::string &_name);
62 public: QGVNode *GetNode(
const std::string &_name);
69 public: QGVEdge *AddEdge(
const std::string &_id,
70 const std::string &_node1,
const std::string &_node2);
74 public:
void RemoveEdge(
const std::string &_id);
79 public:
void SetEdgeColor(
const std::string &_id,
85 private:
void drawBackground(QPainter *_painter,
const QRectF &_rect);
Forward declarations for the common classes.
Definition: Animation.hh:33
A scene of 2D graph nodes and edges.
Definition: GraphScene.hh:34
Defines a color.
Definition: Color.hh:36