ViewAngleWidget Class Reference

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

#include <ViewAngleWidget.hh>

Inherits QWidget.

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

enum Mode

View angle modes.

Enumerator
TOP 

Top.

BOTTOM 

Bottom.

FRONT 

Front.

BACK 

Back.

LEFT 

Left.

RIGHT 

Right.

RESET 

Reset view.

Constructor & Destructor Documentation

ViewAngleWidget ( QWidget *  _parent = 0)
explicit

Constructor.

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

Destructor.

Member Function Documentation

void 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: