OpenCOVER
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 ()
 
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

◆ buttonState()

unsigned int opencover::coMousePointer::buttonState ( ) const

◆ eventTime()

double opencover::coMousePointer::eventTime ( ) const

◆ getMatrix()

const osg::Matrix & opencover::coMousePointer::getMatrix ( ) const

◆ handleEvent()

void opencover::coMousePointer::handleEvent ( int  type,
int  state,
int  code,
bool  queue = true 
)

◆ screenHeight()

float opencover::coMousePointer::screenHeight ( ) const

height of screen where mouse events are tracked

◆ screenWidth()

float opencover::coMousePointer::screenWidth ( ) const

width of screen where mouse events are tracked

◆ update()

void opencover::coMousePointer::update ( )

◆ wheel()

int opencover::coMousePointer::wheel ( size_t  num = 0) const

◆ winHeight()

float opencover::coMousePointer::winHeight ( ) const

height of window where mouse events are tracked

◆ winWidth()

float opencover::coMousePointer::winWidth ( ) const

width of window where mouse events are tracked

◆ x()

float opencover::coMousePointer::x ( ) const

current mouse screen x coordinate

◆ y()

float opencover::coMousePointer::y ( ) const

current mouse screen y coordinate

Friends And Related Function Documentation

◆ Input

friend class Input
friend

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