A gui widget for changing the camera view angle. More...
#include <ViewAngleWidget.hh>
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... | |
A gui widget for changing the camera view angle.
gazebo::gui::ViewAngleWidget::ViewAngleWidget | ( | QWidget * | _parent = 0 | ) |
Constructor.
[in] | _parent | Parent Qt widget. |
|
virtual |
Destructor.
void gazebo::gui::ViewAngleWidget::Add | ( | const Mode | _mode, |
QAction * | _action | ||
) |
Add an action to the widget.
[in] | _mode | View mode |
[in] | _action | The Qt action to add. |