Public Member Functions | Public Attributes | List of all members
rviz::ViewportMouseEvent Class Reference

#include <viewport_mouse_event.h>

Public Member Functions

bool alt ()
 
bool control ()
 
bool left ()
 
bool leftDown ()
 
bool leftUp ()
 
bool middle ()
 
bool middleDown ()
 
bool middleUp ()
 
bool right ()
 
bool rightDown ()
 
bool rightUp ()
 
bool shift ()
 
 ViewportMouseEvent ()
 
 ViewportMouseEvent (RenderPanel *p, Ogre::Viewport *vp, QMouseEvent *e, int lx, int ly)
 
 ViewportMouseEvent (RenderPanel *p, Ogre::Viewport *vp, QWheelEvent *e, int lx, int ly)
 

Public Attributes

Qt::MouseButton acting_button
 
Qt::MouseButtons buttons_down
 
int last_x
 
int last_y
 
Qt::KeyboardModifiers modifiers
 
RenderPanelpanel
 
QEvent::Type type
 
Ogre::Viewport * viewport
 
int wheel_delta
 
int x
 
int y
 

Detailed Description

Definition at line 45 of file viewport_mouse_event.h.

Constructor & Destructor Documentation

◆ ViewportMouseEvent() [1/3]

rviz::ViewportMouseEvent::ViewportMouseEvent ( )
inline

Definition at line 48 of file viewport_mouse_event.h.

◆ ViewportMouseEvent() [2/3]

rviz::ViewportMouseEvent::ViewportMouseEvent ( RenderPanel p,
Ogre::Viewport *  vp,
QMouseEvent *  e,
int  lx,
int  ly 
)
inline

Constructor for use with a QMouseEvent.

Definition at line 53 of file viewport_mouse_event.h.

◆ ViewportMouseEvent() [3/3]

rviz::ViewportMouseEvent::ViewportMouseEvent ( RenderPanel p,
Ogre::Viewport *  vp,
QWheelEvent *  e,
int  lx,
int  ly 
)
inline

Constructor for use with a QWheelEvent.

Definition at line 72 of file viewport_mouse_event.h.

Member Function Documentation

◆ alt()

bool rviz::ViewportMouseEvent::alt ( )
inline

Definition at line 111 of file viewport_mouse_event.h.

◆ control()

bool rviz::ViewportMouseEvent::control ( )
inline

Definition at line 107 of file viewport_mouse_event.h.

◆ left()

bool rviz::ViewportMouseEvent::left ( )
inline

Definition at line 90 of file viewport_mouse_event.h.

◆ leftDown()

bool rviz::ViewportMouseEvent::leftDown ( )
inline

Definition at line 131 of file viewport_mouse_event.h.

◆ leftUp()

bool rviz::ViewportMouseEvent::leftUp ( )
inline

Definition at line 118 of file viewport_mouse_event.h.

◆ middle()

bool rviz::ViewportMouseEvent::middle ( )
inline

Definition at line 94 of file viewport_mouse_event.h.

◆ middleDown()

bool rviz::ViewportMouseEvent::middleDown ( )
inline

Definition at line 135 of file viewport_mouse_event.h.

◆ middleUp()

bool rviz::ViewportMouseEvent::middleUp ( )
inline

Definition at line 122 of file viewport_mouse_event.h.

◆ right()

bool rviz::ViewportMouseEvent::right ( )
inline

Definition at line 98 of file viewport_mouse_event.h.

◆ rightDown()

bool rviz::ViewportMouseEvent::rightDown ( )
inline

Definition at line 139 of file viewport_mouse_event.h.

◆ rightUp()

bool rviz::ViewportMouseEvent::rightUp ( )
inline

Definition at line 126 of file viewport_mouse_event.h.

◆ shift()

bool rviz::ViewportMouseEvent::shift ( )
inline

Definition at line 103 of file viewport_mouse_event.h.

Member Data Documentation

◆ acting_button

Qt::MouseButton rviz::ViewportMouseEvent::acting_button

Definition at line 151 of file viewport_mouse_event.h.

◆ buttons_down

Qt::MouseButtons rviz::ViewportMouseEvent::buttons_down

Definition at line 152 of file viewport_mouse_event.h.

◆ last_x

int rviz::ViewportMouseEvent::last_x

Definition at line 154 of file viewport_mouse_event.h.

◆ last_y

int rviz::ViewportMouseEvent::last_y

Definition at line 155 of file viewport_mouse_event.h.

◆ modifiers

Qt::KeyboardModifiers rviz::ViewportMouseEvent::modifiers

Definition at line 153 of file viewport_mouse_event.h.

◆ panel

RenderPanel* rviz::ViewportMouseEvent::panel

Definition at line 144 of file viewport_mouse_event.h.

◆ type

QEvent::Type rviz::ViewportMouseEvent::type

Definition at line 146 of file viewport_mouse_event.h.

◆ viewport

Ogre::Viewport* rviz::ViewportMouseEvent::viewport

Definition at line 145 of file viewport_mouse_event.h.

◆ wheel_delta

int rviz::ViewportMouseEvent::wheel_delta

Definition at line 149 of file viewport_mouse_event.h.

◆ x

int rviz::ViewportMouseEvent::x

Definition at line 147 of file viewport_mouse_event.h.

◆ y

int rviz::ViewportMouseEvent::y

Definition at line 148 of file viewport_mouse_event.h.


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


rviz
Author(s): Dave Hershberger, David Gossow, Josh Faust
autogenerated on Mon Aug 15 2022 02:05:18