bool handle(const osgGA::GUIEventAdapter& ea, osgGA::GUIActionAdapter& aa)
{
osgViewer::Viewer* viewer = dynamic_cast<osgViewer::Viewer*>(&aa);
}
bool ControlMan::handle(const osgGA::GUIEventAdapter& ea, osgGA::GUIActionAdapter& aa) { osgViewer::Viewer* viewer = dynamic_cast<osgViewer::Viewer*>(&aa);//Pick switch(ea.getEventType()) { case osgGA::GUIEventAdapter::KEYDOWN: { switch(ea.getKey()) { case 'w': {return true; } case 's': { return true; } } } } return false; }