osgGA Namespace Reference

The 'GA' in osgGA stands for 'GUI Abstraction'; the osgGA namespace provides facilities to help developers write the glue to allow the osg to work with varying window systems. More...


Classes

class  AnimationPathManipulator
class  DriveManipulator
 DriveManipulator is a camera manipulator which provides drive-like functionality. More...
class  EventQueue
 EventQueue implementation for collecting and adapting windowing events. More...
class  EventVisitor
 Basic EventVisitor implementation for animating a scene. More...
class  FlightManipulator
 FlightManipulator is a MatrixManipulator which provides flight simulator-like updating of the camera position & orientation. More...
class  GUIActionAdapter
 Abstract base class defining the interface by which GUIEventHandlers may request actions of the GUI system in use. More...
class  GUIEventAdapter
 Event class for storing Keyboard, mouse and window events. More...
class  GUIEventHandler
 GUIEventHandler provides a basic interface for any class which wants to handle a GUI Events. More...
class  KeySwitchMatrixManipulator
 KeySwitchMatrixManipulator is a decorator which allows the type of camera manipulator being used to be switched by pressing a key. More...
class  MatrixManipulator
 MatrixManipulator is an abstract base class defining the interface, and a certain amount of default functionality, for classes which wish to control OSG cameras in response to GUI events. More...
class  NodeTrackerManipulator
class  StateSetManipulator
 Experimental class, not been looked at for a while, but which will be returned to at some point :-\. More...
class  TerrainManipulator
class  TrackballManipulator
class  UFOManipulator


Detailed Description

The 'GA' in osgGA stands for 'GUI Abstraction'; the osgGA namespace provides facilities to help developers write the glue to allow the osg to work with varying window systems.

As a cross-platform, window system-agnostic class library, the OpenSceneGraph has no direct ties to any given windowing environment. Viewers, however, must at some level interact with a window system - where Window system may refer to a windowing API, e.g. GLUT, Qt, FLTK, MFC, ...

There is much commonality in the implementation of Viewers for varying windowing environments. E.g. most Viewers will update a Camera position in response to a mouse event, and may request that a timer be started as a result of a model being 'spun'.

The purpose of the osgGA namespace is to centralise the common areas of this functionality. The viewer writer needs then only write a GUIEventAdapter, a GUIActionAdapter, and assemble a collection of GUIEventHandlers as appropriate for the viewer.

Events from the windowing environment are adpated, and then fed into the GUIEventHandlers. The GUIEventHandlers analyse and take action, and make requests of the windowing environemnt via the GUIActionAdapter. The viewer writer should then honour these requests, translating them into calls to the windowing API.


Generated at Sun Oct 14 02:12:21 2007 for the OpenSceneGraph by doxygen 1.5.3.