Stg::OrthoCamera Class Reference

#include <stage.hh>

Inheritance diagram for Stg::OrthoCamera:
Inheritance graph
[legend]

List of all members.

Public Member Functions

void addPitch (float pitch)
void addYaw (float yaw)
virtual void Draw () const
void Load (Worldfile *wf, int sec)
void move (float x, float y)
 OrthoCamera (void)
void reset (void)
void Save (Worldfile *wf, int sec)
float scale () const
void scale (float scale, float shift_x=0, float h=0, float shift_y=0, float w=0)
void setPitch (float pitch)
void setPose (float x, float y)
virtual void SetProjection (void) const
virtual void SetProjection (float pixels_width, float pixels_height, float y_min, float y_max)
void setScale (float scale)
void setYaw (float yaw)

Private Attributes

float _pixels_height
float _pixels_width
float _scale
float _y_max
float _y_min

Detailed Description

Definition at line 1301 of file stage.hh.


Constructor & Destructor Documentation

Stg::OrthoCamera::OrthoCamera ( void   )  [inline]

Definition at line 1311 of file stage.hh.


Member Function Documentation

void Stg::OrthoCamera::addPitch ( float  pitch  )  [inline]

Definition at line 1320 of file stage.hh.

void Stg::OrthoCamera::addYaw ( float  yaw  )  [inline]

Definition at line 1319 of file stage.hh.

virtual void Stg::OrthoCamera::Draw (  )  const [virtual]

Implements Stg::Camera.

void Stg::OrthoCamera::Load ( Worldfile *  wf,
int  sec 
) [virtual]

Implements Stg::Camera.

void Stg::OrthoCamera::move ( float  x,
float  y 
)
void Stg::OrthoCamera::reset ( void   )  [inline, virtual]

Implements Stg::Camera.

Definition at line 1332 of file stage.hh.

void Stg::OrthoCamera::Save ( Worldfile *  wf,
int  sec 
)
float Stg::OrthoCamera::scale (  )  const [inline]

Definition at line 1334 of file stage.hh.

void Stg::OrthoCamera::scale ( float  scale,
float  shift_x = 0,
float  h = 0,
float  shift_y = 0,
float  w = 0 
)
void Stg::OrthoCamera::setPitch ( float  pitch  )  [inline]

Definition at line 1318 of file stage.hh.

void Stg::OrthoCamera::setPose ( float  x,
float  y 
) [inline]

Definition at line 1329 of file stage.hh.

virtual void Stg::OrthoCamera::SetProjection ( void   )  const [virtual]

Implements Stg::Camera.

virtual void Stg::OrthoCamera::SetProjection ( float  pixels_width,
float  pixels_height,
float  y_min,
float  y_max 
) [virtual]
void Stg::OrthoCamera::setScale ( float  scale  )  [inline]

Definition at line 1328 of file stage.hh.

void Stg::OrthoCamera::setYaw ( float  yaw  )  [inline]

Definition at line 1317 of file stage.hh.


Member Data Documentation

Definition at line 1306 of file stage.hh.

Definition at line 1305 of file stage.hh.

float Stg::OrthoCamera::_scale [private]

Definition at line 1304 of file stage.hh.

float Stg::OrthoCamera::_y_max [private]

Definition at line 1308 of file stage.hh.

float Stg::OrthoCamera::_y_min [private]

Definition at line 1307 of file stage.hh.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


stage
Author(s): Richard Vaughan, with contributions from many others. See web page for a full credits list.
autogenerated on Fri Jan 11 10:03:40 2013