Gazebo Gui

API Reference

7.2.2

The class for sending and receiving custom snap value events. This event is used in the Transform Control plugin tool when the user manually alters their snapping values. More...

#include <GuiEvents.hh>

Public Member Functions

 SnapIntervals (const math::Vector3d &_xyz, const math::Vector3d &_rpy, const math::Vector3d &_scale)
 Constructor. More...
 
math::Vector3d Position () const
 Get the XYZ snapping values. More...
 
math::Vector3d Rotation () const
 Get the RPY snapping values. More...
 
math::Vector3d Scale () const
 Get the scale snapping values. More...
 
- Public Member Functions inherited from QEvent
 QEvent (Type type)
 
virtual ~QEvent ()
 
void accept ()
 
void ignore ()
 
bool isAccepted () const
 
void setAccepted (bool accepted)
 
bool spontaneous () const
 
Type type () const
 

Static Public Attributes

static const QEvent::Type kType = QEvent::Type(QEvent::MaxUser - 1)
 The QEvent representing a snap event occurrence. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from QEvent
int registerEventType (int hint)
 
- Properties inherited from QEvent
 accepted
 

Detailed Description

The class for sending and receiving custom snap value events. This event is used in the Transform Control plugin tool when the user manually alters their snapping values.

Constructor & Destructor Documentation

◆ SnapIntervals()

SnapIntervals ( const math::Vector3d _xyz,
const math::Vector3d _rpy,
const math::Vector3d _scale 
)

Constructor.

Parameters
[in]_xyzXYZ snapping values.
[in]_rpyRPY snapping values.
[in]_scaleScale snapping values.

Member Function Documentation

◆ Position()

math::Vector3d Position ( ) const

Get the XYZ snapping values.

Returns
The XYZ snapping values.

◆ Rotation()

math::Vector3d Rotation ( ) const

Get the RPY snapping values.

Returns
The RPY snapping values.

◆ Scale()

math::Vector3d Scale ( ) const

Get the scale snapping values.

Returns
The scale snapping values.

Member Data Documentation

◆ kType

const QEvent::Type kType = QEvent::Type(QEvent::MaxUser - 1)
static

The QEvent representing a snap event occurrence.


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