#include <keyboardmousehandler.h>
Public Member Functions | |
| KeyboardMouseHandler (dtCore::View *view) | |
| KeyboardMouseHandler (Keyboard *keyboard, Mouse *mouse) | |
| virtual bool | handle (const osgGA::GUIEventAdapter &ea, osgGA::GUIActionAdapter &aa, osg::Object *, osg::NodeVisitor *) |
| void | SetKeyboard (Keyboard *kb) |
| Keyboard * | GetKeyboard () |
| const Keyboard * | GetKeyboard () const |
| void | SetMouse (Mouse *m) |
| Mouse * | GetMouse () |
| const Mouse * | GetMouse () const |
Protected Member Functions | |
| virtual | ~KeyboardMouseHandler () |
| void | SetView (dtCore::View *view) |
| define the mView | |
Friends | |
| class | View |
| dtCore::KeyboardMouseHandler::KeyboardMouseHandler | ( | dtCore::View * | view | ) |
| dtCore::KeyboardMouseHandler::~KeyboardMouseHandler | ( | ) | [protected, virtual] |
| bool dtCore::KeyboardMouseHandler::handle | ( | const osgGA::GUIEventAdapter & | ea, | |
| osgGA::GUIActionAdapter & | aa, | |||
| osg::Object * | , | |||
| osg::NodeVisitor * | ||||
| ) | [virtual] |
| void dtCore::KeyboardMouseHandler::SetKeyboard | ( | Keyboard * | kb | ) | [inline] |
| Keyboard* dtCore::KeyboardMouseHandler::GetKeyboard | ( | ) | [inline] |
| const Keyboard* dtCore::KeyboardMouseHandler::GetKeyboard | ( | ) | const [inline] |
| void dtCore::KeyboardMouseHandler::SetMouse | ( | Mouse * | m | ) |
| Mouse* dtCore::KeyboardMouseHandler::GetMouse | ( | ) | [inline] |
| const Mouse* dtCore::KeyboardMouseHandler::GetMouse | ( | ) | const [inline] |
| void dtCore::KeyboardMouseHandler::SetView | ( | dtCore::View * | view | ) | [protected] |
define the mView
friend class View [friend] |