Public Member Functions | Private Slots | Private Attributes
rviz::ViewsPanel Class Reference

Panel for choosing the view controller and saving and restoring viewpoints. More...

#include <views_panel.h>

Inheritance diagram for rviz::ViewsPanel:
Inheritance graph
[legend]

List of all members.

Public Member Functions

ViewManagergetViewManager () const
 Returns the current ViewManager.
virtual void load (const Config &config)
 Load configuration data, specifically the PropertyTreeWidget view settings.
virtual void onInitialize ()
 Overridden from Panel. Just calls setViewManager() with vis_manager_->getViewManager().
virtual void save (Config config) const
 Save configuration data, specifically the PropertyTreeWidget view settings.
void setViewManager (ViewManager *view_man)
 Set the ViewManager which this panel should display and edit.
 ViewsPanel (QWidget *parent=0)
virtual ~ViewsPanel ()

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_
PropertyTreeWidgetproperties_view_
QPushButton * save_button_
ViewManagerview_man_

Detailed Description

Panel for choosing the view controller and saving and restoring viewpoints.

Definition at line 49 of file views_panel.h.


Constructor & Destructor Documentation

rviz::ViewsPanel::ViewsPanel ( QWidget *  parent = 0)

Definition at line 48 of file views_panel.cpp.

virtual rviz::ViewsPanel::~ViewsPanel ( ) [inline, virtual]

Definition at line 54 of file views_panel.h.


Member Function Documentation

Returns the current ViewManager.

Definition at line 69 of file views_panel.h.

void rviz::ViewsPanel::load ( const Config config) [virtual]

Load configuration data, specifically the PropertyTreeWidget view settings.

Reimplemented from rviz::Panel.

Definition at line 211 of file views_panel.cpp.

void rviz::ViewsPanel::onCurrentChanged ( ) [private, slot]

Definition at line 191 of file views_panel.cpp.

void rviz::ViewsPanel::onDeleteClicked ( ) [private, slot]

Definition at line 148 of file views_panel.cpp.

void rviz::ViewsPanel::onInitialize ( ) [virtual]

Overridden from Panel. Just calls setViewManager() with vis_manager_->getViewManager().

Reimplemented from rviz::Panel.

Definition at line 88 of file views_panel.cpp.

void rviz::ViewsPanel::onTypeSelectorChanged ( int  selected_index) [private, slot]

Definition at line 125 of file views_panel.cpp.

void rviz::ViewsPanel::onZeroClicked ( ) [private, slot]

Definition at line 131 of file views_panel.cpp.

void rviz::ViewsPanel::renameSelected ( ) [private, slot]

Definition at line 164 of file views_panel.cpp.

void rviz::ViewsPanel::save ( Config  config) const [virtual]

Save configuration data, specifically the PropertyTreeWidget view settings.

Reimplemented from rviz::Panel.

Definition at line 205 of file views_panel.cpp.

void rviz::ViewsPanel::setCurrentViewFromIndex ( const QModelIndex &  index) [private, slot]

Definition at line 139 of file views_panel.cpp.

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.


Member Data Documentation

Definition at line 90 of file views_panel.h.

Definition at line 88 of file views_panel.h.

QPushButton* rviz::ViewsPanel::save_button_ [private]

Definition at line 89 of file views_panel.h.

Definition at line 87 of file views_panel.h.


The documentation for this class was generated from the following files:


rviz
Author(s): Dave Hershberger, David Gossow, Josh Faust
autogenerated on Thu Aug 27 2015 15:02:29