Stg::PerspectiveCamera Class Reference

#include <stage.hh>

Inherits Stg::Camera.

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

Constructor & Destructor Documentation

PerspectiveCamera::PerspectiveCamera ( void   ) 

Member Function Documentation

void Stg::PerspectiveCamera::addPitch ( float  pitch  )  [inline]
void Stg::PerspectiveCamera::addPose ( float  x,
float  y,
float  z 
) [inline]
void Stg::PerspectiveCamera::addYaw ( float  yaw  )  [inline]
void PerspectiveCamera::Draw ( void   )  const [virtual]

Implements Stg::Camera.

float Stg::PerspectiveCamera::farClip ( void   )  const [inline]
void PerspectiveCamera::forward ( float  amount  ) 
float Stg::PerspectiveCamera::horizFov ( void   )  const [inline]
void PerspectiveCamera::Load ( Worldfile wf,
int  sec 
) [virtual]

Implements Stg::Camera.

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

Implements Stg::Camera.

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

update vertical fov based on window aspect and current horizontal fov

void Stg::PerspectiveCamera::setClip ( float  near,
float  far 
) [inline]
void Stg::PerspectiveCamera::setFov ( float  horiz_fov,
float  vert_fov 
) [inline]
void Stg::PerspectiveCamera::setPitch ( float  pitch  )  [inline]
void Stg::PerspectiveCamera::setPose ( float  x,
float  y,
float  z 
) [inline]
void PerspectiveCamera::SetProjection ( void   )  const [virtual]

Implements Stg::Camera.

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

The documentation for this class was generated from the following files:

Generated on Tue Oct 20 15:42:06 2009 for Stage by  doxygen 1.6.1