FlightGear next
CameraGroup.cxx File Reference
#include "CameraGroup.hxx"
#include <Main/fg_props.hxx>
#include <Main/globals.hxx>
#include "renderer.hxx"
#include "FGEventHandler.hxx"
#include "WindowBuilder.hxx"
#include "WindowSystemAdapter.hxx"
#include "splash.hxx"
#include "sview.hxx"
#include "VRManager.hxx"
#include <simgear/math/SGRect.hxx>
#include <simgear/props/props.hxx>
#include <simgear/props/props_io.hxx>
#include <simgear/structure/exception.hxx>
#include <simgear/scene/material/EffectCullVisitor.hxx>
#include <simgear/scene/util/ProjectionMatrix.hxx>
#include <simgear/scene/util/RenderConstants.hxx>
#include <simgear/scene/util/SGReaderWriterOptions.hxx>
#include <simgear/scene/util/OsgUtils.hxx>
#include <simgear/scene/viewer/Compositor.hxx>
#include <simgear/scene/viewer/CompositorUtil.hxx>
#include <algorithm>
#include <cstring>
#include <string>
#include <osg/Camera>
#include <osg/Geometry>
#include <osg/GraphicsContext>
#include <osg/io_utils>
#include <osg/Math>
#include <osg/Matrix>
#include <osg/Notify>
#include <osg/Program>
#include <osg/Quat>
#include <osg/TexMat>
#include <osg/Vec3d>
#include <osg/Viewport>
#include <osgUtil/IntersectionVisitor>
#include <osgViewer/Viewer>
#include <osgViewer/GraphicsWindow>
#include <osgViewer/Renderer>

Go to the source code of this file.

Classes

class  flightgear::CameraGroupListener
 
struct  flightgear::GUIUpdateCallback
 

Namespaces

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

Typedefs

typedef std::vector< SGPropertyNode_ptr > flightgear::SGPropertyNodeVec
 

Functions

osg::Camera * flightgear::getGUICamera (CameraGroup *cgroup)
 Get the osg::Camera that draws the GUI, if any, from a camera group.
 
static bool flightgear::computeCameraIntersection (const CameraGroup *cgroup, const CameraInfo *cinfo, const osg::Vec2d &windowPos, osgUtil::LineSegmentIntersector::Intersections &intersections)
 
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.