Go to the documentation of this file.
30 #ifndef MAPVIZ_MAPVIZ_H_
31 #define MAPVIZ_MAPVIZ_H_
38 #include <boost/shared_ptr.hpp>
41 #include <QtGui/QtGui>
47 #include <QCloseEvent>
48 #include <QListWidgetItem>
49 #include <QModelIndex>
52 #include <QStringList>
53 #include <QMainWindow>
59 #include <yaml-cpp/yaml.h>
60 #include <std_srvs/Empty.h>
63 #include "ui_mapviz.h"
64 #include "ui_pluginselect.h"
67 #include <mapviz/AddMapvizDisplay.h>
81 Mapviz(
bool is_standalone,
int argc,
char** argv, QWidget *parent = 0, Qt::WindowFlags flags = 0);
119 void Hover(
double x,
double y,
double scale);
181 std::map<QListWidgetItem*, MapvizPluginPtr>
plugins_;
185 void Open(
const std::string& filename);
186 void Save(
const std::string& filename);
189 const std::string& name,
190 const std::string& type,
196 AddMapvizDisplay::Request& req,
197 AddMapvizDisplay::Response& resp);
202 virtual void showEvent(QShowEvent* event);
211 #endif // MAPVIZ_MAPVIZ_H_
void TargetFrameSelected(const QString &text)
QPushButton * rec_button_
QLabel * lat_lon_pos_label_
void ToggleCaptureTools(bool on)
bool AddDisplay(AddMapvizDisplay::Request &req, AddMapvizDisplay::Response &resp)
std::map< QListWidgetItem *, MapvizPluginPtr > plugins_
std::string capture_directory_
void SetCaptureDirectory()
static const QString MAPVIZ_CONFIG_FILE
QMenu * image_transport_menu_
void UpdateImageTransportMenu()
Mapviz(bool is_standalone, int argc, char **argv, QWidget *parent=0, Qt::WindowFlags flags=0)
swri_transform_util::TransformManagerPtr tf_manager_
void ToggleStatusBar(bool on)
void ToggleShowPlugin(QListWidgetItem *item, bool visible)
void SetImageTransport(QAction *transport_action)
void ToggleRotate90(bool on)
virtual void closeEvent(QCloseEvent *event)
void FixedFrameSelected(const QString &text)
void ToggleEnableAntialiasing(bool on)
void ImageTransportChanged()
void Hover(double x, double y, double scale)
void ToggleConfigPanel(bool on)
virtual void showEvent(QShowEvent *event)
QPushButton * screenshot_button_
void FrameGrabbed(QImage)
pluginlib::ClassLoader< MapvizPlugin > * loader_
void HandleProfileTimer()
static const QString ROS_WORKSPACE_VAR
std::string save_location_
void ToggleFixOrientation(bool on)
void Save(const std::string &filename)
VideoWriter * vid_writer_
void ToggleRecord(bool on)
QPushButton * stop_button_
MapvizPluginPtr CreateNewDisplay(const std::string &name, const std::string &type, bool visible, bool collapsed, int draw_order=0)
ros::ServiceServer add_display_srv_
void SelectBackgroundColor(const QColor &color)
void Open(const std::string &filename)
boost::shared_ptr< tf::TransformListener > tf_
void SetResizable(bool on)
static const std::string IMAGE_TRANSPORT_PARAM
QPushButton * recenter_button_
mapviz
Author(s): Marc Alban
autogenerated on Sun Sep 8 2024 02:27:09