Ignition Gui

API Reference

5.0.0

Event which is called to broadcast the 3D coordinates of a user's right click within the scene. More...

#include <GuiEvents.hh>

Public Member Functions

 RightClickToScene (const math::Vector3d &_point)
 Constructor. More...
 
math::Vector3d Point () const
 Get the point within the scene that the user clicked. 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 - 6)
 Unique type for this event. More...
 

Additional Inherited Members

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

Detailed Description

Event which is called to broadcast the 3D coordinates of a user's right click within the scene.

Constructor & Destructor Documentation

◆ RightClickToScene()

RightClickToScene ( const math::Vector3d &  _point)
inlineexplicit

Constructor.

Parameters
[in]_pointThe point which the user has right clicked within the scene

Member Function Documentation

◆ Point()

math::Vector3d Point ( ) const
inline

Get the point within the scene that the user clicked.

Returns
The 3D point.

Member Data Documentation

◆ kType

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

Unique type for this event.


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