Panel for choosing the view controller and saving and restoring viewpoints. More...
#include <views_panel.h>
Public Member Functions | |
ViewManager * | getViewManager () const |
Returns the current ViewManager. More... | |
virtual void | load (const Config &config) |
Load configuration data, specifically the PropertyTreeWidget view settings. More... | |
virtual void | onInitialize () |
Overridden from Panel. Just calls setViewManager() with vis_manager_->getViewManager(). More... | |
virtual void | save (Config config) const |
Save configuration data, specifically the PropertyTreeWidget view settings. More... | |
void | setViewManager (ViewManager *view_man) |
Set the ViewManager which this panel should display and edit. More... | |
ViewsPanel (QWidget *parent=0) | |
virtual | ~ViewsPanel () |
Public Member Functions inherited from rviz::Panel | |
virtual QString | getClassId () const |
Return the class identifier which was used to create this instance. This version just returns whatever was set with setClassId(). More... | |
virtual QString | getDescription () const |
Return a description of this Panel. More... | |
virtual QString | getName () const |
void | initialize (VisualizationManager *manager) |
Panel (QWidget *parent=0) | |
virtual void | setClassId (const QString &class_id) |
Set the class identifier used to create this instance. Typically this will be set by the factory object which created it. More... | |
virtual void | setDescription (const QString &description) |
Set a description of this Panel. Called by the factory which creates it. More... | |
virtual void | setName (const QString &name) |
virtual | ~Panel () |
Private Slots | |
void | onCurrentChanged () |
void | onDeleteClicked () |
void | onTypeSelectorChanged (int selected_index) |
void | onZeroClicked () |
void | renameSelected () |
void | setCurrentViewFromIndex (const QModelIndex &index) |
Private Attributes | |
QComboBox * | camera_type_selector_ |
PropertyTreeWidget * | properties_view_ |
QPushButton * | save_button_ |
ViewManager * | view_man_ |
Additional Inherited Members | |
Signals inherited from rviz::Panel | |
void | configChanged () |
Subclasses must emit this whenever a configuration change happens. More... | |
Protected Attributes inherited from rviz::Panel | |
VisualizationManager * | vis_manager_ |
Panel for choosing the view controller and saving and restoring viewpoints.
Definition at line 49 of file views_panel.h.
rviz::ViewsPanel::ViewsPanel | ( | QWidget * | parent = 0 | ) |
Definition at line 48 of file views_panel.cpp.
|
inlinevirtual |
Definition at line 54 of file views_panel.h.
|
inline |
Returns the current ViewManager.
Definition at line 69 of file views_panel.h.
|
virtual |
Load configuration data, specifically the PropertyTreeWidget view settings.
Reimplemented from rviz::Panel.
Definition at line 211 of file views_panel.cpp.
|
privateslot |
Definition at line 191 of file views_panel.cpp.
|
privateslot |
Definition at line 148 of file views_panel.cpp.
|
virtual |
Overridden from Panel. Just calls setViewManager() with vis_manager_->getViewManager().
Reimplemented from rviz::Panel.
Definition at line 88 of file views_panel.cpp.
|
privateslot |
Definition at line 125 of file views_panel.cpp.
|
privateslot |
Definition at line 131 of file views_panel.cpp.
|
privateslot |
Definition at line 164 of file views_panel.cpp.
|
virtual |
Save configuration data, specifically the PropertyTreeWidget view settings.
Reimplemented from rviz::Panel.
Definition at line 205 of file views_panel.cpp.
|
privateslot |
Definition at line 139 of file views_panel.cpp.
void rviz::ViewsPanel::setViewManager | ( | ViewManager * | view_man | ) |
Set the ViewManager which this panel should display and edit.
If this ViewsPanel is to be used with a ViewManager other than the one in the VisualizationManager sent in through Panel::initialize(), either Panel::initialize() must not be called or setViewManager() must be called after Panel::initialize().
Definition at line 93 of file views_panel.cpp.
|
private |
Definition at line 90 of file views_panel.h.
|
private |
Definition at line 88 of file views_panel.h.
|
private |
Definition at line 89 of file views_panel.h.
|
private |
Definition at line 87 of file views_panel.h.