16#ifndef OSGWIDGET_VIEWER_EVENT_HANDLERS
17#define OSGWIDGET_VIEWER_EVENT_HANDLERS
The osgWidget library is a NodeKit that extends the core scene graph to support a 2D (and eventually ...
Definition Box:21
Camera - is a subclass of Transform which represents encapsulates the settings of a Camera.
Definition Camera:45
Visitor for type safe operations on osg::Nodes.
Definition NodeVisitor:82
Base class/standard interface for objects which require IO support, cloning and reference counting.
Definition Object:61
Smart pointer for observed objects, that automatically set pointers to them to null when they are del...
Definition observer_ptr:39
Smart pointer for handling referenced counted objects.
Definition ref_ptr:32
Definition GUIActionAdapter:62
Event class for storing Keyboard, mouse and window events.
Definition GUIEventAdapter:82
EventType
Definition GUIEventAdapter:91
GUIEventHandler provides a basic interface for any class which wants to handle a GUI Events.
Definition GUIEventHandler:50
bool(WindowManager::* MouseEvent)(float, float)
Definition ViewerEventHandlers:45
MouseAction _isMouseEvent(osgGA::GUIEventAdapter::EventType) const
bool _handleMouseMove(float, float, int)
bool _handleMouseScroll(float, float, int)
virtual bool handle(const osgGA::GUIEventAdapter &, osgGA::GUIActionAdapter &, osg::Object *, osg::NodeVisitor *)
Handle events, return true if handled, false otherwise.
bool _handleMouseDoubleClick(float, float, int)
bool _doMouseEvent(float, float, MouseEvent)
bool _handleMousePush(float, float, int)
bool(MouseHandler::* MouseAction)(float, float, int)
Definition ViewerEventHandlers:44
MouseHandler(WindowManager *)
bool _handleMouseDrag(float, float, int)
osg::observer_ptr< WindowManager > _wm
Definition ViewerEventHandlers:49
bool _handleMouseRelease(float, float, int)
osg::observer_ptr< WindowManager > _wm
Definition ViewerEventHandlers:77
KeyboardHandler(WindowManager *)
virtual bool handle(const osgGA::GUIEventAdapter &, osgGA::GUIActionAdapter &, osg::Object *, osg::NodeVisitor *)
Handle events, return true if handled, false otherwise.
virtual bool handle(const osgGA::GUIEventAdapter &, osgGA::GUIActionAdapter &, osg::Object *, osg::NodeVisitor *)
Handle events, return true if handled, false otherwise.
ResizeHandler(WindowManager *, osg::Camera *=0)
osg::observer_ptr< osg::Camera > _camera
Definition ViewerEventHandlers:98
osg::observer_ptr< WindowManager > _wm
Definition ViewerEventHandlers:97
virtual bool handle(const osgGA::GUIEventAdapter &, osgGA::GUIActionAdapter &, osg::Object *, osg::NodeVisitor *)
Handle events, return true if handled, false otherwise.
osg::ref_ptr< osg::Node > _oldNode
Definition ViewerEventHandlers:120
CameraSwitchHandler(WindowManager *, osg::Camera *)
osg::observer_ptr< WindowManager > _wm
Definition ViewerEventHandlers:118
osg::observer_ptr< osg::Camera > _camera
Definition ViewerEventHandlers:119
Definition WindowManager:39
#define OSGWIDGET_EXPORT
Definition Export:42