FlightGear next
OSGQtAdaption.hxx File Reference
#include <functional>
#include <string>
#include <osgViewer/GraphicsWindow>
#include <osg/GraphicsContext>

Go to the source code of this file.

Namespaces

namespace  flightgear
 FlightPlan.hxx - defines a full flight-plan object, including departure, cruise, arrival information and waypoints.
 

Typedefs

using flightgear::GraphicsFunctor = std::function<void(osg::GraphicsContext* context)>
 

Functions

QOpenGLContext * flightgear::qtContextFromOSG (osg::GraphicsContext *context)
 
QWindow * flightgear::qtWindowFromOSG (osgViewer::GraphicsWindow *graphicsWindow)
 
osg::ref_ptr< osg::GraphicsOperation > flightgear::makeGraphicsOp (const std::string &name, GraphicsFunctor func)