#include <mapviz.h>
Public Slots | |
void | AutoSave () |
void | CaptureVideoFrame () |
void | FixedFrameSelected (const QString &text) |
void | Force480p (bool on) |
void | Force720p (bool on) |
void | HandleProfileTimer () |
void | Hover (double x, double y, double scale) |
void | OpenConfig () |
void | Recenter () |
void | RemoveDisplay () |
void | ReorderDisplays () |
void | SaveConfig () |
void | Screenshot () |
void | SelectBackgroundColor (const QColor &color) |
void | SelectNewDisplay () |
void | SetCaptureDirectory () |
void | SetImageTransport (QAction *transport_action) |
void | SetResizable (bool on) |
void | SpinOnce () |
void | StopRecord () |
void | TargetFrameSelected (const QString &text) |
void | ToggleCaptureTools (bool on) |
void | ToggleConfigPanel (bool on) |
void | ToggleEnableAntialiasing (bool on) |
void | ToggleFixOrientation (bool on) |
void | ToggleRecord (bool on) |
void | ToggleRotate90 (bool on) |
void | ToggleShowPlugin (QListWidgetItem *item, bool visible) |
void | ToggleStatusBar (bool on) |
void | ToggleUseLatestTransforms (bool on) |
void | UpdateFrames () |
void | UpdateImageTransportMenu () |
void | UpdateSizeHints () |
Signals | |
void | FrameGrabbed (QImage) |
void | ImageTransportChanged () |
Public Member Functions | |
void | Initialize () |
Mapviz (bool is_standalone, int argc, char **argv, QWidget *parent=0, Qt::WFlags flags=0) | |
~Mapviz () | |
Protected Member Functions | |
bool | AddDisplay (AddMapvizDisplay::Request &req, AddMapvizDisplay::Response &resp) |
void | AdjustWindowSize () |
void | ClearDisplays () |
virtual void | closeEvent (QCloseEvent *event) |
MapvizPluginPtr | CreateNewDisplay (const std::string &name, const std::string &type, bool visible, bool collapsed, int draw_order=0) |
void | Open (const std::string &filename) |
void | Save (const std::string &filename) |
virtual void | showEvent (QShowEvent *event) |
Protected Attributes | |
ros::ServiceServer | add_display_srv_ |
int | argc_ |
char ** | argv_ |
QColor | background_ |
MapCanvas * | canvas_ |
std::string | capture_directory_ |
bool | force_480p_ |
bool | force_720p_ |
QTimer | frame_timer_ |
QMenu * | image_transport_menu_ |
bool | initialized_ |
bool | is_standalone_ |
QLabel * | lat_lon_pos_label_ |
pluginlib::ClassLoader < MapvizPlugin > * | loader_ |
Stopwatch | meas_spin_ |
ros::NodeHandle * | node_ |
std::map< QListWidgetItem *, MapvizPluginPtr > | plugins_ |
QTimer | profile_timer_ |
QPushButton * | rec_button_ |
QPushButton * | recenter_button_ |
QTimer | record_timer_ |
bool | resizable_ |
QTimer | save_timer_ |
QPushButton * | screenshot_button_ |
QWidget * | spacer1_ |
QWidget * | spacer2_ |
QWidget * | spacer3_ |
QTimer | spin_timer_ |
QPushButton * | stop_button_ |
boost::shared_ptr < tf::TransformListener > | tf_ |
swri_transform_util::TransformManager | tf_manager_ |
Ui::mapviz | ui_ |
bool | updating_frames_ |
VideoWriter * | vid_writer_ |
QThread | video_thread_ |
QLabel * | xy_pos_label_ |
Static Protected Attributes | |
static const std::string | IMAGE_TRANSPORT_PARAM = "image_transport" |
static const QString | MAPVIZ_CONFIG_FILE = "/.mapviz_config" |
static const QString | ROS_WORKSPACE_VAR = "ROS_WORKSPACE" |
mapviz::Mapviz::Mapviz | ( | bool | is_standalone, |
int | argc, | ||
char ** | argv, | ||
QWidget * | parent = 0 , |
||
Qt::WFlags | flags = 0 |
||
) |
Definition at line 77 of file mapviz.cpp.
Definition at line 194 of file mapviz.cpp.
bool mapviz::Mapviz::AddDisplay | ( | AddMapvizDisplay::Request & | req, |
AddMapvizDisplay::Response & | resp | ||
) | [protected] |
Definition at line 938 of file mapviz.cpp.
void mapviz::Mapviz::AdjustWindowSize | ( | ) | [protected] |
Definition at line 456 of file mapviz.cpp.
void mapviz::Mapviz::AutoSave | ( | ) | [slot] |
Definition at line 817 of file mapviz.cpp.
void mapviz::Mapviz::CaptureVideoFrame | ( | ) | [slot] |
Definition at line 1346 of file mapviz.cpp.
void mapviz::Mapviz::ClearDisplays | ( | ) | [protected] |
Definition at line 1447 of file mapviz.cpp.
void mapviz::Mapviz::closeEvent | ( | QCloseEvent * | event | ) | [protected, virtual] |
Definition at line 206 of file mapviz.cpp.
MapvizPluginPtr mapviz::Mapviz::CreateNewDisplay | ( | const std::string & | name, |
const std::string & | type, | ||
bool | visible, | ||
bool | collapsed, | ||
int | draw_order = 0 |
||
) | [protected] |
Definition at line 1086 of file mapviz.cpp.
void mapviz::Mapviz::FixedFrameSelected | ( | const QString & | text | ) | [slot] |
Definition at line 1193 of file mapviz.cpp.
void mapviz::Mapviz::Force480p | ( | bool | on | ) | [slot] |
Definition at line 424 of file mapviz.cpp.
void mapviz::Mapviz::Force720p | ( | bool | on | ) | [slot] |
Definition at line 408 of file mapviz.cpp.
void mapviz::Mapviz::FrameGrabbed | ( | QImage | ) | [signal] |
Emitted every time a frame is grabbed when Mapviz is in video recording mode, typically at a rate of 30 FPS. Note that the QImage emitted says its format is ARGB, but its pixel order is actually BGRA.
void mapviz::Mapviz::HandleProfileTimer | ( | ) | [slot] |
Definition at line 1491 of file mapviz.cpp.
void mapviz::Mapviz::Hover | ( | double | x, |
double | y, | ||
double | scale | ||
) | [slot] |
Definition at line 1007 of file mapviz.cpp.
void mapviz::Mapviz::ImageTransportChanged | ( | ) | [signal] |
void mapviz::Mapviz::Initialize | ( | ) |
Definition at line 211 of file mapviz.cpp.
void mapviz::Mapviz::Open | ( | const std::string & | filename | ) | [protected] |
Definition at line 501 of file mapviz.cpp.
void mapviz::Mapviz::OpenConfig | ( | ) | [slot] |
Definition at line 851 of file mapviz.cpp.
void mapviz::Mapviz::Recenter | ( | ) | [slot] |
Definition at line 1365 of file mapviz.cpp.
void mapviz::Mapviz::RemoveDisplay | ( | ) | [slot] |
Definition at line 1432 of file mapviz.cpp.
void mapviz::Mapviz::ReorderDisplays | ( | ) | [slot] |
Definition at line 1462 of file mapviz.cpp.
void mapviz::Mapviz::Save | ( | const std::string & | filename | ) | [protected] |
Definition at line 740 of file mapviz.cpp.
void mapviz::Mapviz::SaveConfig | ( | ) | [slot] |
Definition at line 866 of file mapviz.cpp.
void mapviz::Mapviz::Screenshot | ( | ) | [slot] |
Definition at line 1388 of file mapviz.cpp.
void mapviz::Mapviz::SelectBackgroundColor | ( | const QColor & | color | ) | [slot] |
Definition at line 1472 of file mapviz.cpp.
void mapviz::Mapviz::SelectNewDisplay | ( | ) | [slot] |
Definition at line 899 of file mapviz.cpp.
void mapviz::Mapviz::SetCaptureDirectory | ( | ) | [slot] |
Definition at line 1478 of file mapviz.cpp.
void mapviz::Mapviz::SetImageTransport | ( | QAction * | transport_action | ) | [slot] |
Definition at line 1318 of file mapviz.cpp.
void mapviz::Mapviz::SetResizable | ( | bool | on | ) | [slot] |
Definition at line 440 of file mapviz.cpp.
void mapviz::Mapviz::showEvent | ( | QShowEvent * | event | ) | [protected, virtual] |
Definition at line 201 of file mapviz.cpp.
void mapviz::Mapviz::SpinOnce | ( | ) | [slot] |
Definition at line 316 of file mapviz.cpp.
void mapviz::Mapviz::StopRecord | ( | ) | [slot] |
Definition at line 1370 of file mapviz.cpp.
void mapviz::Mapviz::TargetFrameSelected | ( | const QString & | text | ) | [slot] |
Definition at line 1205 of file mapviz.cpp.
void mapviz::Mapviz::ToggleCaptureTools | ( | bool | on | ) | [slot] |
Definition at line 1259 of file mapviz.cpp.
void mapviz::Mapviz::ToggleConfigPanel | ( | bool | on | ) | [slot] |
Definition at line 1238 of file mapviz.cpp.
void mapviz::Mapviz::ToggleEnableAntialiasing | ( | bool | on | ) | [slot] |
Definition at line 1233 of file mapviz.cpp.
void mapviz::Mapviz::ToggleFixOrientation | ( | bool | on | ) | [slot] |
Definition at line 1223 of file mapviz.cpp.
void mapviz::Mapviz::ToggleRecord | ( | bool | on | ) | [slot] |
Definition at line 1274 of file mapviz.cpp.
void mapviz::Mapviz::ToggleRotate90 | ( | bool | on | ) | [slot] |
Definition at line 1228 of file mapviz.cpp.
void mapviz::Mapviz::ToggleShowPlugin | ( | QListWidgetItem * | item, |
bool | visible | ||
) | [slot] |
Definition at line 1182 of file mapviz.cpp.
void mapviz::Mapviz::ToggleStatusBar | ( | bool | on | ) | [slot] |
Definition at line 1252 of file mapviz.cpp.
void mapviz::Mapviz::ToggleUseLatestTransforms | ( | bool | on | ) | [slot] |
Definition at line 1218 of file mapviz.cpp.
void mapviz::Mapviz::UpdateFrames | ( | ) | [slot] |
Definition at line 330 of file mapviz.cpp.
void mapviz::Mapviz::UpdateImageTransportMenu | ( | ) | [slot] |
Definition at line 1327 of file mapviz.cpp.
void mapviz::Mapviz::UpdateSizeHints | ( | ) | [slot] |
Definition at line 1417 of file mapviz.cpp.
ros::ServiceServer mapviz::Mapviz::add_display_srv_ [protected] |
int mapviz::Mapviz::argc_ [protected] |
char** mapviz::Mapviz::argv_ [protected] |
QColor mapviz::Mapviz::background_ [protected] |
MapCanvas* mapviz::Mapviz::canvas_ [protected] |
std::string mapviz::Mapviz::capture_directory_ [protected] |
bool mapviz::Mapviz::force_480p_ [protected] |
bool mapviz::Mapviz::force_720p_ [protected] |
QTimer mapviz::Mapviz::frame_timer_ [protected] |
QMenu* mapviz::Mapviz::image_transport_menu_ [protected] |
const std::string mapviz::Mapviz::IMAGE_TRANSPORT_PARAM = "image_transport" [static, protected] |
bool mapviz::Mapviz::initialized_ [protected] |
bool mapviz::Mapviz::is_standalone_ [protected] |
QLabel* mapviz::Mapviz::lat_lon_pos_label_ [protected] |
pluginlib::ClassLoader<MapvizPlugin>* mapviz::Mapviz::loader_ [protected] |
const QString mapviz::Mapviz::MAPVIZ_CONFIG_FILE = "/.mapviz_config" [static, protected] |
Stopwatch mapviz::Mapviz::meas_spin_ [protected] |
ros::NodeHandle* mapviz::Mapviz::node_ [protected] |
std::map<QListWidgetItem*, MapvizPluginPtr> mapviz::Mapviz::plugins_ [protected] |
QTimer mapviz::Mapviz::profile_timer_ [protected] |
QPushButton* mapviz::Mapviz::rec_button_ [protected] |
QPushButton* mapviz::Mapviz::recenter_button_ [protected] |
QTimer mapviz::Mapviz::record_timer_ [protected] |
bool mapviz::Mapviz::resizable_ [protected] |
const QString mapviz::Mapviz::ROS_WORKSPACE_VAR = "ROS_WORKSPACE" [static, protected] |
QTimer mapviz::Mapviz::save_timer_ [protected] |
QPushButton* mapviz::Mapviz::screenshot_button_ [protected] |
QWidget* mapviz::Mapviz::spacer1_ [protected] |
QWidget* mapviz::Mapviz::spacer2_ [protected] |
QWidget* mapviz::Mapviz::spacer3_ [protected] |
QTimer mapviz::Mapviz::spin_timer_ [protected] |
QPushButton* mapviz::Mapviz::stop_button_ [protected] |
boost::shared_ptr<tf::TransformListener> mapviz::Mapviz::tf_ [protected] |
Ui::mapviz mapviz::Mapviz::ui_ [protected] |
bool mapviz::Mapviz::updating_frames_ [protected] |
VideoWriter* mapviz::Mapviz::vid_writer_ [protected] |
QThread mapviz::Mapviz::video_thread_ [protected] |
QLabel* mapviz::Mapviz::xy_pos_label_ [protected] |