18 #ifndef _GAZEBO_SCHEMATIC_VIEW_WIDGET_HH_
19 #define _GAZEBO_SCHEMATIC_VIEW_WIDGET_HH_
55 public:
void AddNode(
const std::string &_node);
59 public:
void RemoveNode(
const std::string &_node);
64 public:
bool HasNode(
const std::string &_name)
const;
71 public:
void AddEdge(
const std::string &_id,
const std::string &_name,
72 const std::string &_parent,
const std::string &_child);
76 public:
void RemoveEdge(
const std::string &_id);
80 public:
unsigned int GetNodeCount()
const;
84 public:
unsigned int GetEdgeCount()
const;
87 public:
void FitInView();
92 private: std::string GetLeafName(
const std::string &_scopedName);
96 private:
void resizeEvent(QResizeEvent *_event);
105 private:
int minimumWidth;
108 private:
int minimumHeight;
111 private: std::map<std::string, std::pair<std::string, std::string>>
115 private: std::vector<event::ConnectionPtr> connections;
A scene of 2D graph nodes and edges.
Definition: GraphScene.hh:32
A view for the graph scene.
Definition: GraphView.hh:29
#define GZ_GUI_MODEL_VISIBLE
Definition: system.hh:418
GAZEBO_VISIBLE void Init(google::protobuf::Message &_message, const std::string &_id="")
Initialize a message.