FlightGear next
CameraGroup.hxx File Reference
#include <map>
#include <string>
#include <vector>
#include <memory>
#include <osg/Matrix>
#include <osg/ref_ptr>
#include <osg/Referenced>
#include <osg/Node>
#include <osg/TextureRectangle>
#include <osg/Texture2D>
#include <osg/TexGen>
#include <osgUtil/RenderBin>
#include <osgViewer/View>
#include <simgear/scene/viewer/Compositor.hxx>

Go to the source code of this file.

Classes

struct  flightgear::CameraInfo
 A wrapper around osg::Camera that contains some extra information. More...
 
struct  flightgear::CameraInfo::ReloadCompositorCallback
 
class  flightgear::CameraGroup
 

Namespaces

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

Functions

osg::Camera * flightgear::getGUICamera (CameraGroup *cgroup)
 Get the osg::Camera that draws the GUI, if any, from a camera group.
 
bool flightgear::computeIntersections (const CameraGroup *cgroup, const osg::Vec2d &windowPos, osgUtil::LineSegmentIntersector::Intersections &intersections)
 Choose a camera using an event and do intersection testing on its view of the scene.
 
void flightgear::warpGUIPointer (CameraGroup *cgroup, int x, int y)
 Warp the pointer to coordinates in the GUI camera of a camera group.
 
void flightgear::reloadCompositors (CameraGroup *cgroup)
 Force a reload of all Compositor instances in the CameraGroup, except the one used by the GUI camera.