OpenSceneGraph 2.8.4
|
Public Member Functions | |
Input (const std::string &="", const std::string &="", unsigned int=20) | |
virtual void | parented (Window *) |
virtual void | positioned () |
virtual bool | focus (WindowManager *) |
virtual bool | unfocus (WindowManager *) |
virtual bool | keyUp (int, int, WindowManager *) |
virtual bool | keyDown (int, int, WindowManager *) |
void | setCursor (Widget *) |
unsigned int | calculateBestYOffset (const std::string &="qgl") |
void | setXOffset (point_type xo) |
void | setYOffset (point_type yo) |
void | setXYOffset (point_type xo, point_type yo) |
osg::Drawable * | getCursor () |
const osg::Drawable * | getCursor () const |
point_type | getXOffset () const |
point_type | getYOffset () const |
XYCoord | getXYOffset () const |
Protected Member Functions | |
virtual void | _calculateSize (const XYCoord &) |
void | _calculateCursorOffsets () |
Protected Attributes | |
point_type | _xoff |
point_type | _yoff |
unsigned int | _index |
unsigned int | _size |
unsigned int | _cursorIndex |
unsigned int | _maxSize |
std::vector< point_type > | _offsets |
osg::ref_ptr< Widget > | _cursor |
osgWidget::Input::Input | ( | const std::string & | = "" , |
const std::string & | = "" , |
||
unsigned | int = 20 |
||
) |
void osgWidget::Input::_calculateCursorOffsets | ( | ) | [protected] |
virtual void osgWidget::Input::_calculateSize | ( | const XYCoord & | ) | [protected, virtual] |
Reimplemented from osgWidget::Label.
unsigned int osgWidget::Input::calculateBestYOffset | ( | const std::string & | = "qgl" | ) |
virtual bool osgWidget::Input::focus | ( | WindowManager * | ) | [virtual] |
Reimplemented from osgWidget::EventInterface.
osg::Drawable* osgWidget::Input::getCursor | ( | ) | [inline] |
const osg::Drawable* osgWidget::Input::getCursor | ( | ) | const [inline] |
point_type osgWidget::Input::getXOffset | ( | ) | const [inline] |
XYCoord osgWidget::Input::getXYOffset | ( | ) | const [inline] |
point_type osgWidget::Input::getYOffset | ( | ) | const [inline] |
virtual bool osgWidget::Input::keyDown | ( | int | , |
int | , | ||
WindowManager * | |||
) | [virtual] |
Reimplemented from osgWidget::EventInterface.
virtual bool osgWidget::Input::keyUp | ( | int | , |
int | , | ||
WindowManager * | |||
) | [virtual] |
Reimplemented from osgWidget::EventInterface.
virtual void osgWidget::Input::parented | ( | Window * | ) | [virtual] |
Reimplemented from osgWidget::Label.
virtual void osgWidget::Input::positioned | ( | ) | [virtual] |
Reimplemented from osgWidget::Label.
void osgWidget::Input::setCursor | ( | Widget * | ) |
void osgWidget::Input::setXOffset | ( | point_type | xo | ) | [inline] |
void osgWidget::Input::setXYOffset | ( | point_type | xo, |
point_type | yo | ||
) | [inline] |
void osgWidget::Input::setYOffset | ( | point_type | yo | ) | [inline] |
virtual bool osgWidget::Input::unfocus | ( | WindowManager * | ) | [virtual] |
Reimplemented from osgWidget::EventInterface.
osg::ref_ptr<Widget> osgWidget::Input::_cursor [protected] |
unsigned int osgWidget::Input::_cursorIndex [protected] |
unsigned int osgWidget::Input::_index [protected] |
Reimplemented from osgWidget::Widget.
unsigned int osgWidget::Input::_maxSize [protected] |
std::vector<point_type> osgWidget::Input::_offsets [protected] |
unsigned int osgWidget::Input::_size [protected] |
point_type osgWidget::Input::_xoff [protected] |
point_type osgWidget::Input::_yoff [protected] |
![]() | Generated at Sun Jan 8 2012 13:17:08 for the OpenSceneGraph by doxygen 1.7.4. |