#include <views_panel.h>
Classes | |
struct | View |
Signals | |
void | configChanged () |
Emitted when something changes which will change the display config file. | |
Public Member Functions | |
VisualizationManager * | getManager () |
void | initialize (VisualizationManager *manager) |
ViewsPanel (QWidget *parent=0) | |
virtual | ~ViewsPanel () |
Protected Types | |
typedef std::vector< View > | V_View |
Protected Slots | |
void | clear () |
void | loadSelected () |
void | onCameraTypeSelected (int index) |
void | onDeleteClicked () |
void | onSaveClicked () |
void | onViewControllerChanged (ViewController *controller) |
void | onViewControllerTypeAdded (const std::string &class_name, const std::string &name) |
void | onZeroClicked () |
void | readFromConfig (const boost::shared_ptr< Config > &config) |
void | writeToConfig (const boost::shared_ptr< Config > &config) |
Protected Member Functions | |
void | addView (const View &view) |
void | save (const std::string &name) |
Protected Attributes | |
QComboBox * | camera_type_selector_ |
VisualizationManager * | manager_ |
V_View | views_ |
QListWidget * | views_list_ |
Panel for choosing the view controller and saving and restoring viewpoints.
Definition at line 54 of file views_panel.h.
typedef std::vector<View> rviz::ViewsPanel::V_View [protected] |
Definition at line 90 of file views_panel.h.
rviz::ViewsPanel::ViewsPanel | ( | QWidget * | parent = 0 | ) |
Definition at line 49 of file views_panel.cpp.
rviz::ViewsPanel::~ViewsPanel | ( | ) | [virtual] |
Definition at line 88 of file views_panel.cpp.
void rviz::ViewsPanel::addView | ( | const View & | view | ) | [protected] |
Definition at line 119 of file views_panel.cpp.
void rviz::ViewsPanel::clear | ( | void | ) | [protected, slot] |
Definition at line 208 of file views_panel.cpp.
void rviz::ViewsPanel::configChanged | ( | ) | [signal] |
Emitted when something changes which will change the display config file.
VisualizationManager* rviz::ViewsPanel::getManager | ( | ) | [inline] |
Definition at line 63 of file views_panel.h.
void rviz::ViewsPanel::initialize | ( | VisualizationManager * | manager | ) |
Definition at line 92 of file views_panel.cpp.
void rviz::ViewsPanel::loadSelected | ( | ) | [protected, slot] |
Definition at line 106 of file views_panel.cpp.
void rviz::ViewsPanel::onCameraTypeSelected | ( | int | index | ) | [protected, slot] |
Definition at line 168 of file views_panel.cpp.
void rviz::ViewsPanel::onDeleteClicked | ( | ) | [protected, slot] |
Definition at line 197 of file views_panel.cpp.
void rviz::ViewsPanel::onSaveClicked | ( | ) | [protected, slot] |
Definition at line 177 of file views_panel.cpp.
void rviz::ViewsPanel::onViewControllerChanged | ( | ViewController * | controller | ) | [protected, slot] |
Definition at line 154 of file views_panel.cpp.
void rviz::ViewsPanel::onViewControllerTypeAdded | ( | const std::string & | class_name, |
const std::string & | name | ||
) | [protected, slot] |
Definition at line 144 of file views_panel.cpp.
void rviz::ViewsPanel::onZeroClicked | ( | ) | [protected, slot] |
Definition at line 189 of file views_panel.cpp.
void rviz::ViewsPanel::readFromConfig | ( | const boost::shared_ptr< Config > & | config | ) | [protected, slot] |
Definition at line 214 of file views_panel.cpp.
void rviz::ViewsPanel::save | ( | const std::string & | name | ) | [protected] |
Definition at line 132 of file views_panel.cpp.
void rviz::ViewsPanel::writeToConfig | ( | const boost::shared_ptr< Config > & | config | ) | [protected, slot] |
Definition at line 260 of file views_panel.cpp.
QComboBox* rviz::ViewsPanel::camera_type_selector_ [protected] |
Definition at line 100 of file views_panel.h.
VisualizationManager* rviz::ViewsPanel::manager_ [protected] |
Definition at line 95 of file views_panel.h.
V_View rviz::ViewsPanel::views_ [protected] |
Definition at line 97 of file views_panel.h.
QListWidget* rviz::ViewsPanel::views_list_ [protected] |
Definition at line 99 of file views_panel.h.