#include <stage.hh>
Public Member Functions | |
void | addPitch (double pitch) |
void | addYaw (double yaw) |
virtual void | Draw () const |
void | Load (Worldfile *wf, int sec) |
void | move (double x, double y) |
OrthoCamera (void) | |
void | reset (void) |
void | Save (Worldfile *wf, int sec) |
void | scale (double scale, double shift_x=0, double h=0, double shift_y=0, double w=0) |
double | scale () const |
void | setPitch (double pitch) |
void | setPose (double x, double y) |
virtual void | SetProjection (double pixels_width, double pixels_height, double y_min, double y_max) |
virtual void | SetProjection (void) const |
void | setScale (double scale) |
void | setYaw (double yaw) |
Private Attributes | |
double | _pixels_height |
double | _pixels_width |
double | _scale |
double | _y_max |
double | _y_min |
Stg::OrthoCamera::OrthoCamera | ( | void | ) | [inline] |
void Stg::OrthoCamera::addPitch | ( | double | pitch | ) | [inline] |
void Stg::OrthoCamera::addYaw | ( | double | yaw | ) | [inline] |
void OrthoCamera::Draw | ( | void | ) | const [virtual] |
Implements Stg::Camera.
void OrthoCamera::Load | ( | Worldfile * | wf, |
int | sec | ||
) | [virtual] |
Implements Stg::Camera.
void OrthoCamera::move | ( | double | x, |
double | y | ||
) |
void Stg::OrthoCamera::reset | ( | void | ) | [inline, virtual] |
Implements Stg::Camera.
void OrthoCamera::Save | ( | Worldfile * | wf, |
int | sec | ||
) |
void OrthoCamera::scale | ( | double | scale, |
double | shift_x = 0 , |
||
double | h = 0 , |
||
double | shift_y = 0 , |
||
double | w = 0 |
||
) |
double Stg::OrthoCamera::scale | ( | ) | const [inline] |
void Stg::OrthoCamera::setPitch | ( | double | pitch | ) | [inline] |
void Stg::OrthoCamera::setPose | ( | double | x, |
double | y | ||
) | [inline] |
void OrthoCamera::SetProjection | ( | double | pixels_width, |
double | pixels_height, | ||
double | y_min, | ||
double | y_max | ||
) | [virtual] |
void OrthoCamera::SetProjection | ( | void | ) | const [virtual] |
Implements Stg::Camera.
void Stg::OrthoCamera::setScale | ( | double | scale | ) | [inline] |
void Stg::OrthoCamera::setYaw | ( | double | yaw | ) | [inline] |
double Stg::OrthoCamera::_pixels_height [private] |
double Stg::OrthoCamera::_pixels_width [private] |
double Stg::OrthoCamera::_scale [private] |
double Stg::OrthoCamera::_y_max [private] |
double Stg::OrthoCamera::_y_min [private] |