OpenSceneGraph  3.4.0
Public Types | Public Member Functions
osgWidget::EventInterface Class Reference
Inheritance diagram for osgWidget::EventInterface:
Inheritance graph
[legend]

List of all members.

Public Types

typedef std::list
< osg::ref_ptr< Callback > > 
CallbackList

Public Member Functions

 EventInterface ()
 EventInterface (const EventInterface &ei)
virtual ~EventInterface ()
virtual bool focus (const WindowManager *)
virtual bool unfocus (const WindowManager *)
virtual bool mouseEnter (double, double, const WindowManager *)
virtual bool mouseOver (double, double, const WindowManager *)
virtual bool mouseLeave (double, double, const WindowManager *)
virtual bool mouseDrag (double, double, const WindowManager *)
virtual bool mousePush (double, double, const WindowManager *)
virtual bool mouseRelease (double, double, const WindowManager *)
virtual bool mouseScroll (double, double, const WindowManager *)
virtual bool keyDown (int, int, const WindowManager *)
virtual bool keyUp (int, int, const WindowManager *)
void setEventMask (unsigned int mask)
void addEventMask (unsigned int mask)
void removeEventMask (unsigned int mask)
unsigned int getEventMask () const
CallbackListgetCallbacks ()
const CallbackListgetCallbacks () const
void addCallback (Callback *cb)
bool callCallbacks (Event &ev)
bool callMethodAndCallbacks (Event &ev)
bool canFocus () const
bool canUnfocus () const
bool canMouseEnter () const
bool canMouseOver () const
bool canMouseLeave () const
bool canMouseDrag () const
bool canMousePush () const
bool canMouseRelease () const
bool canMouseScroll () const
bool canKeyDown () const
bool canKeyUp () const

Member Typedef Documentation


Constructor & Destructor Documentation

virtual osgWidget::EventInterface::~EventInterface ( ) [inline, virtual]

Member Function Documentation

void osgWidget::EventInterface::addEventMask ( unsigned int  mask) [inline]
bool osgWidget::EventInterface::canFocus ( ) const [inline]
bool osgWidget::EventInterface::canKeyDown ( ) const [inline]
bool osgWidget::EventInterface::canKeyUp ( ) const [inline]
bool osgWidget::EventInterface::canMouseDrag ( ) const [inline]
bool osgWidget::EventInterface::canMouseOver ( ) const [inline]
bool osgWidget::EventInterface::canMousePush ( ) const [inline]
bool osgWidget::EventInterface::canUnfocus ( ) const [inline]
virtual bool osgWidget::EventInterface::focus ( const WindowManager ) [inline, virtual]
unsigned int osgWidget::EventInterface::getEventMask ( ) const [inline]
virtual bool osgWidget::EventInterface::keyDown ( int  ,
int  ,
const WindowManager  
) [inline, virtual]

Reimplemented in osgWidget::Input.

virtual bool osgWidget::EventInterface::keyUp ( int  ,
int  ,
const WindowManager  
) [inline, virtual]

Reimplemented in osgWidget::Input.

virtual bool osgWidget::EventInterface::mouseDrag ( double  ,
double  ,
const WindowManager  
) [inline, virtual]
virtual bool osgWidget::EventInterface::mouseEnter ( double  ,
double  ,
const WindowManager  
) [inline, virtual]
virtual bool osgWidget::EventInterface::mouseLeave ( double  ,
double  ,
const WindowManager  
) [inline, virtual]
virtual bool osgWidget::EventInterface::mouseOver ( double  ,
double  ,
const WindowManager  
) [inline, virtual]
virtual bool osgWidget::EventInterface::mousePush ( double  ,
double  ,
const WindowManager  
) [inline, virtual]
virtual bool osgWidget::EventInterface::mouseRelease ( double  ,
double  ,
const WindowManager  
) [inline, virtual]
virtual bool osgWidget::EventInterface::mouseScroll ( double  ,
double  ,
const WindowManager  
) [inline, virtual]
void osgWidget::EventInterface::removeEventMask ( unsigned int  mask) [inline]
void osgWidget::EventInterface::setEventMask ( unsigned int  mask) [inline]
virtual bool osgWidget::EventInterface::unfocus ( const WindowManager ) [inline, virtual]

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

osg logo
Generated at Tue Dec 8 2015 00:14:32 for the OpenSceneGraph by doxygen 1.7.6.1.