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