OpenSceneGraph  3.5.1
Public Member Functions | Public Attributes | Protected Attributes | Friends | List of all members
osgWidget::Event Class Reference

Public Member Functions

 Event (WindowManager *wm, EventType _type=EVENT_NONE)
 
EventmakeType (EventType _type)
 
EventmakeMouse (double _x, double _y, EventType _type=EVENT_NONE)
 
EventmakeKey (int _key, int _keyMask, EventType _type=EVENT_NONE)
 
WindowManagergetWindowManager ()
 
const WindowManagergetWindowManager () const
 
WindowgetWindow ()
 
const WindowgetWindow () const
 
WidgetgetWidget ()
 
const WidgetgetWidget () const
 
void * getData ()
 
const void * getData () const
 
void setData (void *data)
 

Public Attributes

EventType type
 
double x
 
double y
 
int key
 
int keyMask
 

Protected Attributes

WindowManager_wm
 
Window_window
 
Widget_widget
 
void * _data
 

Friends

class WindowManager
 
class Window
 

Constructor & Destructor Documentation

osgWidget::Event::Event ( WindowManager wm,
EventType  _type = EVENT_NONE 
)
inline

Member Function Documentation

void* osgWidget::Event::getData ( )
inline
const void* osgWidget::Event::getData ( ) const
inline
Widget* osgWidget::Event::getWidget ( )
inline
const Widget* osgWidget::Event::getWidget ( ) const
inline
Window* osgWidget::Event::getWindow ( )
inline
const Window* osgWidget::Event::getWindow ( ) const
inline
WindowManager* osgWidget::Event::getWindowManager ( )
inline
const WindowManager* osgWidget::Event::getWindowManager ( ) const
inline
Event& osgWidget::Event::makeKey ( int  _key,
int  _keyMask,
EventType  _type = EVENT_NONE 
)
inline
Event& osgWidget::Event::makeMouse ( double  _x,
double  _y,
EventType  _type = EVENT_NONE 
)
inline
Event& osgWidget::Event::makeType ( EventType  _type)
inline
void osgWidget::Event::setData ( void *  data)
inline

Friends And Related Function Documentation

friend class Window
friend
friend class WindowManager
friend

Member Data Documentation

void* osgWidget::Event::_data
protected
Widget* osgWidget::Event::_widget
protected
Window* osgWidget::Event::_window
protected
WindowManager* osgWidget::Event::_wm
protected
int osgWidget::Event::key
int osgWidget::Event::keyMask
EventType osgWidget::Event::type
double osgWidget::Event::x
double osgWidget::Event::y

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

osg logo
Generated at Wed Nov 11 2015 22:15:25 for the OpenSceneGraph by doxygen 1.8.10.