Stg::PerspectiveCamera Class Reference

#include <stage.hh>

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

List of all members.

Public Member Functions

void addPitch (float pitch)
void addPose (float x, float y, float z)
void addYaw (float yaw)
virtual void Draw (void) const
float farClip (void) const
void forward (float amount)
float horizFov (void) const
void Load (Worldfile *wf, int sec)
void move (float x, float y, float z)
float nearClip (void) const
 PerspectiveCamera (void)
float realDistance (float z_buf_val) const
void reset ()
void Save (Worldfile *wf, int sec)
void scroll (float dy)
void setAspect (float aspect)
 update vertical fov based on window aspect and current horizontal fov
void setClip (float near, float far)
void setFov (float horiz_fov, float vert_fov)
void setPitch (float pitch)
void setPose (float x, float y, float z)
virtual void SetProjection (void) const
void setYaw (float yaw)
void strafe (float amount)
void update (void)
float vertFov (void) const

Private Attributes

float _aspect
float _horiz_fov
float _vert_fov
float _z_far
float _z_near

Detailed Description

Definition at line 1254 of file stage.hh.


Constructor & Destructor Documentation

Stg::PerspectiveCamera::PerspectiveCamera ( void   ) 

Member Function Documentation

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

Definition at line 1285 of file stage.hh.

void Stg::PerspectiveCamera::addPose ( float  x,
float  y,
float  z 
) [inline]

Definition at line 1275 of file stage.hh.

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

Definition at line 1283 of file stage.hh.

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

Implements Stg::Camera.

float Stg::PerspectiveCamera::farClip ( void   )  const [inline]

Definition at line 1292 of file stage.hh.

void Stg::PerspectiveCamera::forward ( float  amount  ) 
float Stg::PerspectiveCamera::horizFov ( void   )  const [inline]

Definition at line 1281 of file stage.hh.

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

Implements Stg::Camera.

void Stg::PerspectiveCamera::move ( float  x,
float  y,
float  z 
)
float Stg::PerspectiveCamera::nearClip ( void   )  const [inline]

Definition at line 1291 of file stage.hh.

float Stg::PerspectiveCamera::realDistance ( float  z_buf_val  )  const [inline]

Definition at line 1287 of file stage.hh.

void Stg::PerspectiveCamera::reset ( void   )  [inline, virtual]

Implements Stg::Camera.

Definition at line 1295 of file stage.hh.

void Stg::PerspectiveCamera::Save ( Worldfile *  wf,
int  sec 
)
void Stg::PerspectiveCamera::scroll ( float  dy  )  [inline]

Definition at line 1290 of file stage.hh.

void Stg::PerspectiveCamera::setAspect ( float  aspect  )  [inline]

update vertical fov based on window aspect and current horizontal fov

Definition at line 1279 of file stage.hh.

void Stg::PerspectiveCamera::setClip ( float  near,
float  far 
) [inline]

Definition at line 1293 of file stage.hh.

void Stg::PerspectiveCamera::setFov ( float  horiz_fov,
float  vert_fov 
) [inline]

Definition at line 1277 of file stage.hh.

void Stg::PerspectiveCamera::setPitch ( float  pitch  )  [inline]

Definition at line 1284 of file stage.hh.

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

Definition at line 1274 of file stage.hh.

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

Implements Stg::Camera.

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

Definition at line 1280 of file stage.hh.

void Stg::PerspectiveCamera::strafe ( float  amount  ) 
void Stg::PerspectiveCamera::update ( void   ) 
float Stg::PerspectiveCamera::vertFov ( void   )  const [inline]

Definition at line 1282 of file stage.hh.


Member Data Documentation

Definition at line 1261 of file stage.hh.

Definition at line 1260 of file stage.hh.

Definition at line 1259 of file stage.hh.

Definition at line 1258 of file stage.hh.

Definition at line 1257 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