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

A gui widget for aligning models. More...

#include <gui/Gui.hh>

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

Public Types

enum  AlignAxis { ALIGN_X, ALIGN_Y, ALIGN_Z }
 
enum  AlignConfig { ALIGN_MIN, ALIGN_CENTER, ALIGN_MAX }
 

Public Member Functions

 AlignWidget (QWidget *_parent=0)
 Constructor. More...
 
virtual ~AlignWidget ()
 Destructor. More...
 
void Add (AlignAxis _axis, AlignConfig _config, QAction *_action)
 Add a Qt alignment action to the widget. More...
 

Detailed Description

A gui widget for aligning models.

Member Enumeration Documentation

Enumerator
ALIGN_X 

X.

ALIGN_Y 

Y.

ALIGN_Z 

Z.

Enumerator
ALIGN_MIN 

minimum

ALIGN_CENTER 

center

ALIGN_MAX 

maximum

Constructor & Destructor Documentation

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

Constructor.

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

Destructor.

Member Function Documentation

void gazebo::gui::AlignWidget::Add ( AlignAxis  _axis,
AlignConfig  _config,
QAction *  _action 
)

Add a Qt alignment action to the widget.

Parameters
[in]_axisAxis of alignment.
[in]_configAlignment configuration.
[in]_actionThe Qt alignment action to add.

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