25 #ifndef WUIVIEWWIDGET_H
26 #define WUIVIEWWIDGET_H
31 #include <osg/ref_ptr>
33 #include "../graphicsEngine/WGEViewer.h"
34 #include "WUIWidgetBase.h"
44 using osgGA::GUIEventAdapter::EventType;
45 using osgGA::GUIEventAdapter::MouseButtonMask;
46 using osgGA::GUIEventAdapter::KeySymbol;
47 using osgGA::GUIEventAdapter::ModKeyMask;
48 using osgGA::GUIEventAdapter::MouseYOrientation;
49 using osgGA::GUIEventAdapter::ScrollingMotion;
50 using osgGA::GUIEventAdapter::TabletPointerType;
72 typedef std::shared_ptr< WUIViewWidget >
SPtr;
77 typedef std::shared_ptr< const WUIViewWidget >
ConstSPtr;
89 virtual osg::ref_ptr< WGEGroupNode >
getScene()
const = 0;
96 virtual std::shared_ptr< WGEViewer >
getViewer()
const = 0;
Is just a short hand to the long name "osgGA::GUIEventAdapter".
GUIEvents()
The constructor is private to forbid instance generation.
Class to wrap around the osg Group node and providing a thread safe add/removal mechanism.
std::shared_ptr< WGEImage > SPtr
Convenience typedef for a std::shared_ptr< WGEImage >.