Public Member Functions

view::ObserverCurrentCraft Class Reference

The "current craft" as the observer of a view of the scene. More...

#include <_src_view_observer_current_craft.hh>

Inheritance diagram for view::ObserverCurrentCraft:
view::Observer

List of all members.

Public Member Functions

 ObserverCurrentCraft (void)
virtual ~ObserverCurrentCraft ()
virtual Matrix GetObserverMatrix (void)

Detailed Description

The "current craft" as the observer of a view of the scene.

The Observer is the source of the Viewpoint (View Matrix). Pass Observer object to OtwViewpoint ctor so it will provide the Observer Matrix.

Implementation: This is a Singleton in disguise (think of this as a link). Making a shptr using "new ObserverCurrentCraft" is needed for OtwViewpoint and Lua. Regardless, every instance of ObserverCurrentCraft is based on the unique "current craft".


Constructor & Destructor Documentation

view::ObserverCurrentCraft::ObserverCurrentCraft ( void   )  [inline]
virtual view::ObserverCurrentCraft::~ObserverCurrentCraft (  )  [inline, virtual]

Member Function Documentation

virtual Matrix view::ObserverCurrentCraft::GetObserverMatrix ( void   )  [inline, virtual]

Implements view::Observer.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Palomino Flight Simulator documents generated by doxygen 1.7.1 on Tue May 15 2012 22:40:12