17 #ifndef _RENDER_WIDGET_HH_
18 #define _RENDER_WIDGET_HH_
39 class BuildingEditorWidget;
47 public:
void RemoveScene(
const std::string &_name);
48 public:
void CreateScene(
const std::string &_name);
52 public:
void ShowEditor(
bool _show);
57 public:
void DisplayOverlayMsg(
const std::string &_msg,
62 public: std::string GetOverlayMsg()
const;
67 public:
void AddPlugin(
GUIPluginPtr _plugin, sdf::ElementPtr _elem);
71 public: QToolBar *GetToolbar()
const;
75 public:
void ShowToolbar(
const bool _show);
77 private slots:
virtual void update();
81 private slots:
void OnClearOverlayMsg();
83 private:
void OnFullScreen(
bool &_value);
87 private:
void OnFollow(
const std::string &_modelName);
90 private:
void OnAlign();
99 private: QFrame *mainFrame;
102 private: std::vector<event::ConnectionPtr> connections;
105 private: QFrame *bottomFrame;
106 private: QLabel *xyzLabel;
107 private: QLineEdit *xPosEdit;
108 private: QLineEdit *yPosEdit;
109 private: QLineEdit *zPosEdit;
111 private: QLabel *rpyLabel;
112 private: QLineEdit *rollEdit;
113 private: QLineEdit *pitchEdit;
114 private: QLineEdit *yawEdit;
115 private: QLineEdit *fpsEdit;
116 private: QLineEdit *trianglesEdit;
119 private: QToolBar *toolbar;
120 private: QToolBar *mouseToolbar;
121 private: QToolBar *editToolbar;
124 private: QLabel *msgOverlayLabel;
127 private: std::string clearName;
130 private: std::string createName;
131 private: QTimer *timer;
134 private: std::string baseOverlayMsg;
137 private: std::vector<gazebo::GUIPluginPtr> plugins;
void create()
Create SkyX.
boost::shared_ptr< GUIPlugin > GUIPluginPtr
Definition: CommonTypes.hh:77
#define GAZEBO_VISIBLE
Use to represent "symbol visible" if supported.
Definition: system.hh:48
class __declspec(dllimport) BasicController void update(const Ogre::Real &simDeltaTime)
Basic controller class.