#include <_src_view_viewpoint.hh>

Public Member Functions | |
| Viewpoint (void) | |
| virtual | ~Viewpoint () |
Protected Member Functions | |
| virtual Matrix | ComputeViewMatrix (shptr< View > view)=0 |
Friends | |
| class | View |
Logical views are composed with a View and a Viewpoint object. Viewpoint is a functor containing an algorithm to compute the view matrix which is called before rendering a new frame. This composition can be changed dynamically using View::SetViewpoint() to allow switching to different view modes (first-person, chase-plane, etc). Despite the view appearing to change, View keeps the same underlying osg::Camera object.
Viewpoint is capable of controlling first-person and chase-plane views by converting the player's matrix into an eye matrix. View/Viewpoint supercedes EyeCraft and ChasePlane of old versions.
| view::Viewpoint::Viewpoint | ( | void | ) | [inline] |
| virtual view::Viewpoint::~Viewpoint | ( | ) | [inline, virtual] |
| virtual Matrix view::Viewpoint::ComputeViewMatrix | ( | shptr< View > | view | ) | [protected, pure virtual] |
Implemented in view::ChaseViewpoint, view::ManipulatorViewpoint, and view::OtwViewpoint.
friend class View [friend] |
Palomino Flight Simulator documents generated by doxygen 1.5.6 on Tue Sep 28 11:37:50 2010