17#ifndef _GAZEBO_GUIIFACE_HH_
18#define _GAZEBO_GUIIFACE_HH_
21#include <boost/property_tree/ptree.hpp>
22#include <boost/filesystem.hpp>
26extern GZ_GUI_VISIBLE boost::property_tree::ptree
g_propTree;
42 bool run(
int _argc,
char **_argv);
83 bool loadINI(boost::filesystem::path _file =
"");
119 bool saveINI(
const boost::filesystem::path &_file);
boost::property_tree::ptree g_propTree
gui
Definition KeyEventHandler.hh:29
Definition MainWindow.hh:44
void clear_active_camera()
bool load()
Load the graphical interface.
bool register_metatypes()
Register the Qt metatypes.
bool has_entity_name(const std::string &_name)
void set_active_camera(rendering::UserCameraPtr _cam)
T getINIProperty(const std::string &_key, const T &_default)
Get a property from the GUI INI file.
Definition GuiIface.hh:90
bool loadINI(boost::filesystem::path _file="")
Locate and load the INI configuration file.
unsigned int get_entity_id(const std::string &_name)
MainWindow * get_main_window()
Return a pointer to the main graphical window.
bool run(int _argc, char **_argv)
bool setINIProperty(const std::string &_key, const T &_value)
Set a value in the INI property tree.
Definition GuiIface.hh:109
rendering::UserCameraPtr get_active_camera()
void set_world(const std::string &_name)
bool saveINI(const boost::filesystem::path &_file)
Save the configuration parameters to file.
boost::shared_ptr< UserCamera > UserCameraPtr
Definition RenderTypes.hh:94
Forward declarations for the common classes.
Definition Animation.hh:27