OpenCOVER
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Public Member Functions | Friends | List of all members
opencover::coMousePointer Class Reference

#include <coMousePointer.h>

Public Member Functions

double eventTime () const
 
void handleEvent (int type, int state, int code, bool queue=true)
 
void update ()
 
void setMatrix (const osg::Matrix &mat)
 
const osg::Matrix & getMatrix () const
 
float x () const
 current mouse screen x coordinate More...
 
float y () const
 current mouse screen y coordinate More...
 
float winWidth () const
 width of window where mouse events are tracked More...
 
float winHeight () const
 height of window where mouse events are tracked More...
 
float screenWidth () const
 width of screen where mouse events are tracked More...
 
float screenHeight () const
 height of screen where mouse events are tracked More...
 
int wheel (size_t num=0) const
 
unsigned int buttonState () const
 

Friends

class Input
 

Member Function Documentation

unsigned int opencover::coMousePointer::buttonState ( ) const
double opencover::coMousePointer::eventTime ( ) const
const osg::Matrix& opencover::coMousePointer::getMatrix ( ) const
void opencover::coMousePointer::handleEvent ( int  type,
int  state,
int  code,
bool  queue = true 
)
float opencover::coMousePointer::screenHeight ( ) const

height of screen where mouse events are tracked

float opencover::coMousePointer::screenWidth ( ) const

width of screen where mouse events are tracked

void opencover::coMousePointer::setMatrix ( const osg::Matrix &  mat)
void opencover::coMousePointer::update ( )
int opencover::coMousePointer::wheel ( size_t  num = 0) const
float opencover::coMousePointer::winHeight ( ) const

height of window where mouse events are tracked

float opencover::coMousePointer::winWidth ( ) const

width of window where mouse events are tracked

float opencover::coMousePointer::x ( ) const

current mouse screen x coordinate

float opencover::coMousePointer::y ( ) const

current mouse screen y coordinate

Friends And Related Function Documentation

friend class Input
friend

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