25 #ifndef WONSCREENSELECTIONHANDLER_H
26 #define WONSCREENSELECTIONHANDLER_H
28 #include <osg/Viewport>
29 #include <osgGA/GUIEventHandler>
30 #include <osgViewer/Viewer>
32 #include "WOnscreenSelection.h"
60 bool handle(
const osgGA::GUIEventAdapter& ea, osgGA::GUIActionAdapter& aa );
Handles the GUIEvents in context of the WOnscreenSelection.
bool m_shiftPressed
Whether shift is pressed or not.
bool m_mousePressed
Whether the mouse is pressed or not.
WOnscreenSelection * m_manager
The WOnscreenSelection this belongs to.
bool handle(const osgGA::GUIEventAdapter &ea, osgGA::GUIActionAdapter &aa)
Handles the incoming events.
WOnscreenSelectionHandler(WOnscreenSelection *manager)
Construct a new WDrawHandler object.
Manages different types of selection.