Stg::Camera Class Reference
#include <stage.hh>
Inherited by Stg::OrthoCamera, and Stg::PerspectiveCamera.
Public Member Functions | |
Camera () | |
virtual void | Draw (void) const =0 |
virtual void | Load (Worldfile *wf, int sec)=0 |
float | pitch (void) const |
virtual void | reset ()=0 |
virtual void | SetProjection (void) const =0 |
float | x (void) const |
float | y (void) const |
float | yaw (void) const |
float | z (void) const |
virtual | ~Camera () |
Protected Attributes | |
float | _pitch |
float | _x |
float | _y |
float | _yaw |
float | _z |
Constructor & Destructor Documentation
Stg::Camera::Camera | ( | ) | [inline] |
virtual Stg::Camera::~Camera | ( | ) | [inline, virtual] |
Member Function Documentation
virtual void Stg::Camera::Draw | ( | void | ) | const [pure virtual] |
Implemented in Stg::PerspectiveCamera, and Stg::OrthoCamera.
virtual void Stg::Camera::Load | ( | Worldfile * | wf, | |
int | sec | |||
) | [pure virtual] |
Implemented in Stg::PerspectiveCamera, and Stg::OrthoCamera.
float Stg::Camera::pitch | ( | void | ) | const [inline] |
virtual void Stg::Camera::reset | ( | ) | [pure virtual] |
Implemented in Stg::PerspectiveCamera, and Stg::OrthoCamera.
virtual void Stg::Camera::SetProjection | ( | void | ) | const [pure virtual] |
Implemented in Stg::PerspectiveCamera, and Stg::OrthoCamera.
float Stg::Camera::x | ( | void | ) | const [inline] |
float Stg::Camera::y | ( | void | ) | const [inline] |
float Stg::Camera::yaw | ( | void | ) | const [inline] |
float Stg::Camera::z | ( | void | ) | const [inline] |
Member Data Documentation
float Stg::Camera::_pitch [protected] |
float Stg::Camera::_x [protected] |
float Stg::Camera::_y [protected] |
float Stg::Camera::_yaw [protected] |
float Stg::Camera::_z [protected] |
The documentation for this class was generated from the following file:
Generated on Tue Oct 20 15:42:06 2009 for Stage by 1.6.1