Public Types | Public Member Functions | List of all members
gazebo::gui::ViewAngleWidget Class Reference

A gui widget for changing the camera view angle. More...

#include <ViewAngleWidget.hh>

Inheritance diagram for gazebo::gui::ViewAngleWidget:
Inheritance graph
[legend]

Public Types

enum  Mode {
  TOP, BOTTOM, FRONT, BACK,
  LEFT, RIGHT, RESET
}
 View angle modes. More...
 

Public Member Functions

 ViewAngleWidget (QWidget *_parent=0)
 Constructor. More...
 
virtual ~ViewAngleWidget ()
 Destructor. More...
 
void Add (const Mode _mode, QAction *_action)
 Add an action to the widget. More...
 

Detailed Description

A gui widget for changing the camera view angle.

Member Enumeration Documentation

View angle modes.

Enumerator
TOP 

Top.

BOTTOM 

Bottom.

FRONT 

Front.

BACK 

Back.

LEFT 

Left.

RIGHT 

Right.

RESET 

Reset view.

Constructor & Destructor Documentation

gazebo::gui::ViewAngleWidget::ViewAngleWidget ( QWidget *  _parent = 0)

Constructor.

Parameters
[in]_parentParent Qt widget.
virtual gazebo::gui::ViewAngleWidget::~ViewAngleWidget ( )
virtual

Destructor.

Member Function Documentation

void gazebo::gui::ViewAngleWidget::Add ( const Mode  _mode,
QAction *  _action 
)

Add an action to the widget.

Parameters
[in]_modeView mode
[in]_actionThe Qt action to add.

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